Skip to content

Endpoints

hammy3502 edited this page May 23, 2022 · 10 revisions

Not the most extensive documentation, but some is better than none, I guess?

/api/data/put: The server uses this endpoint to give its data to the central server

/api/ping: {"message": "Pong!"}

/api/data/get: Returns JSON containing status information for all computers

/api/tokens/get: Returns JSON containing all currently registered tokens

/api/tokens/delete: Deletes a token

/api/users/list: Returns JSON containing a list of all users

/api/users/delete: Deletes a user

/api/users/add: Adds a user

/api/fts: Used for first-time setup

NOTES:

  • All endpoints perform and require authentication. See the Auth Flows page for more information.
Clone this wiki locally