Collections
Collection List
List all collections using the filtering options.
List all collections using the filtering options.
GET
/collectionsstoryden-session<token>
In: cookie
Query Parameters
account_handle?string
Account handle.
has_item?string
When specified, will include a field in the response indicating whether or not the specified item is present in the collection. This saves you needing to make two queries to check if an item is in a collection.
Format
xidResponse Body
curl -X GET "https://loading/api/collections?account_handle=southclaws&has_item=cc5lnd2s1s4652adtu50"{
"collections": [
{
"id": "cc5lnd2s1s4652adtu50",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"misc": {},
"name": "string",
"slug": "cc5lnd2s1s4652adtu50-top-10-movies-thread",
"description": "string",
"owner": {
"id": "cc5lnd2s1s4652adtu50",
"joined": "2019-08-24T14:15:22Z",
"suspended": "2019-08-24T14:15:22Z",
"handle": "Southclaws",
"name": "Barnaby Keene"
},
"item_count": 0,
"has_queried_item": true
}
]
}Empty
{
"error": "string",
"message": "string",
"suggested": "string",
"metadata": {}
}Collection Get GET GET
Get a collection by its ID. Collections can be public or private so the response will depend on which account is making the request and if the target collection is public, private, owned or not owned by the account.
Collection Remove Node DELETE DELETE
Remove a node from a collection. The collection must be owned by the account making the request.