Overview
A Media object is one file in your media library: storage that Phones Inc keeps for your organization. Put a file there once, then use it on as many phones as you like, as often as you like. The library holds photos and videos, and any other file you want to put on a phone, such as an APK or a document.- Upload Media stores a file and returns its
id. - Pass that
idasmediaIdto Import Media, Push File or Install App.
mediaId also accept a public url instead, if you only need the file once and it is already hosted somewhere reachable over HTTPS.
The media library is separate from the phones. Its endpoints never take phoneIds, and deleting a file from the library does not remove copies already put on phones. For what is stored on a phone, see File.
Limits
- Maximum size: 1 GiB per file.
- Files stay in your media library until you delete them.
Properties
File name including its extension, for example
clip.mp4. The extension tells the phone what kind of file it is.A link to download the file with a plain
GET, valid for one hour. No Authorization header is needed.