mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Send ClientDataStatus after registering new device
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user