@@ -197,7 +197,7 @@ Non-``200 OK``, non-``404 Not Found`` responses **MAY** include a body which,
197197if present, **MUST ** be a JSON object containing an
198198`Error Response <Error Responses >`_.
199199
200- .. _ token -exchange :
200+ .. _ pep807-token -exchange :
201201
202202Trusted Publishing Token Exchange
203203---------------------------------
@@ -220,7 +220,7 @@ Token exchange occurs in three steps:
220220 for a short-lived *upload credential * that can be used to upload
221221 to the index.
222222
223- .. _ audience -retrieval :
223+ .. _ pep807-audience -retrieval :
224224
225225Audience Retrieval
226226~~~~~~~~~~~~~~~~~~
@@ -238,15 +238,15 @@ On failure, the server **MUST** respond with any standard HTTP
238238error code in the 400 or 500 range to indicate an error condition.
239239Failure responses **MAY ** include a body which, if present,
240240**MUST ** be a JSON object containing an
241- :ref: `Error Response <error-responses >`.
241+ :ref: `Error Response <pep807- error-responses >`.
242242
243243.. _token-minting :
244244
245245Token Minting
246246~~~~~~~~~~~~~
247247
248248After the uploading client has performed
249- :ref: `audience retrieval <audience-retrieval >` and obtained an
249+ :ref: `audience retrieval <pep807- audience-retrieval >` and obtained an
250250identity credential from the Trusted Publishing provider, it can
251251proceed to mint an upload credential.
252252
@@ -278,9 +278,9 @@ containing a JSON object with the following fields:
278278On failure, the server **MUST ** respond with any standard HTTP
279279error code in the 400 or 500 range to indicate an error condition.
280280Failure responses **MUST ** include a body which, if present,
281- **MUST ** be a JSON object containing an :ref: `Error Response <error-responses >`.
281+ **MUST ** be a JSON object containing an :ref: `Error Response <pep807- error-responses >`.
282282
283- .. _ error -responses :
283+ .. _ pep807-error -responses :
284284
285285Error Responses
286286---------------
0 commit comments