Storyden
Posts

Post Location Get

Locate a post just from its ID. This will tell you what kind of post it is and where to find it. Where "a post is" is simple for threads, just the slug. For replies, it will give you the thread slug and the position within the thread: the index, the page and the position on the page.

Locate a post just from its ID. This will tell you what kind of post it is and where to find it. Where "a post is" is simple for threads, just the slug. For replies, it will give you the thread slug and the position within the thread: the index, the page and the position on the page.

GET/posts/location
storyden-session<token>

In: cookie

Query Parameters

id*string

The post ID to locate

Formatxid

Response Body

application/json

application/json

curl -X GET "https://loading/api/posts/location?id=cc5lnd2s1s4652adtu50"
{
  "slug": "string",
  "kind": "thread",
  "index": 0,
  "page": 0,
  "position": 0
}
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}