Skip to main content
Get ResolutionsFetch all available resolution on different OS.
TestMu AI
StatusCommunityBlog
Get Resolutions

Fetch all available resolution on different OS.

Fetch all available resolution on different OS.

GET
/resolutions
Fetch all available resolution on different OS.
curl --request GET \
--url "https://api.lambdatest.com/screenshots/v1/resolutions" \
--header "Authorization: Basic <encoded-value>"
{
"mac_res": [
"1024x768",
"1280x1024"
],
"win_res": [
"1024x768",
"1280x1024"
]
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

application/json

successful operation

mac_resarray
win_resarray
Fetch all available resolution on different OS.
curl --request GET \
--url "https://api.lambdatest.com/screenshots/v1/resolutions" \
--header "Authorization: Basic <encoded-value>"
{
"mac_res": [
"1024x768",
"1280x1024"
],
"win_res": [
"1024x768",
"1280x1024"
]
}