Skip to content
This repository has been archived by the owner on Jan 15, 2020. It is now read-only.
JetseVerschuren edited this page Nov 30, 2017 · 1 revision

Welcome to the api-proto wiki!

This is where the API is documented

====================

THIS IS NOT THE FINAL API IT CAN CHANGE

====================

websockets

sending messages

{"action":"send","address":"PixelyIon","message":"Hey"}

receiving messages

{"type":"receive","address":"Jetse","message","Hey"}

setting settings

{"action":"settings","key","value"}

REST

sending messages

POST /api {"action":"send","address":"PixelyIon","message":"Hey"}

receiving messages

GET /api {"messages":[{"address":"Jetse","message","Hey"}]}

setting settings

POST /api {"action":"settings","key","value"}