From d4730fa60b110d940e0276f64b286689bd9f9af3 Mon Sep 17 00:00:00 2001 From: Frank Kloeker Date: Sat, 20 Apr 2019 23:35:18 +0200 Subject: [PATCH] Fix Sphinx formating errors Change-Id: I7504ec70f22dbbd014873fa64eaee8fcba11397b --- doc/source/user/headers_queue_api_working.rst | 24 +++++++++---------- .../user/notification_delivery_policy.rst | 16 ++++++------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/doc/source/user/headers_queue_api_working.rst b/doc/source/user/headers_queue_api_working.rst index c6eae9ef1..2d70693d5 100644 --- a/doc/source/user/headers_queue_api_working.rst +++ b/doc/source/user/headers_queue_api_working.rst @@ -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 diff --git a/doc/source/user/notification_delivery_policy.rst b/doc/source/user/notification_delivery_policy.rst index c6519346d..01a6a4fd9 100644 --- a/doc/source/user/notification_delivery_policy.rst +++ b/doc/source/user/notification_delivery_policy.rst @@ -33,14 +33,14 @@ Webhook .. code:: json { - '_retry_policy': { - 'retries_with_no_delay': , - 'minimum_delay_retries': , - 'minimum_delay': , - 'maximum_delay': , - 'maximum_delay_retries': , - 'retry_backoff_function': , - 'ignore_subscription_override': } + "_retry_policy": { + "retries_with_no_delay": "", + "minimum_delay_retries": "", + "minimum_delay": "", + "maximum_delay": "", + "maximum_delay_retries": "", + "retry_backoff_function": "", + "ignore_subscription_override": ""} } - 'minimum_delay' and 'maximum_delay' mean delay time in seconds.