GET v1/pages/{environment}/{orgId}/categories
This method returns all categories associated to an organization. Categories are shared across organization.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| environment |
Environment where the org originated from. |
string |
Required |
| orgId |
Organization Id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns a collection of page categories.
Collection of PageCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Page Category Unique Identifier |
string |
None. |
| text |
Category name. |
string |
None. |
| default |
True if this category should be use as the default category for all new pages created. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "sample string 1",
"text": "sample string 2",
"default": true
},
{
"id": "sample string 1",
"text": "sample string 2",
"default": true
}
]
