What are the possible kinds of webhooks Trello can send? What attributes come in each? -


i'm developing app tightly integrated trello , uses trello webhooks lot of things. however, can't find anywhere in trello's developer documentation what "actions" may trigger webhook , data come in each of these.

in fact, in experience, data comes each webhook kinda random. example, while webhooks contain shortlink of card being target of action, not, in totally unpredictable way. also, creating cards checklists doesn't seem trigger same webhook triggered when card created normally, , on.

so, documented somewhere?

after fighting against these issues , raw memory of data should come in each webhook, along name of each different action, decided document myself , released (constantly updating find new webhooks out there) set of json files showing samples of data each webhook send endpoint:

https://github.com/websitesfortrello/trello-webhooks

for example, when board closed, webhook sent with

{   "id": "55d7232fc3597726f3e13ddf",   "idmembercreator": "50e853a3a98492ed05002257",   "data": {     "old": {       "closed": false     },     "board": {       "shortlink": "v50d5sxr",       "id": "55af0b659f5c12edf972ac2e",       "closed": true,       "name": "communal website"     }   },   "type": "updateboard",   "date": "2015-08-21t13:10:07.216z",   "membercreator": {     "username": "fiatjaf",     "fullname": "giovanni parra",     "avatarhash": "d2f9f8c8995019e2d3fda00f45d939b8",     "id": "50e853a3a98492ed05002257",     "initials": "gp"   } } 

in fact, comes json object {"model": ..., "action": ... data see there...}, i've removed these sake o brevity , i'm showing comes inside "action" key.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

node.js - Express and Redis - If session exists for this user, don't allow access -

excel - I can't get the attachement of the email PHP -