POST – Attached files to a Build

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"
  }
}
				
			
Atualizado em fevereiro 28, 2025
Was this article helpful?

On this page

— talk to an expert —

Talk to an expert

[Contact us] [EN] MDM & MAD
How many devices do you want to manage with Applivery?
Which operating systems do you want to manage?

— Habla con un experto —

Hablar con un experto

[Contact us] [EN] MDM & MAD
How many devices do you want to manage with Applivery?
Which operating systems do you want to manage?