FoundryDeviceModels

Get device models

Get a list of device models

SecurityAuthToken
Request
query Parameters
limit
string
offset
string
manufacturer
string
model
string
profile_name
string
profile_variant
string
update_compatible_android_api_level_begin
string
update_compatible_android_api_level_end
string
Responses
200

List of DeviceModels associated with the TenantId coming from the header

401

Unauthorized

500

Internal server error

get/v1/foundry/device-models/
Request samples
Response samples
application/json
{
  • "code": 0,
  • "content": {
    }
}

Update Tenant Device Model

Update a Tenant Device Model based on given parameters

SecurityAuthToken
Request
path Parameters
device_model_id
required
string <uuid>

An UUID specifying the Device Model

Request Body schema: application/json
required
auto_update
boolean

Enables/disables automatic updates for the device model. The other properties (latest and locked_build_id) are processed only if autoupdate is set to true.

latest
boolean

Configures Foundry service to automatically lock to the latest approved build (whenever available) if set to true.

locked_build_id
string

Specifies the UUID of the build which needs to be locked for automatic updates.

Responses
200

Updated

400

Bad Request

401

Unauthorized

403

locked_build_id not approved

404

DeviceModel not found

put/v1/foundry/device-models/{device_model_id}/
Request samples
application/json
{
  • "auto_update": true,
  • "latest": true,
  • "locked_build_id": "string"
}
Response samples
application/json
{
  • "data": {
    }
}