List all categories

List all categories.

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

API key authentication.

--header 'Authorization: Bearer <VOIDFULL_API_KEY>'

In: header

Path Parameters

siteIdstring

The ID of the site

Response Body

curl -X GET "https://api.app.voidfull.com/api/v1/sites/string/category"
{
  "categories": [
    {
      "id": "string",
      "name": "string",
      "slug": "string",
      "description": "string",
      "icon": "string",
      "parentId": "string",
      "status": "active",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "pageInfo": {
    "hasNextPage": false,
    "startCursor": "string",
    "endCursor": "string",
    "totalCount": 20
  }
}