Get a single IPFS block
Changed onpost/block/get
Request
- Base URL/api/v0 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v0/block/get
- Authnone declared
Query parameters
argstring required
CID of block
timeoutstring
Max duration (as Go duration string) to wait to find the block
offlineunknown
When true the peer will not consult other peers for the block, defaults to false.
Response
success
Changes
- info
added the new optional
queryrequest parameteroffline
- info