``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
$ 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