Storyden
Collections

Collection List

List all collections using the filtering options.

List all collections using the filtering options.

GET/collections
storyden-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.

Formatxid

Response 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": {}
}