Skip to content

Commit

Permalink
adds device token endpoint
Browse files Browse the repository at this point in the history
This endpoint is for pushing a device token that can be used later to send
push notifications to the device.

BACK-2506
  • Loading branch information
ewollesen committed Jan 26, 2024
1 parent 31103a5 commit afc314b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions reference/auth.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,24 @@ paths:
security:
- serverToken: []

'/auth/v1/users/{userId}/device_tokens':
parameters:
- $ref: './common/parameters/tidepooluserid.yaml'
post:

Check warning on line 728 in reference/auth.v1.yaml

View workflow job for this annotation

GitHub Actions / check / check (check_specs)

operation-tags Operation must have non-empty "tags" array.
operationId: PostDeviceToken
summary: Post Device Token
description: >-
Stores a token used to send notifications to a device such as a mobile phone.
responses:
'200':
description: 200 OK
'400':
$ref: './common/responses/badrequest.v1.yaml'
'403':
$ref: './common/responses/forbidden.v1.yaml'
security:
- sessionToken: []

components:
securitySchemes:
basicAuth:
Expand Down

0 comments on commit afc314b

Please sign in to comment.