You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the server does not support Trusted Publishing for the given
163
161
upload URL, it **MUST** respond with a ``404 Not Found`` status code.
@@ -170,7 +168,7 @@ error code in the 400 or 500 range to indicate an error condition.
170
168
171
169
Non-``200 OK``, non-``404 Not Found`` responses **MAY** include a body which,
172
170
if present, **MUST** be a JSON object containing an
173
-
:ref:`Error Response<error-responses>`.
171
+
`Error Response`_.
174
172
175
173
.. _token-exchange:
176
174
@@ -229,7 +227,7 @@ an HTTP POST request to the *mint token endpoint* obtained during
229
227
:ref:`discovery <discovery>`.
230
228
231
229
On success, the server responds with a ``200 OK`` status code and a body
232
-
containing a JSON object with the following field:
230
+
containing a JSON object with the following fields:
233
231
234
232
- ``token``: a string containing the upload credential. The format
235
233
of the upload credential is implementation-defined and index-specific.
@@ -314,8 +312,10 @@ has been accompanied by a variety of educational resources on
314
312
adopting Trusted Publishing as an end user, including:
315
313
316
314
* Python Packaging User Guide: :ref:`packaging:trusted-publishing`
317
-
* PyPI: `Publishing to PyPI with a Trusted Publisher <https://docs.pypi.org/trusted-publishers/>`_
318
-
* pyOpenSci: `Setup Trusted Publishing for secure and automated publishing via GitHub Actions <https://www.pyopensci.org/python-package-guide/tutorials/trusted-publishing.html>`_
315
+
* PyPI: `Publishing to PyPI with a Trusted Publisher
316
+
<https://docs.pypi.org/trusted-publishers/>`__
317
+
* pyOpenSci: `Setup Trusted Publishing for secure and automated publishing via GitHub Actions
0 commit comments