All URIs are relative to https://cardano-mainnet.blockfrost.io/api/v0
Method | HTTP request | Description |
---|---|---|
callGet | GET /ipfs/gateway/{IPFS_path} | Relay to an IPFS gateway |
open class func callGet(iPFSPath: String, completion: @escaping (_ data: Void?, _ error: Error?) -> Void)
Relay to an IPFS gateway
Retrieve an object from the IFPS gateway (useful if you do not want to rely on a public gateway, such as ipfs.blockfrost.dev
).
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import BlockfrostSwift
let iPFSPath = "iPFSPath_example" // String |
// Relay to an IPFS gateway
IPFSGatewayAPI.callGet(iPFSPath: iPFSPath) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
iPFSPath | String |
Void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]