Return information about revision.
| property | value |
| authorization required | false |
| range requests supported | false |
| parameter | type | description |
revision | revision hash | Hash of the uploaded revision. |
A deco-encoded struct:
| n | field | type | optional | description |
| 1 | numbers | a sorted set of UnsignedInteger | false | Numbers of the packages whose head is the revision. |
| 2 | signatures | a sorted set of Hash | false | Hashes of the signatures over the revision. |
Verify uploaded revision and assign it a package number.
| property | value |
| authorization required | true |
| range requests supported | false |
| parameter | type | description |
revision | revision hash | Hash of the uploaded revision. |
A deco-encoded struct of at most 1048576 bytes:
| n | field | type | optional | description |
| 1 | mode | Mode | false | How the uploaded package relates to existing packages. |
A deco-encoded struct:
| n | field | type | optional | description |
| 1 | number | UnsignedInteger | false | Number assigned to the uploaded package. |