mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-05 10:49:37 +02:00
Send ClientDataStatus after registering new device
This commit is contained in:
parent
41758c32f2
commit
ae044c19d6
20 changed files with 242 additions and 33 deletions
|
@ -16,8 +16,7 @@ On a invalid request body: HTTP status code 400 Bad request
|
|||
|
||||
On a invalid add device token: HTTP status code 401 Unauthorized
|
||||
|
||||
On success: a JSON object with the properties ``deviceAuthToken`` and ``ownDeviceId``,
|
||||
both of the type string
|
||||
On success: object with ``deviceAuthToken`` (string), ``ownDeviceId`` (string) and ``data`` (like a ``/sync/pull-status`` response)
|
||||
|
||||
## POST /child/update-primary-device
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ If the mail auth token is invalid/ expired: HTTP status code 401 Unauthorized
|
|||
|
||||
If there is already a user with the mail address of the mail auth token: HTTP status code 409 Conflict
|
||||
|
||||
On success: object with ``deviceAuthToken`` (string) and ``ownDeviceId`` (string)
|
||||
On success: object with ``deviceAuthToken`` (string), ``ownDeviceId`` (string) and ``data`` (like a ``/sync/pull-status`` response)
|
||||
|
||||
## POST /parent/sign-in-into-family
|
||||
|
||||
|
@ -60,7 +60,7 @@ On a invalid request body: HTTP status code 400 Bad Request
|
|||
|
||||
If there is no user with the mail address of the mail auth token: HTTP status code 409 Conflict
|
||||
|
||||
On success: object with ``deviceAuthToken`` (string) and ``ownDeviceId`` (string)
|
||||
On success: object with ``deviceAuthToken`` (string), ``ownDeviceId`` (string) and ``data`` (like a ``/sync/pull-status`` response)
|
||||
|
||||
## POST /parent/can-recover-password
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue