Skip to content

Commit b47d097

Browse files
authored
PEP 807: document token minting request body (#4615)
1 parent 2556771 commit b47d097

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

peps/pep-0807.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,11 @@ proceed to mint an upload credential.
249249

250250
To mint an upload credential, the uploading client performs
251251
an HTTP POST request to the *token minting endpoint* obtained during
252-
`discovery <Trusted Publishing Discovery_>`__.
252+
`discovery <Trusted Publishing Discovery_>`__. The payload of the
253+
POST request **MUST** be a JSON object containing the following:
254+
255+
- ``token``: a string containing the identity credential
256+
obtained from the Trusted Publishing provider.
253257

254258
On success, the server responds with a ``200 OK`` status code and a body
255259
containing a JSON object with the following fields:

0 commit comments

Comments
 (0)