@@ -8,7 +8,7 @@ This guide provides an overview of how one can interact with the REST API. For
88detailed information on type and response format of the various resources
99exposed by the API, refer to the web browsable API. This can be found at:
1010
11- https://patchwork.example.com/api/1.3 /
11+ https://patchwork.example.com/api/1.4 /
1212
1313where `patchwork.example.com ` refers to the URL of your Patchwork instance.
1414
@@ -40,7 +40,7 @@ If all you want is reference guides, skip straight to :ref:`rest-api-schemas`.
4040
4141.. versionchanged :: 3.1
4242
43- The API version was bumped to v1.3 in Patchwork v3.1. The older APIs are
43+ The API version was bumped to v1.4 in Patchwork v3.1. The older APIs are
4444 still supported. For more information, refer to :ref: `rest-api-versions `.
4545
4646Getting Started
@@ -57,16 +57,16 @@ Patchwork instance hosted at `patchwork.example.com`, run:
5757
5858.. code-block :: shell
5959
60- $ curl -s ' https://patchwork.example.com/api/1.3 /' | python -m json.tool
60+ $ curl -s ' https://patchwork.example.com/api/1.4 /' | python -m json.tool
6161 {
62- " bundles" : " https://patchwork.example.com/api/1.3 /bundles/" ,
63- " covers" : " https://patchwork.example.com/api/1.3 /covers/" ,
64- " events" : " https://patchwork.example.com/api/1.3 /events/" ,
65- " patches" : " https://patchwork.example.com/api/1.3 /patches/" ,
66- " people" : " https://patchwork.example.com/api/1.3 /people/" ,
67- " projects" : " https://patchwork.example.com/api/1.3 /projects/" ,
68- " series" : " https://patchwork.example.com/api/1.3 /series/" ,
69- " users" : " https://patchwork.example.com/api/1.3 /users/"
62+ " bundles" : " https://patchwork.example.com/api/1.4 /bundles/" ,
63+ " covers" : " https://patchwork.example.com/api/1.4 /covers/" ,
64+ " events" : " https://patchwork.example.com/api/1.4 /events/" ,
65+ " patches" : " https://patchwork.example.com/api/1.4 /patches/" ,
66+ " people" : " https://patchwork.example.com/api/1.4 /people/" ,
67+ " projects" : " https://patchwork.example.com/api/1.4 /projects/" ,
68+ " series" : " https://patchwork.example.com/api/1.4 /series/" ,
69+ " users" : " https://patchwork.example.com/api/1.4 /users/"
7070 }
7171
7272
@@ -79,17 +79,17 @@ well-supported. To repeat the above example using `requests`:, run
7979 $ python
8080 >>> import json
8181 >>> import requests
82- >>> r = requests.get('https://patchwork.example.com/api/1.3 /')
82+ >>> r = requests.get('https://patchwork.example.com/api/1.4 /')
8383 >>> print(json.dumps(r.json(), indent=2))
8484 {
85- "bundles": "https://patchwork.example.com/api/1.3 /bundles/",
86- "covers": "https://patchwork.example.com/api/1.3 /covers/",
87- "events": "https://patchwork.example.com/api/1.3 /events/",
88- "patches": "https://patchwork.example.com/api/1.3 /patches/",
89- "people": "https://patchwork.example.com/api/1.3 /people/",
90- "projects": "https://patchwork.example.com/api/1.3 /projects/",
91- "series": "https://patchwork.example.com/api/1.3 /series/",
92- "users": "https://patchwork.example.com/api/1.3 /users/"
85+ "bundles": "https://patchwork.example.com/api/1.4 /bundles/",
86+ "covers": "https://patchwork.example.com/api/1.4 /covers/",
87+ "events": "https://patchwork.example.com/api/1.4 /events/",
88+ "patches": "https://patchwork.example.com/api/1.4 /patches/",
89+ "people": "https://patchwork.example.com/api/1.4 /people/",
90+ "projects": "https://patchwork.example.com/api/1.4 /projects/",
91+ "series": "https://patchwork.example.com/api/1.4 /series/",
92+ "users": "https://patchwork.example.com/api/1.4 /users/"
9393 }
9494
9595 Tools like `curl ` and libraries like `requests ` can be used to build anything
@@ -108,7 +108,7 @@ Versioning
108108----------
109109
110110By default, all requests will receive the latest version of the API: currently
111- ``1.3 ``:
111+ ``1.4 ``:
112112
113113.. code-block :: http
114114
@@ -119,7 +119,7 @@ changes breaking your application:
119119
120120.. code-block :: http
121121
122- GET /api/1.3 HTTP/1.1
122+ GET /api/1.4 HTTP/1.1
123123
124124 Older API versions will be deprecated and removed over time. For more
125125information, refer to :ref: `rest-api-versions `.
@@ -275,6 +275,7 @@ Supported Versions
275275 1.1, 2.1, ✓
276276 1.2, 2.2, ✓
277277 1.3, 3.1, ✓
278+ 1.4, 3.1, ✓
278279
279280Further information about this and more can typically be found in
280281:doc: `the release notes </releases/index >`.
@@ -292,6 +293,7 @@ Auto-generated schema documentation is provided below.
292293 /api/rest/schemas/v1.1
293294 /api/rest/schemas/v1.2
294295 /api/rest/schemas/v1.3
296+ /api/rest/schemas/v1.4
295297
296298.. Links
297299
0 commit comments