Skip To Content
ArcGIS Developer
Dashboard

/categorySchema: Group Category Schema

  • URL:https://[root]/community/groups/[groupID]/categorySchema

Example Usage

URL for Group Category Schema

https://www.arcgis.com/sharing/rest/community/groups/826ab72ed44c48beb8735c2634e0bfad/categorySchema

Description

Content category schema set on a group.

Request Parameters

ParameterDetails
[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails
categorySchema

A JSON object that consists of a JSON array representing the top level categories. Each category object has title, description and categories properties, categories consists of an array of objects with each having the same properties and represents the descendant or child categories and so on.

Example:

[
  {
    "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"}
    ]
  }
]

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"}
    ]
  }
]}