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 URLhttps://api.axilio.ai/api/v1
- 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
Response
Accepted
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
endpoint added
- info