Fix Sphinx formating errors

Change-Id: I7504ec70f22dbbd014873fa64eaee8fcba11397b
This commit is contained in:
Frank Kloeker 2019-04-20 23:35:18 +02:00
parent 8f93489978
commit d4730fa60b
2 changed files with 20 additions and 20 deletions

View File

@ -64,7 +64,7 @@ The body of the PUT request is empty.
The template is as follows:
.. code:: json
.. code:: rest
PUT {endpoint}/queues/{queue_name}
@ -81,7 +81,7 @@ Following are examples of a Create Queue request and response:
-H "Accept: application/json" \
-H "X-Project-Id: "
.. code:: json
.. code:: rest
HTTP/1.1 201 Created
Content-Length: 0
@ -101,7 +101,7 @@ processing if needed.
The template is as follows:
.. code:: json
.. code:: rest
POST {endpoint}/queues/{queue_name}/messages
@ -161,7 +161,7 @@ The following are examples of a Post Message request and response:
-H "Accept: application/json" \
-H "X-Project-Id: "
.. code:: json
.. code:: rest
HTTP/1.1 201 Created
Content-Length: 153
@ -181,7 +181,7 @@ code.
The template is as follows:
.. code:: json
.. code-block:: rest
POST {endpoint}/queues/{queue_name}/claims{?limit}
Content-Type: application/json
@ -241,7 +241,7 @@ Following are examples of a Claim Messages request and response:
-H "Accept: application/json" \
-H "X-Project-Id: "
.. code:: http
.. code-block:: rest
HTTP/1.1 201 OK
Content-Length: 164
@ -267,7 +267,7 @@ The Delete Message operations deletes messages.
The template is as follows:
.. code:: http
.. code:: rest
DELETE {endpoint}/queues/{queue_name}/messages/{message_id}{?claim_id}
@ -292,7 +292,7 @@ Following are examples of a Delete Message request and response:
-H "Accept: application/json" \
-H "X-Project-Id: "
.. code:: http
.. code:: rest
HTTP/1.1 204 No Content
@ -305,7 +305,7 @@ other workers.
The template is as follows:
.. code:: http
.. code:: rest
DELETE {endpoint}/queues/{queue_name}/claims/{claim_id}
@ -325,7 +325,7 @@ Following are examples of a Release Claim request and response:
-H "Accept: application/json" \
-H "X-Project-Id: "
.. code:: http
.. code:: rest
HTTP/1.1 204 No Content
@ -337,7 +337,7 @@ existing messages.
The template is as follows:
.. code:: http
.. code:: rest
DELETE {endpoint}/queues/{queue_name}
@ -351,6 +351,6 @@ Following are examples of a Delete Queue request and response:
-H "Accept: application/json" \
-H "X-Project-Id: "
.. code:: http
.. code:: rest
HTTP/1.1 204 No Content

View File

@ -33,14 +33,14 @@ Webhook
.. code:: json
{
'_retry_policy': {
'retries_with_no_delay': <Integer value, optional>,
'minimum_delay_retries': <Integer value, optional>,
'minimum_delay': <Interger value, optional>,
'maximum_delay': <Interger value, optional>,
'maximum_delay_retries': <Integer value, optional>,
'retry_backoff_function': <String value, optional>,
'ignore_subscription_override': <Bool value, optional>}
"_retry_policy": {
"retries_with_no_delay": "<Integer value, optional>",
"minimum_delay_retries": "<Integer value, optional>",
"minimum_delay": "<Interger value, optional>",
"maximum_delay": "<Interger value, optional>",
"maximum_delay_retries": "<Integer value, optional>",
"retry_backoff_function": "<String value, optional>",
"ignore_subscription_override": "<Bool value, optional>"}
}
- 'minimum_delay' and 'maximum_delay' mean delay time in seconds.