POST
/
api
/
display
/
pixel_color
curl --request POST \
  --url http://localhost:4242/{computer_name}/api/display/pixel_color \
  --header 'Content-Type: application/json' \
  --data '{
  "display_num": 1,
  "x": 100,
  "y": 100
}'
[
  255,
  128,
  0
]

Body

application/json

Pixel coordinates

x
integer
required

X coordinate of the pixel

Example:

100

y
integer
required

Y coordinate of the pixel

Example:

100

display_num
integer
default:1

Display number to target

Example:

1

Response

200
application/json
Successfully retrieved pixel color

The response is of type any[].