||1 week ago|
|README.md||2 years ago|
|admin.md||1 week ago|
|auth.md||9 months ago|
|child.md||2 years ago|
|parent.md||3 weeks ago|
|purchase.md||2 years ago|
|sync.md||2 years ago|
|websocket.md||2 years ago|
TimeLimit Server API documentation
The client communicates with the server using HTTP(S) requests and a socket.io websocket connection.
All requests bodies (if any) and responses are encoded as JSON if not said otherwise.
This endpoint is for the server administrator. Its interface is described at admin.md.
This endpoint is used for the user authentication. Its interface is described at auth.md.
This endpoint is used for by devices which are used by a child. Its interface is described at child.md.
This endpoint is used by devices which are used by a parent. Its interface is described at parent.md.
This endpoint is used for handling purchases from the client. Its interface is described at purchase.md.
This endpoint is used by clients for syncing. Its interface is described at sync.md.
This endpoint returns the current time of the server as a Unix timestamp in milliseconds. This does not need any authentication.
The response is a object with the property
value is the timestamp as number.
The websocket is used for real time notifications from the server to the client. The protocol is described at websocket.md.