Browse Source

Fix api doc format

- The 'Template List' is a secondary title.
- The headers in the request parameters of the Webhook Add are
 json string, default empty should be "",  not null.

Change-Id: I4c7a22cceff8d95121e55d294cfbcb635e2c730d
changes/30/738330/2
Q.hongtao 1 week ago
parent
commit
9a87f422c0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      doc/source/contributor/vitrage-api.rst

+ 2
- 2
doc/source/contributor/vitrage-api.rst View File

@@ -856,7 +856,7 @@ Response Examples


Template List
=============
^^^^^^^^^^^^^

List all templates in the database, both those that passed validation and those that did not.

@@ -1830,7 +1830,7 @@ Request Examples
{
"webhook":{
"url":"https://requestb.in/tqfkvtqa",
"headers":null,
"headers":"",
"regex_filter":"{'name':'e2e.*'}"
}
}


Loading…
Cancel
Save