Pinata integration (Developer Tools, Storage). Imported from open-connector.
https://api.pinata.cloud/files/{network}
| Param | Type | Required | Description |
|---|---|---|---|
| network | string | required | The Pinata IPFS network to target. |
| name | string | optional | Filter files by name. |
| group | string | optional | Filter files by group ID. Use the string null to show files outside groups. |
| mimeType | string | optional | Filter files by MIME type. |
| cid | string | optional | Filter files by CID. |
| cidPending | boolean | optional | Return only files that are still waiting for a CID. |
| metadata | object | optional | Pinata key-value metadata. Values are sent as strings. |
| limit | integer | optional | Limit the number of results returned by Pinata. |
| order | string | optional | Sort results by creation date. |
| pageToken | string | optional | Pagination token returned by a previous Pinata response. |
/files/{network}/{id}
| Param | Type | Required | Description |
|---|---|---|---|
| network | string | required | The Pinata IPFS network to target. |
| id | string | required | The Pinata file or group identifier. |
/files/{network}/{id}
| Param | Type | Required | Description |
|---|---|---|---|
| network | string | required | The Pinata IPFS network to target. |
| id | string | required | The Pinata file or group identifier. |
| name | string | optional | The updated file name. |
| keyvalues | object | optional | Pinata key-value metadata. Values are sent as strings. |
/files/{network}/{id}
| Param | Type | Required | Description |
|---|---|---|---|
| network | string | required | The Pinata IPFS network to target. |
| id | string | required | The Pinata file or group identifier. |
/files/public/pin_by_cid
| Param | Type | Required | Description |
|---|---|---|---|
| order | string | optional | Sort results by queue time. |
| status | string | optional | Filter pin requests by Pinata status. |
| cid | string | optional | Filter pin requests by CID. |
| limit | integer | optional | Limit the number of results returned by Pinata. |
| pageToken | string | optional | Pagination token returned by a previous Pinata response. |
/groups/{network}
| Param | Type | Required | Description |
|---|---|---|---|
| network | string | required | The Pinata IPFS network to target. |
| name | string | optional | Filter groups by name. |
| isPublic | boolean | optional | Filter groups by public visibility. |
| limit | integer | optional | Limit the number of groups returned by Pinata. |
| pageToken | string | optional | Pagination token returned by a previous Pinata response. |
/groups/{network}/{groupId}
| Param | Type | Required | Description |
|---|---|---|---|
| network | string | required | The Pinata IPFS network to target. |
| id | string | optional | The Pinata file or group identifier. |
| groupId | string | required | Path parameter: groupId |
/groups/{network}/{groupId}
| Param | Type | Required | Description |
|---|---|---|---|
| network | string | required | The Pinata IPFS network to target. |
| groupId | string | required | The Pinata file or group identifier. |
| fileId | string | optional | The Pinata file or group identifier. |
/groups/{network}/{groupId}
| Param | Type | Required | Description |
|---|---|---|---|
| network | string | required | The Pinata IPFS network to target. |
| groupId | string | required | The Pinata file or group identifier. |
| fileId | string | optional | The Pinata file or group identifier. |