plone.restapi/unify-expired-and-excluded-items-handling: Use glossary terms for status responses in locking docs.
Timo Stollenwerk <jenkins-z4DKO/[email protected]> Sat, 29 Jul 2017 16:32:19 -0700 (PDT)
| Newsgroups | gmane.comp.web.zope.plone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Repository: plone.restapi Branch: refs/heads/unify-expired-and-excluded-items-handling Date: 2017-07-28T07:20:10+02:00 Author: Timo Stollenwerk (tisto) <[email protected]> Commit: https://github.com/plone/plone.restapi/commit/6a05ac22a79be736f4fb07982e2867397636dd8d Use glossary terms for status responses in locking docs. Files changed: M docs/source/locking.rst diff --git a/docs/source/locking.rst b/docs/source/locking.rst index d585e4b6..02818e2d 100644 --- a/docs/source/locking.rst +++ b/docs/source/locking.rst @@ -46,7 +46,7 @@ To unlock an object send a POST request to the ``/@unlock`` endpoint. .. http:example:: curl httpie python-requests :request: _json/unlock.req -The server responds with status 200 (OK) and returns the lock information. +The server responds with status :term:`200 OK` and returns the lock information. .. literalinclude:: _json/unlock.resp :language: http @@ -60,7 +60,7 @@ An existing lock can be refreshed by sending a POST request to the ``@refresh-lo .. http:example:: curl httpie python-requests :request: _json/refresh_lock.req -The server responds with status 200 (OK) and returns the lock information containing the updated creation time. +The server responds with status :term:`200 OK` and returns the lock information containing the updated creation time. .. literalinclude:: _json/refresh_lock.resp :language: http @@ -75,7 +75,7 @@ you can send a GET request to the ``@lock`` endpoint. .. http:example:: curl httpie python-requests :request: _json/lock_get.req -The server responds with status 200 (OK) and returns the information about the lock. +The server responds with status :term:`200 OK` and returns the information about the lock. .. literalinclude:: _json/lock_get.resp :language: http ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot