GET api/categories/OnContentSet/{isOnContentSet}

Get Categories <param name="isOnContentSet">Turn On to use ContentSet options</param>

Request Information

URI Parameters

NameDescriptionTypeAdditional information
isOnContentSet

boolean

Required

Body Parameters

None.

Response Information

NameDescriptionTypeAdditional information
Items

Primary Categories

Collection of PrimaryCategoryItem

None.

Response Formats

application/json, text/json

Sample:
{
  "items": [
    {
      "items": [
        {
          "id": 1,
          "name": "sample string 2",
          "count": 3
        },
        {
          "id": 1,
          "name": "sample string 2",
          "count": 3
        }
      ],
      "id": 1,
      "name": "sample string 2",
      "count": 3
    },
    {
      "items": [
        {
          "id": 1,
          "name": "sample string 2",
          "count": 3
        },
        {
          "id": 1,
          "name": "sample string 2",
          "count": 3
        }
      ],
      "id": 1,
      "name": "sample string 2",
      "count": 3
    }
  ]
}