Browse Source

Merge "api-ref: Add webhook API reference"

changes/70/707570/1
Zuul 1 week ago
parent
commit
42f001d34c
2 changed files with 27 additions and 0 deletions
  1. +1
    -0
      api-ref/source/index.rst
  2. +26
    -0
      api-ref/source/watcher-api-v1-webhooks.inc

+ 1
- 0
api-ref/source/index.rst View File

@@ -16,3 +16,4 @@ Watcher API
.. include:: watcher-api-v1-services.inc
.. include:: watcher-api-v1-scoring_engines.inc
.. include:: watcher-api-v1-datamodel.inc
.. include:: watcher-api-v1-webhooks.inc

+ 26
- 0
api-ref/source/watcher-api-v1-webhooks.inc View File

@@ -0,0 +1,26 @@
.. -*- rst -*-

========
Webhooks
========

.. versionadded:: 1.4

Triggers an event based Audit.


Trigger EVENT Audit
===================

.. rest_method:: POST /v1/webhooks/{audit_ident}

Normal response codes: 202

Error codes: 400,404

Request
-------

.. rest_parameters:: parameters.yaml

- audit_ident: audit_ident

Loading…
Cancel
Save