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 124f05b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions reference/auth.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,27 @@ paths:
security:
- serverToken: []

'/auth/v1/users/{userId}/device_tokens':
parameters:
- $ref: './common/parameters/tidepooluserid.yaml'
post:
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'
tags:
- Authentication
- Internal
security:
- sessionToken: []

components:
securitySchemes:
basicAuth:
Expand Down

0 comments on commit 124f05b

Please sign in to comment.