Note
You are viewing the Apps API whose scope is limited to Apps. If you are looking for the full API spec, check the Organizations API .
This request is intended to update a Build.
Definition #
- Method: PUT
- URL:
https://api.applivery.io/v1/integrations/builds/{buildId}
- Authentication, build ID: required
- Headers:
Content-Type: application/json
Authorization: bearer <your_app_token>
Params #
Param | Type | Description |
---|---|---|
buildId
|
File |
Build Id. E.g.: 552ae3cfcb5abfc58d733b81
|
Body #
Param | Type | Description |
---|---|---|
versionName
|
String |
(Optional) Human readable version name for this build. E.g.: RC-1
|
tags
|
Array |
(Optional) Comma separated tags. E.g.: tag1, tag2, tag3
|
changelog
|
String |
(Optional) Build notes or log of changes E.g.: Bug fixing!.
|
Example request #
curl 'https://api.applivery.io/v1/integrations/builds/552ae3cfcb5abfc58d733b81' \
-X PUT \
-H 'Authorization: bearer xyz...xyz' \
-d '{
"versionName": "My awesome app version",
"tags": ["tag1", "tag2", "tag3"],
"changelog": "Bug fixing!"
}'
Responses #
200 - Success
401 - Unauthorized
404 - Not found
Content type:
application/json
{
"status": true,
"data": {
"id": "string",
"status": "pending",
"tags": ["string"],
"versionName": "string",
"application": "string",
"applicationInfo": {
"id": "string",
"name": "string",
"slug": "string",
"picture": "string"
},
"changelog": "string",
"info": {
"icon": "string",
"android": {
"targetSdkVersion": "string",
"minSDKVersion": "string",
"packageName": "string",
"platformBuildVersionName": "string",
"platformBuildVersionCode": "string",
"versionName": "string",
"versionCode": "string",
"icon": "string"
},
"ios": {
"plist": {
"CFBundleDisplayName": "string",
"CFBundleSupportedPlatforms": ["string"],
"MinimumOSVersion": "string",
"CFBundleIdentifier": "string",
"CFBundleShortVersionString": "string",
"CFBundleVersion": "string",
"CFBundleName": "string",
"CFBundleIcons": ["string"],
"UIDeviceFamily": ["string"]
},
"mobileprovision": {
"ExpirationDate": "2019-08-24T14:15:22Z",
"TeamIdentifier": "string",
"ProvisionsAllDevices": true,
"TeamName": "string",
"ProvisionedDevices": "string",
"signingType": "ad-hoc"
}
},
"pkg": {
"CFBundleDisplayName": "string",
"CFBundleSupportedPlatforms": ["string"],
"MinimumOSVersion": "string",
"CFBundleIdentifier": "string",
"CFBundleShortVersionString": "string",
"CFBundleVersion": "string",
"CFBundleName": "string"
}
},
"size": 0,
"processTime": 0,
"queuedTime": 0,
"versionCode": "string",
"error": "string",
"errorCode": "string",
"os": "ios",
"deployer": {
"name": "string",
"info": {
"commitMessage": "string",
"commit": "string",
"branch": "string",
"triggerTimestamp": "string",
"buildUrl": "string",
"ciUrl": "string",
"repositoryUrl": "string",
"buildNumber": "string",
"tag": "string"
}
},
"uploadedBy": {
"id": "string",
"email": "user@example.com",
"firstName": "string",
"lastName": "string",
"picture": "string"
},
"originalExtension": "string",
"storageProvider": {
"id": "string",
"name": "string",
"region": "string",
"config": "string"
},
"hasEmmJson": true,
"updatedAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
}
Content type:
application/json
{
"status": false,
"error": {
"code": 3002,
"message": "Token Expired"
}
}
Content type:
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}