Get Device Specs By Device Type
GET
/api/v1/devices/specs/{device_type}
const url = 'https://example.com/api/v1/devices/specs/EMU_FREE';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/devices/specs/EMU_FREE \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”device_type
required
DeviceTypeName
Enumeration of allowed and legacy device type names
string
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
NonPaginatedResponse[ProducedDeviceSpecsResponse]
object
data
Any of:
ProducedDeviceSpecsResponse
Response to a request for device specs to display on a page.
object
device_type
required
Device Type
string
specs
required
Specs
string
null
Examplegenerated
{ "data": { "device_type": "example", "specs": "example" }}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}