Skip to content

Commit d452990

Browse files
committed
Update details for webhooks.
1 parent f7d0bc2 commit d452990

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

yaml/paths/webhooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
tags:
8080
- webhooks
8181
description: Update existing webhook.
82-
summary: Update an existing webhook's information.
82+
summary: Update an existing webhook's information. If you wish to reset the secret, submit any value as the "secret". Firefly III will take this as a hint and reset the secret of the webhook.
8383
parameters:
8484
- in: path
8585
name: id

yaml/schemas/Webhook.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Webhook:
3232
type: string
3333
format: string
3434
example: "iMLZLtLx2JHWhK9Dtyuoqyir"
35-
readOnly: true
36-
description: A 24-character secret for the webhook. It's generated by Firefly III when saving a new webhook.
35+
readOnly: false
36+
description: A 24-character secret for the webhook. It's generated by Firefly III when saving a new webhook. If you submit a new secret through the PUT endpoint it will generate a new secret for the selected webhook, a new secret bearing no relation to whatever you just submitted.
3737
trigger:
3838
type: string
3939
format: string

0 commit comments

Comments
 (0)