comments (api key)

Approved comments, for one page or the whole directory

Any valid key — no scope required, since these are published content.

Returns approved comments only; there is no parameter that can surface pending, rejected or spam rows. Each row carries exactly id, path, authorName, body, createdAt, reply, replyAuthor and repliedAt. Submitter email and abuse metadata are never exposed here. There is no rating.

Pass path for one page (normalised exactly as on write, so /Herbs/Ginger?x=1 finds /herbs/ginger/). Omit it to get every approved comment in the directory — what a static build should do: page through once with limit=200 and group by path.

Ordered oldest first (createdAt, then id) — conversation order.

get/public/v1/directories/{directory}/comments

Request

  • Base URL: https://api.epicdirectories.com
  • URL: https://api.epicdirectories.com/public/v1/directories/{directory}/comments
  • Auth: API key in header x-api-key

Path parameters

directorystring required

Query parameters

pathstring

One page, e.g. /herbs/ginger/

limitstring

Default 50, max 200

offsetstring

Response

{ data, pagination: { total, limit, offset, hasMore } }

Changes

No recorded changes to this operation across all 1 revision of this API.