POST
/api/v1/upload/profiles
¶Upload a custom profile using multipart/form-data I.E from an upload input.
Encrypted profiles are not supported.
The profiles contents will be stored using the following process: - For the top level profile (and each payload) there is a marshmallow schema which maps the payload keys into
the SQLAlchemy model keys. It is also the responsibility of the marshmallow schema to be the validator for uploaded profiles.
payloads
table.The returned body contains a jsonapi object with details of the newly created profile and associated payload ID’s.
Note: Does not support application/x-www-form-urlencoded
Request Headers: | |
---|---|
|
|
Response Headers: | |
|
|
Status Codes: |
|
GET
/api/v1/organization
¶Retrieve information about the MDM home organization.
Only returns a pseudo JSON-API representation because the standard has no definition for singleton resources.
GET
/api/v1/rsa_private_keys/
(int: rsa_private_key_id)/download
¶Download an RSA private key in PEM or DER format
Request Headers: | |
---|---|
Response Headers: | |
|
|
Status Codes: |
|
GET
/api/v1/download/certificates/
(int: certificate_id)¶Download a certificate in PEM format
Request Headers: | |
---|---|
Response Headers: | |
|
|
Status Codes: |
|
GET
/api/v1/download/profiles/
(int: profile_id)¶Download a profile.
The profile is reconstructed from its database representation.
Request Headers: | |
---|---|
|
|
Response Headers: | |
|
|
Status Codes: |
GET
/api/v1/devices/inventory/
(int: device_id)¶Tell a device to produce a full inventory immediately.
This is mostly for testing right now.
Status Codes: |
|
---|
POST
/api/v1/devices/test/
(int: device_id)¶Testing endpoint for quick and dirty command checking
GET
/api/v1/devices/
(int: device_id)/clear_passcode
¶Enqueues a ClearPasscode command for the device id specified.
Request Headers: | |
---|---|
|
|
Response Headers: | |
|
|
Status Codes: |
|