Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

/api/revision/{revision}

POST

Verify uploaded revision and assign it a package number.

propertyvalue
authorization requiredtrue
range requests supportedfalse

Parameters

parametertypedescription
revisionrevisionRevision of the uploaded package.

Request Body

A deco-encoded struct of at most 1048576 bytes:

nfieldtypeoptionaldescription
1modeModefalseHow the uploaded package relates to existing packages.

Response Body

A deco-encoded struct:

nfieldtypeoptionaldescription
1numberUnsignedIntegerfalseNumber assigned to the uploaded package.