Paper Endpoint

Fetches one paper by id or slug.

Request

GET /dev/paper?id=<paper-id>
GET /dev/paper?slug=<paper-slug>
x-api-key: <your-api-key>

Pass exactly one of id or slug.

Success response - 200

type DevPaperResponse = {
  paper: DevPaper
}

Example canonical field

Typical metadata canonical in response uses the public paper pattern:

https://whitepapper.antk.in/{username}/{paper-slug}

Error responses

StatusMeaning
400Both or neither id/slug supplied
401Missing or invalid API key
403Inactive key or cross-project paper
404Paper not found
429Monthly usage limit exceeded

Whitepapper

Whitepapper is an API first CMS engine for devs who publish content.

Antk i n