Get a list of device models
List of DeviceModels associated with the TenantId coming from the header
Unauthorized
Internal server error
{- "code": 0,
- "content": {
- "count": 0,
- "next": "string",
- "previous": "string",
- "results": [
- {
- "model_display_name": "Motorola Edge 20 - T2E20",
- "manufacturer": "Motorola",
- "model": "Edge 20",
- "profile_name": "Tacobell",
- "profile_variant": "T2E20",
- "update_compatible_android_api_level_begin": 11,
- "device_model_id": "eb566c45-f841-41e5-a0af-435e90a96cae",
- "auto_update": false,
- "latest": false,
- "locked_build_id": "string",
- "created_at": "2023-12-07T17:14:46.419449+05:30",
- "updated_at": "2023-12-07T17:14:46.419449+05:30",
- "created_by": "FoundryAdmin",
- "updated_by": "FoundryAdmin"
}
]
}
}
Update a Tenant Device Model based on given parameters
Updated
Bad Request
Unauthorized
locked_build_id not approved
DeviceModel not found
{- "auto_update": true,
- "latest": true,
- "locked_build_id": "string"
}
{- "data": {
- "build_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deprecated_on": "2019-08-24T14:15:22Z",
- "created_by": "string",
- "updated_by": "string",
- "ab_update": true,
- "android_major_version": 0,
- "android_minimum_sdk_level": 0,
- "android_minor_version": "string",
- "android_sdk_level": 0,
- "build_arch": "string",
- "build_flavor": "string",
- "build_hash": "string",
- "build_ota_hash": "string",
- "build_job_url": "string",
- "build_job_id": 0,
- "build_fingerprint_hash": "string",
- "build_type": "string",
- "build_url": "string",
- "build_update_meta_data": "string",
- "build_update_url": "string",
- "file_size_kb": 0,
- "foundation_build_number": 0,
- "foundation_major_number": 0,
- "foundation_minor_number": 0,
- "foundation_name": "string",
- "model_display_name": "string",
- "build_job_params": "string",
- "prebuilt_app_info": "string",
- "release_notes": "string",
- "release_rating": "string",
- "source_build_id": "string",
- "build_state": "released",
- "device_model_id": "string",
- "approved": true
}
}