display

Retrieves the RGB color values of a pixel at the specified coordinates.

post/api/display/pixel_color

Request

  • Base URL
    http://localhost:4242/your-computer-name
  • URL
    http://localhost:4242/your-computer-name/api/display/pixel_color
  • Auth
    none declared

Request body

xinteger required

X coordinate of the pixel

yinteger required

Y coordinate of the pixel

display_numinteger

Display number to target

Example request

{
  "display_num": 1,
  "x": 100,
  "y": 100
}

Response

Successfully retrieved pixel color

unknown required

Changes