/categorySchema: Group Category Schema

URL:
https://[root]/community/groups/[groupID]/categorySchema
Methods:
GET

Example usage

The following is a sample ArcGIS Online request URL used to access the categorySchema resource:

1
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 categorySchema resource:

1
https://machine.domain.com/webadaptor/sharing/rest/community/groups/826ab72ed44c48beb8735c2634e0bfad/categorySchema?f=pjson

Description

The categorySchema 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

ParameterDetails

f

The response format. The default format is html .

Values: html | json | pjson

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, where categories consists of an array of objects with each having the same properties and represents the descendant or child categories and so on.

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
  "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"
      }
    ]
  }
]
}

JSON Response syntax

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  "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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
  "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"
        }
      ]
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close