Nota
Estás viendo la API de aplicaciones cuyo ámbito se limita a las aplicaciones. Si buscas la especificación API completa, consulta la API de Organizaciones.
Esta solicitud tiene como objetivo actualizar una Build.
Definición #
- Método: PUT
- URL:
https://api.applivery.io/v1/integrations/builds/{buildId}
- Autenticación, build ID: requerido
- Encabezados:
Content-Type: application/json
Authorization: bearer <your_app_token>
Params #
Param
Tipo
Descripción
buildId
File
Build Id. E.g.: 552ae3cfcb5abfc58d733b81
.
Body #
Modo Quiosco
Número de Apps
Descripción
versionName
String
(Optional) Human readable version name for this build. E.g.: RC-1
.
tags
Array
(Optional) Etiquetas separadas por comas. E.g.: tag1, tag2, tag3
.
changelog
String
(Opcional) Notas de la build o registro de cambios E.g.: Bug fixing!
.
Ejemplo de petición #
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!"
}'
Respuestas #
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"
}
}