List category posts

List all the posts associated to a category.

GET
/sites/{siteId}/category/{categoryId}/posts
Authorization<token>

API key authentication.

--header 'Authorization: Bearer <VOIDFULL_API_KEY>'

In: header

Path Parameters

siteIdstring

The ID of the site

categoryIdstring

The ID of the category

Response Body

curl -X GET "https://api.app.voidfull.com/api/v1/sites/string/category/string/posts"
{
  "posts": [
    {
      "id": "string",
      "title": "string",
      "slug": "string",
      "contentMarkdown": "string",
      "content": "string",
      "featureImage": "string",
      "publishedAt": "2019-08-24T14:15:22Z",
      "timeToRead": 10,
      "excerpt": "string",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}