Make responce codes uniform (#8865)

* Fix 201 responce wrong documentation

* Fix 201 in challenges

* Fix 201 in groups.js

* Fix 201 in tags.js

* Fix 201 in webhooks.js
This commit is contained in:
Pavel Pletenev
2017-07-18 01:28:25 +04:00
committed by Sabe Jones
parent 5f3539da19
commit 0da1144635
5 changed files with 13 additions and 13 deletions

View File

@@ -61,13 +61,13 @@ let api = {};
* "url": "http://some-webhook-url.com"
* }
*
* @apiSuccess {Object} data The created webhook
* @apiSuccess {UUID} data.id The uuid of the webhook
* @apiSuccess {String} data.url The url of the webhook
* @apiSuccess {String} data.label A label for you to keep track of what this webhooks is for
* @apiSuccess {Boolean} data.enabled Whether the webhook should be sent
* @apiSuccess {String} data.type The type of the webhook
* @apiSuccess {Object} data.options The options for the webhook (See examples)
* @apiSuccess (201) {Object} data The created webhook
* @apiSuccess (201) {UUID} data.id The uuid of the webhook
* @apiSuccess (201) {String} data.url The url of the webhook
* @apiSuccess (201) {String} data.label A label for you to keep track of what this webhooks is for
* @apiSuccess (201) {Boolean} data.enabled Whether the webhook should be sent
* @apiSuccess (201) {String} data.type The type of the webhook
* @apiSuccess (201) {Object} data.options The options for the webhook (See examples)
*
* @apiUse WebhookBodyInvalid
*/