senlin/api-ref/source/webhooks.inc
tengqm 0456a0a1c1 Add status code tables to api-ref doc
This patch leverages the new status code table feature in os-api-ref
version 0.4.0 and above.

Change-Id: I102bb1bdab03acb19b5317c1fdf51c275630bba0
2016-08-10 23:01:09 -04:00

43 lines
696 B
HTML

===================
Webhooks (webhooks)
===================
Triggers an action represented by a webhook.
Trigger webhook action
======================
.. rest_method:: POST /v1/webhooks/{webhook_id}/trigger
Triggers a webhook receiver.
Response Codes
--------------
.. rest_status_code:: success status.yaml
- 202
.. rest_status_code:: error status.yaml
- 403
- 404
- 503
Request Parameters
------------------
.. rest_parameters:: parameters.yaml
- OpenStack-API-Version: microversion
- webhook_id: webhook_id_url
- V: webhook_version
- params: webhook_params
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- location: location