Set and Retrieve Output Resolution

555

# Set and Retrieve Output Resolution

# Set Output Resolution

Path:

/api/dimension

Method: PUT

Content-type: application/json; charset=utf-8

API Description: This can be used to set the output resolution.

Request

Name Type Example Description
width int 1920 Output width.
height int 1080 Output height.
freq int 60 Output frame rate.

Example

{
    "width": "1920",
    "height": "1080",
    "freq": "30"
}

# Retrieve Output Resolution

Path:

/api/dimension.json

Method: GET

Content-type: application/json; charset=utf-8

API Description: This can be used to retrieve the output resolution.

Response

Name Type Example Description
width int 1920 Output width.
height int 1080 Output height.
freq int 60 Output frame rate.

Example

{
    "width": "1920",
    "height": "1080",
    "freq": "30"
}