
Contains .inc files which have all the contents of the .rst files but are grouped together for easier editing. Contains parameters.yaml, which has all parameters in one file. Contains request and response samples (JSON and XML) that are pointed to from the .inc files. Change-Id: I42d5451300f95774a3ec4df66bc95cb36795844d
40 lines
476 B
ReStructuredText
40 lines
476 B
ReStructuredText
.. -*- rst -*-
|
|
|
|
========
|
|
Webhooks
|
|
========
|
|
|
|
Triggers an action represented by a webhook.
|
|
|
|
|
|
Trigger webhook action
|
|
======================
|
|
|
|
.. rest_method:: POST /v1/webhooks/{webhook_id}/trigger
|
|
|
|
Triggers a webhook receiver.
|
|
|
|
Error response codes:202,
|
|
|
|
|
|
Request
|
|
-------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- webhook_id: webhook_id
|
|
- V: V
|
|
- params: params
|
|
|
|
|
|
Response Parameters
|
|
-------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- location: location
|
|
|
|
|
|
|
|
|