Get Devices › Fetch all available device combinations.
Get Devices
Fetch all available device combinations. Fetch all os devices combinations available on lambdatest platform.
Fetch all available device combinations. curl -- request GET \
-- url "https://api.lambdatest.com/screenshots/v1/devices" \
-- header "Authorization: Basic <encoded-value>"
{
"ios 12.0" : {
"devices" : [
"iphone xr" ,
"iphone xs" ,
"iphone xs max"
]
} ,
"android 7.0" : {
"devices" : [
"galaxy j7 max" ,
"galaxy s8" ,
"galaxy s8+" ,
"galaxy tab s3 9.3" ,
"huawei honor 6x" ,
"nexus 5x" ,
"nexus 6p" ,
"oppo r9"
]
}
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters os string
Fetch details for a particular OS
Response 200▼
application/json successful operation
ios 12. 0 object
▶ Hide child attributesios 12.0. devices string[]
Example: ["iphone xr","iphone xs","iphone xs max"]
android 7. 0 object
▶ Hide child attributesandroid 7.0. devices string[]
Example: ["galaxy j7 max","galaxy s8","galaxy s8+","galaxy tab s3 9.3","huawei honor 6x","nexus 5x","nexus 6p","oppo r9"]
Fetch all available device combinations. curl -- request GET \
-- url "https://api.lambdatest.com/screenshots/v1/devices" \
-- header "Authorization: Basic <encoded-value>"
{
"ios 12.0" : {
"devices" : [
"iphone xr" ,
"iphone xs" ,
"iphone xs max"
]
} ,
"android 7.0" : {
"devices" : [
"galaxy j7 max" ,
"galaxy s8" ,
"galaxy s8+" ,
"galaxy tab s3 9.3" ,
"huawei honor 6x" ,
"nexus 5x" ,
"nexus 6p" ,
"oppo r9"
]
}
}