- URL:
- https://[root]/community/groups/[groupID]/categorySchema
- Methods:
GET
Example usage
The following is a sample ArcGIS Online request URL used to access the category
resource:
https://www.arcgis.com/sharing/rest/community/groups/826ab72ed44c48beb8735c2634e0bfad/categorySchema?f=pjson
The following is a sample ArcGIS Enterprise request URL used to access the category
resource:
https://machine.domain.com/webadaptor/sharing/rest/community/groups/826ab72ed44c48beb8735c2634e0bfad/categorySchema?f=pjson
Description
The category
resource returns a group's currently configured category schema. The category schema represents the content categories for the organization, which acts as a hierarchical set of classes to help organize and browse items.
Request parameters
Parameter | Details |
---|---|
| The response format. The default format is Values: |
Response properties
Property | Details |
---|---|
| A JSON object that consists of a JSON array representing the top level categories. Each category object has Example
|
JSON Response syntax
{
"categorySchema": [
{
"title": "<root category title>",
"description": "<root category description>",
"categories": [
{
"title": "<parent category title>",
"description": "<parent category description>",
"categories": [
{
"title": "<child category title>",
"description": "<child category description>",
"categories": [
{
"title": "<grandchild category title>",
"description": "<grandchild category description>"
}
....
]
}
....
]
}
....
]
}
....
]
}
JSON Response example
{
"categorySchema": [
{
"title": "Categories",
"categories": [
{
"title": "Basemaps",
"categories": [
{
"title": "Partner Basemap"
},
{
"title": "Esri Basemaps",
"categories": [
{
"title": "Esri Raster Basemap"
},
{
"title": "Esri Vector Basemap"
}
]
}
]
},
{
"title": "Imagery",
"categories": [
{
"title": "Multispectral Imagery"
},
{
"title": "Temporal Imagery"
}
]
}
]
},
{
"title": "Region",
"categories": [
{
"title": "US"
},
{
"title": "World"
}
]
}
]
}