Skip to main content

Place a pixel in a room

Place a pixel in a room

Path Parameters
slug string REQUIRED

The slug of the room

Request Body REQUIRED
posX number REQUIRED

The X position of the pixel

posY number REQUIRED

The Y position of the pixel

color number REQUIRED

The color index of the pixel

Responses
200

Successful response

Schema OPTIONAL
roomSlug string
posX number
posY number
color number
timestamp
placedByUid
401

Unauthorized

Schema OPTIONAL
code string OPTIONAL
message string OPTIONAL
403

Forbidden

Schema OPTIONAL
code string OPTIONAL
message string OPTIONAL
429

Too Many Requests

Schema OPTIONAL
code string OPTIONAL
message string OPTIONAL
500

Internal Server Error

Schema OPTIONAL
code string OPTIONAL
message string OPTIONAL