Content Types REST Endpoints
Content (IM)/Content Types
The Content Types (contentTypes) resource lets you view Content Types in the Oracle Knowledge Repository. You cannot create or update the content type, because Oracle Knowledge Management Console manages the resource.
- Find all
- Method: getPath:
/km/api/v1/contentTypes
- Find by ID
- Method: getPath:
/km/api/v1/contentTypes/{id}
- Find content schema attributes
- Method: getPath:
/km/api/v1/contentTypes/{contentTypeId}/contentSchema
- Find meta schema attributes
- Method: getPath:
/km/api/v1/contentTypes/{contentTypeId}/metaSchema
- Get categories
- Method: getPath:
/km/api/v1/contentTypes/{contentTypeId}/categories
- Get content type privileges for active user
- Method: getPath:
/km/api/v1/contentTypes/privileges
- Get custom metrics
- Method: getPath:
/km/api/v1/contentTypes/{id}/customMetrics
- Get optional categories
- Method: getPath:
/km/api/v1/contentTypes/{contentTypeId}/optionalCategories
- Get public document count
- Method: getPath:
/km/api/v1/contentTypes/{contentTypeId}/publicDocumentCount
- Get required categories
- Method: getPath:
/km/api/v1/contentTypes/{contentTypeId}/requiredCategories
- Get translation request locales
- Method: getPath:
/km/api/v1/contentTypes/{id}/translationRequestLocales
- Get user groups
- Method: getPath:
/km/api/v1/contentTypes/{id}/userGroups