x402
Retrieve a Private File
Retrieves a private file from IPFS by its CID
GET
Cost
Price | Duration |
---|---|
$0.0001 | Per request |
Example Usage
If you upload a file as private
then it will not be accessible on public IPFS, so in order to access it you need to create a temporary access URL. This flow is similar to the previous one, except you would provide the CID that you uploded previously that you would like to access. After a successful payment the server will return a URL you can access the file with.
Authorizations
Base64 encoded x402 payment payload
Path Parameters
Content Identifier (CID) of the file
Response
200
application/json
Successful operation
The response is of type object
.