From 2461aaaaa56dbdd17a14ec4afde78da837f74762 Mon Sep 17 00:00:00 2001 From: Victor von <34239246+vractal@users.noreply.github.com> Date: Wed, 19 Oct 2022 03:23:24 -0300 Subject: [PATCH] Update /pushers/set info to make deletion clearer (#1293) Signed-off-by: Victor von Sydow victor@jigvis.com.br --- changelogs/client_server/newsfragments/1293.clarification | 1 + data/api/client-server/pusher.yaml | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changelogs/client_server/newsfragments/1293.clarification diff --git a/changelogs/client_server/newsfragments/1293.clarification b/changelogs/client_server/newsfragments/1293.clarification new file mode 100644 index 00000000..e6a03f49 --- /dev/null +++ b/changelogs/client_server/newsfragments/1293.clarification @@ -0,0 +1 @@ +Update `/pushers/set` endpoint info to make deletion process clearer. \ No newline at end of file diff --git a/data/api/client-server/pusher.yaml b/data/api/client-server/pusher.yaml index ec46c353..316fe298 100644 --- a/data/api/client-server/pusher.yaml +++ b/data/api/client-server/pusher.yaml @@ -139,6 +139,8 @@ paths: 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 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 security: - accessToken: []