v1

latestOpenAPI 3.1.02026-07-13305453.8 KB
Authors

List authors

Get a paginated list of authors who have published posts

get/v1/authors

Query parameters

limitinteger

Number of items per page (1-100)

Number of items per page (1-100)

pageinteger

Page number

Page number

Response

Paginated list of authors

Example response

{
  "authors": [
    {
      "id": "cryitfjp3456lm06xfpzcgl0",
      "name": "John Doe",
      "image": "https://media.marblecms.com/avatar.jpg",
      "slug": "john-doe",
      "bio": "Technical writer and developer",
      "role": "Editor",
      "socials": [
        {
          "url": "https://twitter.com/johndoe",
          "platform": "twitter"
        }
      ],
      "count": {
        "posts": 12
      }
    }
  ],
  "pagination": {
    "limit": 10,
    "currentPage": 1,
    "nextPage": 2,
    "totalPages": 5,
    "totalItems": 42
  }
}