a59311faca
We are returning the header X-OpenStack-Request-Id when returning a meaningful result from the server. This has to be documented. This patch also fixes the location header parameter that could be returned which should be called 'Location'. Change-Id: Idd0c74c249e5f21b6af954877b544ca1f005e203
44 lines
735 B
HTML
44 lines
735 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
|
|
|
|
- X-OpenStack-Request-Id: request_id
|
|
- Location: location
|