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 upload the attached files to a Build.
Definition #
- Method: POST
- URL:
https://upload.applivery.io/v1/integrations/builds/{buildId}/files}
- Authentication, build ID: required
- Headers:
Content-Type: application/json
Authorization: bearer <your_app_token>
- Request type: Multipart.
Params #
Param
Type
Description
buildId
String
Build Id. E.g.: 552ae3cfcb5abfc58d733b81
.
Example request #
curl 'https://upload.applivery.io/v1/integrations/builds/552ae3cfcb5abfc58d733b81/files}' \
-H 'authorization: Bearer xyz...xyz' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundaryD5JCopE8AzmBAytq' \
--data-raw $'------WebKitFormBoundaryD5JCopE8AzmBAytq\r\nContent-Disposition: form-data; name="file"; filename="icon.jpg"\r\nContent-Type: image/jpeg\r\n\r\n\r\n------WebKitFormBoundaryD5JCopE8AzmBAytq--\r\n'
Responses #
Content type:
application/json
{
"status": true,
"data": {
"id": "string",
"status": "pending",
"tags": [],
"versionName": "string",
"application": "string",
"applicationInfo": {},
"changelog": "string",
"iconFile": {},
"info": {},
"size": 0,
"processTime": 0,
"queuedTime": 0,
"versionCode": "string",
"error": "string",
"errorCode": "string",
"os": "ios",
"buildPlatform": "string",
"deployer": {},
"uploadedBy": {},
"originalExtension": "string",
"storageProvider": {},
"processLogs": [],
"files": "files": [
{
"id": "string",
"type": "string",
"description": "string",
"file": {
"originalName": "string",
"mimetype": "string",
"size": 0,
"bucket": "string",
"key": "string",
"location": "string",
"region": "string",
"storageProviderId": "string",
"checksum": "string",
"updatedAt": "string",
"createdAt": "string"
},
],
"metadata": {},
"externalFileUrl": "string",
"hasEmmJson": true,
"defaultScripts": {},
"updatedAt": "string",
"createdAt": "string"
}
}
Content type:
application/json
{
"status": false,
"error": {
"code": 5014,
"message": "Build Not Processed"
}
}
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"
}
}