-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: nicolashimmelmann <[email protected]>
- Loading branch information
1 parent
2062692
commit 40189e5
Showing
2 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!-- | ||
- SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors | ||
- SPDX-License-Identifier: AGPL-3.0-or-later | ||
--> | ||
## Webhook Events | ||
|
||
Currently, Deck sends the following events that can be received by the [`webhook_listener`](https://docs.nextcloud.com/server/latest/admin_manual/webhook_listeners/index.html) app for Nextcloud Flow automations: | ||
|
||
### `CardCreatedEvent` | ||
|
||
Fired when a new card is created. Payload: | ||
|
||
```text | ||
{ | ||
"title": string, | ||
"description": string, | ||
"boardId": int, | ||
"stackId": int, | ||
"lastModified": string, | ||
"createdAt": string | ||
"labels": [ | ||
{ | ||
"id": int, | ||
"title": string | ||
}, | ||
], | ||
"assignedUsers": string[], | ||
"order": int, | ||
"archived": bool, | ||
"commentsUnread": int, | ||
"commentsCount": int, | ||
"owner": string | null, | ||
"lastEditor": string | null, | ||
"duedate": string | null, | ||
"doneAt": string | null, | ||
"deletedAt": string | null | ||
} | ||
``` | ||
|
||
Note: All timestamps are in ISO8601 format: `2025-01-11T12:34:56+00:00` | ||
|
||
### `CardUpdatedEvent` | ||
|
||
Fired when a card is changed. Contains the values before and after the update. Payload: | ||
|
||
```text | ||
{ | ||
"before": { | ||
//...same format as CardCreatedEvent... | ||
}, | ||
"after": { | ||
//...same format as CardCreatedEvent... | ||
} | ||
} | ||
``` | ||
|
||
### `CardDeletedEvent` | ||
|
||
Fired when a card is deleted. Payload: | ||
|
||
```text | ||
{ | ||
//...same as CardCreatedEvent... | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters