Available devices to be used for emulation.
GET/devices
Available devices to be used for emulation.
Request
Query Parameters
api_key stringrequired
Responses
- 200
- 401
List of devices that can be used as viewport_device param.
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
The unique identifier of the device
name stringrequired
The name of the device
userAgent stringrequired
The user agent string for the device
viewport object
width numberrequired
The width of the viewport
height numberrequired
The height of the viewport
deviceScaleFactor numberrequired
The device scale factor
isMobile booleanrequired
Indicates if the device is mobile
hasTouch booleanrequired
Indicates if the device has touch capabilities
isLandscape booleanrequired
Indicates if the viewport is in landscape mode
{
"id": "blackberry_playbook",
"name": "Blackberry PlayBook",
"userAgent": "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+",
"viewport": {
"width": 600,
"height": 1024,
"deviceScaleFactor": 1,
"isMobile": true,
"hasTouch": true,
"isLandscape": false
}
}
Unauthorized. The requested api_key query parameter is missing or invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"statusCode": 401,
"code": "api_key_missing_or_invalid",
"message": "API key query param is missing or invalid"
}
{
"statusCode": 401,
"code": "api_key_missing_or_invalid",
"message": "API key query param is missing or invalid"
}
Loading...