507 B
507 B
Basic Request
Every request is a json-object: {"type": "SOME_TYPE", "data": "ANY_DATA"}
Types
e (Error)
- Client
- Server
Pretty self-explanatory.
Value is a CamelCase errorcode. Codes:
ValidationErrorBadId
bp (ButtonPress)
- Client
- Server
Sends a button-press to the server, where data is either b, g, y or r. Capital letters indicate a long-press.