Files
Add a file to MDM for usage in other API.
End Points
Upload a file to MDM
Attribute
content_type
string
Content Type :
| File Extension | Platform | Content type |
|---|---|---|
| apk | Android | application/vnd.android.package-archive |
| ipa | iOS | application/x-itunes-ipa |
| appxbundle | Windows | application/zip |
| xap | Windows | application/zip |
| appx | Windows | application/zip |
| msi | Windows | application/x-ms-installer |
| msix | Windows | application/zip |
file_name
string
Name of File
file_id
long
Unique Identifier for the file
expiry_time
long
Timestamp until when the file is valid
content_length
integer
Length of the file (in bytes)
Upload a file to MDM
Upload a file oauthscope : MDMOnDemand.MDMDeviceMgmt.CREATE
POST - /api/v1/mdm/files
Header
Content-Disposition
string
(Required)
Name of file with extension
Arguments
stream
bytestream
(Required)
bytestream of the file