Skip to main content

List Distribution Pages

GET https://deploygate.com/api/users/{OWNER_NAME}/platforms/{PLATFORM_TYPE}/apps/{APP_ID}/distributions


Path Params

NameTypeRequiredDescription
OWNER_NAMEstringtrueUsername or Organization name
PLATFORM_TYPEstringtrueios or android
APP_IDstringtrueApp's package name (Example: com.deploygate.android)

Example

curl \
--url "https://deploygate.com/api/users/${OWNER_NAME}/platforms/${PLATFORM_TYPE}/apps/${APP_ID}/distributions" \
-H "Authorization: Bearer ${API_TOKEN}" \
-X GET

Result 200

{
"error": false,
"results": {
"distributions": [
{
"access_key": "${ACCESS_KEY}",
"title": "feature/deploygate",
"release_note": "release note of the revision",
"release_scope": "${RELEASE_SCOPE}",
"max_members": 1000000,
"updated_at": 1671494779,
"flags": {
"norobot": true
},
"application": {
"name": "DeployGate Sample App",
"package_name": "${APP_ID}",
"os_name": "Android",
"path": "/organizations/${ORGANIZATION_NAME}/${PLATFORM_TYPE}/apps/${APP_ID}",
"updated_at": 1674458366,
"version_code": "1",
"version_name": "1.0",
"sdk_version": 26,
"raw_sdk_version": "26",
"target_sdk_version": 33,
"signature": "^[0-9a-f]{40}$",
"md5": "^[0-9a-f]{32}$",
"revision": 23,
"file_size": 5802610,
"icon": "https://secure.gravatar.com/avatar/default",
"message": "description of the app",
"user": {
"name": "${OWNER_NAME}"
}
},
"extension_type": null
}
}
}

Result 404

{
"invalid_params":null,
"message": "no application is found",
"error": true,
"because": "no application is found",
"error_type": "resource_not_found"
}