diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-09-22 14:34:30 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-09-22 14:34:30 +0200 |
commit | 21c50fb7fa80f004418972aa24e52225187f1ebe (patch) | |
tree | 5981a497f58e08ef8b42a4cf7f08c758a416e391 /docs | |
parent | ab1a4760ed5b35cf58fc6f3f4e3c31be4cff17f2 (diff) |
Move task webhook to the controller webhook
Diffstat (limited to 'docs')
-rw-r--r-- | docs/webhooks.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/webhooks.markdown b/docs/webhooks.markdown index 1d461746..3a0801a6 100644 --- a/docs/webhooks.markdown +++ b/docs/webhooks.markdown @@ -13,10 +13,10 @@ Firstly, you have to get the token from the settings page. After that, just call ```bash # Create a task for the default project inside the first column -curl "http://myserver/?controller=task&action=add&token=superSecretToken&title=mySuperTask" +curl "http://myserver/?controller=webhook&action=task&token=superSecretToken&title=mySuperTask" # Create a task to another project inside a specific column with the color red -curl "http://myserver/?controller=task&action=add&token=superSecretToken&title=task123&project_id=3&column_id=7&color_id=red" +curl "http://myserver/?controller=webhook&action=task&token=superSecretToken&title=task123&project_id=3&column_id=7&color_id=red" ``` ### Available responses @@ -27,7 +27,7 @@ curl "http://myserver/?controller=task&action=add&token=superSecretToken&title=t ### Available parameters -Base URL: `http://YOUR_SERVER_HOSTNAME/?controller=task&action=add` +Base URL: `http://YOUR_SERVER_HOSTNAME/?controller=webhook&action=task` - `token`: Token displayed on the settings page (required) - `title`: Task title (required) |