@@ -178,14 +178,19 @@ Status markers in the index APIs
178
178
179
179
This PEP defines version 1.4 of the index APIs.
180
180
181
+ All changes to the HTML and JSON simple indices below occur at the
182
+ per-project level, i.e. within each project's index response, rather than
183
+ the root index response. No root index response changes are proposed by this
184
+ PEP.
185
+
181
186
HTML index
182
187
~~~~~~~~~~
183
188
184
189
The following changes are made to the
185
190
:ref: `simple repository API <packaging:simple-repository-api-base >`:
186
191
187
- * The index **SHALL ** define the ``pypi:repository-version `` as ``1.4 ``.
188
- * The index **SHOULD ** add an appropriate ``pypi:project-status `` meta tag, with
192
+ * The per-project index **SHALL ** define the ``pypi:repository-version `` as ``1.4 ``.
193
+ * The per-project index **SHOULD ** add an appropriate ``pypi:project-status `` meta tag, with
189
194
a ``content `` of the project's status marker. The index **MAY ** choose to omit
190
195
the ``pypi:project-status `` meta tag if the project is marked as ``active ``.
191
196
@@ -216,8 +221,8 @@ JSON index
216
221
The following changes are made to the
217
222
:ref: `JSON simple index <packaging:simple-repository-api-json >`:
218
223
219
- * The index **SHALL ** define the ``meta.api-version `` as ``1.4 ``.
220
- * The index **SHOULD ** include a ``project-status `` key in the JSON response,
224
+ * The per-project index **SHALL ** define the ``meta.api-version `` as ``1.4 ``.
225
+ * The per-project index **SHOULD ** include a ``project-status `` key in the JSON response,
221
226
with a value of the project's status marker. The index **MAY ** choose to omit
222
227
the ``project-status `` key if the project is marked as ``active ``.
223
228
0 commit comments