POST
/
v1
/
apps
/
{packageName}
/
versions
Create app version (self-hosted)
curl --request POST \
  --url https://managexrapi.com/v1/apps/{packageName}/versions \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "versionCode": 42,
  "apkUrl": "https://storage.example.com/apps/com.example.app.apk",
  "apkMd5": "d41d8cd98f00b204e9800998ecf8427e",
  "obbUrl": "https://storage.example.com/apps/com.example.app.obb",
  "obbMd5": "d41d8cd98f00b204e9800998ecf8427e",
  "versionName": "1.0.0",
  "versionLabel": "Quest",
  "apkSize": 72633861,
  "obbSize": 1024
}'
{
  "data": {
    "id": "av_123",
    "type": "managed",
    "configurationDeployments": {
      "config_123": 1,
      "config_456": 0
    },
    "createdAt": 1645615777448,
    "updatedAt": 1687352117203,
    "versionCode": 83894522,
    "versionName": "8.7.8.1206",
    "versionLabel": "Quest",
    "apkSize": 72633861,
    "obbSize": 1024,
    "selfHosted": true,
    "apkUrl": "https://storage.example.com/apps/com.example.app.apk",
    "obbUrl": "https://storage.example.com/apps/com.example.app.obb"
  }
}

Authorizations

Authorization
string
header
required

API key based authentication where <encoded-value> is the Base64 encoding of API_KEY_ID:API_KEY_SECRET

  • Username: The API Key ID.
  • Password: The API Key Secret.

Path Parameters

packageName
string
required

The package name of the app

Query Parameters

organizationId
string

Unique identifier of the organization. Defaults to the organization associated with the API key if no id supplied.

Body

application/json
versionCode
number
required

Version code of the app

Example:

42

apkUrl
string
required

URL of the APK file

Example:

"https://storage.example.com/apps/com.example.app.apk"

versionName
string
required

Version name of the app

Example:

"1.0.0"

apkMd5
string

MD5 hash of the APK file

Example:

"d41d8cd98f00b204e9800998ecf8427e"

obbUrl
string

URL of the OBB file

Example:

"https://storage.example.com/apps/com.example.app.obb"

obbMd5
string

MD5 hash of the OBB file

Example:

"d41d8cd98f00b204e9800998ecf8427e"

versionLabel
string

Label for uniqueness among app versions

Example:

"Quest"

apkSize
number

Size of the APK file in bytes

Example:

72633861

obbSize
number

Size of the OBB file in bytes

Example:

1024

Response

The created app version

data
object