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 table below provides information about content class resources.

Data type

Method

Use

Access

Notes

.../tenants/tenant-name/contentClasses

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

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.

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.