/coolapk/posts

POST /api/coolapk/posts

Price: 10 credits

Get a Coolapk community article (feed) by its id

How to use it

One Coolapk community post in full, by feed id or by a coolapk.com/feed/<id> URL, share token and all. Two shapes come back through the same fields: long articles, which carry a title, and photo or short posts, which have no title at all — both give the body as plain text and as HTML plus the inline image URLs, so a null title means a short post rather than a parsing failure. The post's age arrives as the source displays it, either a short Chinese date such as '8月4日' or a relative one such as '昨天' or '4天前', so read it as free text; created_at carries the exact moment in unix seconds. Long articles carry comments: up to 5 top comments (is_hot true) followed by up to 10 of the most recent ones, each with its first replies nested in replies, while reply_count carries the full total; short posts return an empty comments list. Feed ids come from coolapk/posts/editor-picks and coolapk/posts/official-reviews; an id that does not exist answers 412.

Parameters

Request body

Response

Errors

Response headers