/api/file/{hash}
GET
Serve file with hash.
| property | value |
|---|---|
| authorization required | false |
| range requests supported | true |
Parameters
| parameter | type | description |
|---|---|---|
hash | hash | Hash of the file. |
Response Body
The contents of a file.
PUT
Upload file with hash.
| property | value |
|---|---|
| authorization required | true |
| range requests supported | false |
Parameters
| parameter | type | description |
|---|---|---|
hash | hash | Hash of the file. |
Request Body
An arbitrary byte string.