Deliver a library file to a phone
Changed onSends a library file to a phone the caller's org holds: the phone downloads it over its own connection and inserts it into the media gallery, where app pickers can select it. Accepts any file by id regardless of source (uploaded or captured), and the file must already be ready - finish an uploaded file with POST /files/{file_id}:complete before delivering it. Returns 202 with the delivery record once the phone acknowledges the download started; watch GET /phones/{phone_id}/deliveries or the live preview for completion. Optionally choose the target collection (DCIM / Pictures / Movies).
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
target phone_id
Request body
Example request
{
"$schema": "/api/v1/FileDeliveryCreateRequest.json"
}Response
Accepted
Example response
{
"$schema": "/api/v1/FilePushResponse.json",
"delivery": {
"$schema": "/api/v1/FileDeliverySummary.json"
}
}Changes
- breaking
removed the enum value
DCIMof the request property - breaking
removed the enum value
Moviesof the request property - breaking
removed the enum value
Picturesof the request property - info
added the new
dcimenum value to the request property - info
added the new
moviesenum value to the request property - info
added the new
picturesenum value to the request property - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
the endpoint scheme security
bearerAuthwas removed from the API
- info