Collection Endpoint

Fetches one collection and its papers.

Request

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

Pass exactly one of id or slug.

Success response - 200

type DevCollectionResponse = {
  collection: DevCollection
  papers: DevPaper[]
}

Error responses

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

Whitepapper

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

Antk i n