List pinned objects
GET /ipfs/pin/list
List objects pinned to local storage
Hosted Endpoint only available for hosted variant.
Request
Query Parameters
Possible values: >= 1
and <= 100
Default value: 100
The number of results displayed on one page.
Possible values: >= 1
and <= 21474836
Default value: 1
The page number for listing the results.
Possible values: [asc
, desc
]
Default value: asc
The ordering of items from the point of view of the blockchain, not the page listing itself. By default, we return oldest first, newest last.
- 200
- 400
- 403
- 404
- 418
- 429
- 500
Returns pinned objects
Schema
- Array [
- ]
Creation time of the IPFS object on our backends
Pin time of the IPFS object on our backends
IPFS hash of the pinned object
Size of the object in Bytes
Possible values: [queued|pinned|unpinned|failed|gc
]
State of the pinned object, which is queued
when we are retriving object. If this
is successful the state is changed to pinned
or failed
if not. The state gc
means the
pinned item has been garbage collected due to account being over storage quota or after it has
been moved to unpinned
state by removing the object pin.
[
{
"time_created": 1615551024,
"time_pinned": 1615551024,
"ipfs_hash": "QmdVMnULrY95mth2XkwjxDtMHvzuzmvUPTotKE1tgqKbCx",
"size": "1615551024",
"state": "pinned"
}
]
Bad request
Schema
{
"status_code": 400,
"error": "Bad Request",
"message": "Backend did not understand your request."
}
Authentication secret is missing or invalid
Schema
{
"status_code": 403,
"error": "Forbidden",
"message": "Invalid project token."
}
Component not found
Schema
{
"status_code": 404,
"error": "Not Found",
"message": "The requested component has not been found."
}
IP has been auto-banned for extensive sending of requests after usage limit has been reached
Schema
{
"status_code": 418,
"error": "Requested Banned",
"message": "IP has been auto-banned for flooding."
}
Usage limit reached
Schema
{
"status_code": 429,
"error": "Project Over Limit",
"message": "Usage is over limit."
}
Internal Server Error
Schema
{
"status_code": 500,
"error": "Internal Server Error",
"message": "An unexpected response was received from the backend."
}