-
Notifications
You must be signed in to change notification settings - Fork 0
API Standard
Sachin Avutu edited this page Feb 28, 2026
·
18 revisions
-
GET /v1/authorsreturns a paginated list of all authors- Parameters
-
limit: int-- limits the results to the topnauthors offset: int-
sort_by: string-- name -
sort_direction: string-- asc, desc (alphabetic) -
article_id: int-- search for an author by an article that they've written
-
- Parameters
-
POST /v1/authorscreate new author object -
GET /v1/authors/{id}returns a specific author -
PUT /v1/authors/{id}replace author object -
PATCH /v1/authors/{id}update author object -
DELETE /v1/authors/{id}delete author object -
GET /v1/authors/{id}/articlesreturns a paginated list of articles written by an author with optional params- Parameters
-
limit: int-- limit the results to the topnarticles offset: int-
section: string-- filter by section (includes all subsections) -
subsection: string-- filter by subsection (takes precedence over section) -
sort_by: string-- updated_at, published_at, title -
sort_direction: string-- asc, desc -
status: string-- draft, published
-
- Parameters
-
GET /v1/articlesreturns a paginated list of articles with optional params- Parameters
-
limit: int-- limit the results to the topnarticles offset: int-
section: string-- filter by section (includes all subsections) -
subsection: string-- filter by subsection (takes precedence over section) -
sort_by: string-- updated_at, published_at, title -
sort_direction: string-- asc, desc -
author_id: int-- filter by author -
status: string-- draft, published
-
- Parameters
-
GET /v1/articles/{id}get article object -
POST /v1/articlescreate article object -
PUT /v1/articles/{id}replace article object -
PATCH /v1/articles/{id}update article object -
DELETE /v1/articles/{id}delete article object
Ignore this for now