README.rst: Unwind 'If ..., returns a 404' -> 'Returns a 404 if ...'
[nmhive.git] / README.rst
index 79c248687bd18a04166ce7d477ca599269021b66..c5225960bd6780bf4723ffcea2d17690969775d2 100644 (file)
@@ -53,8 +53,7 @@ bookmarklet (or other tools):
 
 ``GET /mid/<message-id>``
   Returns tags associated with a particular message as a JSON array.
-  If the given Message-ID isn't in the notmuch database, returns
-  a 404.
+  Returns a 404 if the given Message-ID isn't in the notmuch database.
 
 ``POST /mid/<message-id>``
   Updates the tags associated with a particular message.  The posted
@@ -65,14 +64,14 @@ bookmarklet (or other tools):
     $ curl -XPOST -H 'Content-Type: application/json' -d '["+obsolete", "-needs-review"]' http://localhost:5000/mid/e630b6763e9d0771718afee41ea15b29bb4a1de8.1409935538.git.wking@tremily.us
     ["obsolete", "patch"]
 
-       Adding an already associated tag and removing an already
-       unassociated tag are both no-ops.  Returns the updated tags as a
-       JSON array.  If the given Message-ID isn't in the notmuch database,
-       returns a 404.
+  Adding an already associated tag and removing an already
+  unassociated tag are both no-ops.  Returns the updated tags as a
+  JSON array.  Returns a 404 if the given Message-ID isn't in the
+  notmuch database.
 
 ``GET /gmane/<group>/<article>``
-  Returns the article's Message-ID at ``text/plain``.  For example to
-  get the ``Message-ID`` of `this article`__ is::
+  Returns the article's Message-ID as ``text/plain``.  For example,
+  get the ``Message-ID`` of `this article`__ with::
 
     $ curl -XGET http://localhost:5000/gmane/gmane.mail.notmuch.general/19007
     e630b6763e9d0771718afee41ea15b29bb4a1de8.1409935538.git.wking@tremily.us