Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

...

Code Block
GET /api/v1/display-control/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the display control settings, as shown in the example below.

...

Code Block
GET /api/v1/display-control/brightness/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the brightness setting for the display, as shown in the example below.

...

This is the example request body:

Code Block
languagejson
{
  "value": 100
}

Response Body

200: This returns the updated brightness setting for the display, as shown in the example below.

Response Example

Code Block
languagejson
{
  "data": {
    "result": {
      "success": true,
      "brightness": 100
    }
  }
}

...

Code Block
GET /api/v1/display-control/contrast/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the contrast setting for the display, as shown in the example below.

...

This is the example request body:

Code Block
languagejson
{
  "contrast": 45
}

Response Body

200: This returns the updated contrast setting for the display, as shown in the example below.

Response Example

Code Block
languagejson
{
  "data": {
    "result": {
      "success": true,
      "contrast": 45
    }
  }
}

...

Code Block
GET /api/v1/display-control/fast-tv-start/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the fast tv start setting for the display, as shown in the example below.

...

This is the example request body:

Code Block
languagejson
{
  "enable": true
}

Response Body

200: Returns the fast start setting for the display as true, as shown in the example below.

Response Example

Code Block
languagejson
{
  "data": {
    "result": {
      "success": true,
      "enable": true
    }
  }
}

...

Code Block
GET /api/v1/display-control/firmware/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the firmware setting for the display, as shown in the example below.

...

Code Block
languagejson
{
  "filepath": "path/to/firmware/relative/to/sd",
  "url": "https://example.com/tv-firmware.zip"
}

Response Body

200: This updates the firmware and reboots the player, as shown in the example below.

Response Example

Code Block
languagejson
{
  "data": {
    "result": {
      "success": true,
      "reboot": true
    }
  }
}

...

Code Block
GET /api/v1/display-control/power-settings/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the power setting for the display, as shown in the example below.

...

Code Block
languagejson
{
  "setting": "standby"
}

Response Body

200: This returns the updated power setting for the display, as shown in the example below.

...

Code Block
GET /api/v1/display-control/standby-timeout/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the timeout/standby setting for the display, as shown in the example below.

...

This is the example request body:

Code Block
languagejson
{
  "seconds": 60
}

Response Body

200: This returns the updated standby-timeout setting for the display, as shown in the example below.

Response Example

Code Block
languagejson
{
  "data": {
    "result": {
      "success": true,
      "seconds": 60
    }
  }
}

...

Code Block
GET /api/v1/display-control/usb-connection/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the USB connection setting for the display, as shown in the example below.

...

This is the example request body:

Code Block
languagejson
{
  "connection": "tv"
}

Response Body

200: This returns the updated USB connection setting for the display, as shown in the example below.

Response Example

Code Block
languagejson
{
  "data": {
    "result": {
      "success": true,
      "connection": "tv"
    }
  }
}

...

Code Block
GET /api/v1/display-control/video-output/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the video output setting for the display, as shown in the example below.

...

This is the example request body:

Code Block
languagejson
{
  "output": "HDMI2"
}

Response Body

200: This returns the updated video output connection setting for the display, as shown in the example below.

Response Example

Code Block
languagejson
{
  "data": {
    "result": {
      "success": true,
      "output": "HDMI2"
    }
  }
}

...

Code Block
GET /api/v1/display-control/volume/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the volume setting for the display, as shown in the example below.

...

This is the example request body:

Code Block
languagejson
{
  "volume": 100
}

Response Body

200: This returns the updated volume setting for the display, as shown in the example below.

Response Example

Code Block
languagejson
{
  "data": {
    "result": {
      "success": true,
      "volume": 100
    }
  }
}

...

Code Block
GET /api/v1/display-control/white-balance/ HTTP/1.1
Host: {{playerIP}}
Authorization: {{DigestAuth}}
Accept: application/json

Response Body

200: This returns the white balance setting for the display, as shown in the example below.

...

This is the example request body:

Code Block
languagejson
{
  "redBalance": 120,
  "greenBalance": 120,
  "blueBalance": 120
}

Response Body

200: This returns the updated white balance setting for the display, as shown in the example below.

Response Example

Code Block
languagejson
{
  "data": {
    "result": {
      "success": true,
      "redBalance": 120,
      "greenBalance": 120,
      "blueBalance": 120
    }
  }
}

...