.. versionadded:: 2.0
The REST API was introduced in Patchwork v2.0. Users of earlier Patchwork
- versions should instead refer to :doc:`XML-RPC API <xmlrpc>` documentation.
+ versions should instead refer to :doc:`XML-RPC API </api/xmlrpc>`
+ documentation.
.. versionchanged:: 2.1
Tools like `curl` and libraries like `requests` can be used to build anything
from small utilities to full-fledged clients targeting the REST API. For an
-overview of existing API clients, refer to :doc:`../usage/clients`.
+overview of existing API clients, refer to :doc:`/usage/clients`.
.. tip::
While you can do a lot with existing installations, it's possible that you
might not have access to all resources or may not wish to modify any
existing resources. In this case, it might be better to :doc:`deploy your
- own instance of Patchwork locally <../development/installation>` and
+ own instance of Patchwork locally </development/installation>` and
experiment with that instead.
Versioning
.. deprecated:: 2.0
The XML-RPC API is a legacy API and has been deprecated in favour of the
- :doc:`REST API <rest>`. It will be removed in Patchwork 3.0.
+ :doc:`REST API <rest/index>`. It will be removed in Patchwork 3.0.
Getting Started
---------------
Using the APIs
==============
-Patchwork provides two APIs: the legacy :doc:`XML-RPC API <../api/xmlrpc>` and
-the :doc:`REST API <../api/rest>`. You can use these APIs to interact with
+Patchwork provides two APIs: the legacy :doc:`XML-RPC API </api/xmlrpc>` and
+the :doc:`REST API </api/rest/index>`. You can use these APIs to interact with
Patchwork programmatically and to develop your own clients.
For quick usage examples of the APIs, refer to the :doc:`documentation
<../api/index>`. For examples of existing clients, refer to
-:doc:`../usage/clients`.
+:doc:`/usage/clients`.