Update /pushers/set info to make deletion clearer (#1293)

Signed-off-by: Victor von Sydow victor@jigvis.com.br
This commit is contained in:
Victor von 2022-10-19 03:23:24 -03:00 committed by GitHub
parent 7935a0728a
commit 2461aaaaa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1 @@
Update `/pushers/set` endpoint info to make deletion process clearer.

View file

@ -139,6 +139,8 @@ paths:
This endpoint allows the creation, modification and deletion of [pushers](/client-server-api/#push-notifications) This endpoint allows the creation, modification and deletion of [pushers](/client-server-api/#push-notifications)
for this user ID. The behaviour of this endpoint varies depending on the for this user ID. The behaviour of this endpoint varies depending on the
values in the JSON body. values in the JSON body.
For deletion, send a request with`kind:null`, also including `app_id` and `pushkey` of the pusher you want to remove.
operationId: postPusher operationId: postPusher
security: security:
- accessToken: [] - accessToken: []