From b9e447c874aaa43f2f113cb07b1f3091e1e1495d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Tue, 21 Jun 2016 16:30:03 +0200 Subject: [PATCH] Don't use JSON code blocks, pagure.io doesn't play well with them MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Ĺ abata --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 4804b5b7..cefb6cec 100644 --- a/README.rst +++ b/README.rst @@ -29,7 +29,7 @@ Module submission is done via posting the modulemd SCM URL. POST /rida/module-builds/ -.. code:: json +:: { "scmurl": "git://pkgs.fedoraproject.org/modules/foo.git/foo.yaml#f1d2d2f924e986ac86fdf7b36c94bcdf32beec15 @@ -41,7 +41,7 @@ The response, in case of a successful submission, would include the task ID. HTTP 201 Created -.. code:: json +:: { id: 42 @@ -64,7 +64,7 @@ about the build task. HTTP 200 OK -.. code:: json +:: { "id": 42, @@ -94,7 +94,7 @@ The list of all tracked builds and their states can be obtained by querying the HTTP 200 OK -.. code:: json +:: [ {