Content class resources

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

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 type Method Use Access Notes
contentClass PUT Create 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
List GET Retrieve 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 type Method Use Access Notes
contentClass GET Retrieve 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/A HEAD Check 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
contentClass POST Modify 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/A DELETE Delete 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.