Commit451 / skyhook

Parses webhooks and forwards them in the proper format to Discord.
https://commit451.github.io/skyhook-web
MIT License
365 stars 94 forks source link

WeKan support #194

Open rdrpenguin04 opened 2 years ago

rdrpenguin04 commented 2 years ago

Here's an example request that WeKan sends:

Method: POST
URI: {DISCORD_WEBHOOK_URL_GOES_HERE}
HTTP Version: 1.1
Headers:
{
  connection: close; content-length: 414; host: webhook.site; content-type: application/json
}
Content:
{
  "text": "John Doe added checklist \"Apples\" to card \"Fruits\" at list \"To-Do: Foodstuffs\" at swimlane \"Default\" at board \"Categorize The World\"\nexample.com/b/YH6MDkdA3Lyg7ER4Q/categorize-the-world/YNJTJmGdNqdiPH59s",
  "cardId": "YNJTJmGdNqdiPH59s",
  "listId": "6d2GgxW4CcFcDDhe6",
  "boardId": "YH6MDkdA3Lyg7ER4Q",
  "user": "John Doe",
  "card": "File formats",
  "swimlaneId": "gaL52PjWSW5MJL5X5",
  "description": "act-addChecklist"
}