Content class resources

Content class resources let you create, retrieve information about, modify, and delete content classes. These resources are not available for tenants that do not have search configuration enabled.

The tables below provide information about content class resources.

.../tenants/tenant-name/contentClasses

Data typeMethodUseAccessNotes
contentClassPUTCreate a content class for a tenant
  • For an HCP tenant, tenant-level user account with the administrator role
  • For the default tenant, system-level user account with the administrator role
ListGETRetrieve a list of the content classes for a tenant
  • For an HCP tenant, tenant-level user account with the monitor or administrator role
  • For the default tenant, system-level user account with the monitor or administrator role

The listed content classes are identified by content class name.

In XML, the element that identifies each content class is name. The root element for the list of content classes is contentClasses.

In JSON, the name in the name/value pair that lists the content classes is name.

.../tenants/tenant-name/contentClasses/content-class-name

Data typeMethodUseAccessNotes
contentClassGETRetrieve information about a content class
  • For an HCP tenant, tenant-level user account with the monitor or administrator role
  • For the default tenant, system-level user account with the monitor or administrator role
N/AHEADCheck for the existence of a content class
  • For an HCP tenant, tenant-level user account with the monitor or administrator role
  • For the default tenant, system-level user account with the monitor or administrator role
contentClassPOSTModify a content class
  • For an HCP tenant, tenant-level user account with the administrator role
  • For the default tenant, system-level user account with the administrator role
N/ADELETEDelete a content class
  • For an HCP tenant, tenant-level user account with the administrator role
  • For the default tenant, system-level user account with the administrator role
The content class cannot contain any content properties.