Content REST Endpoints
Content (IM)/Content
The content resource lets you create, update, view, delete, and manage knowledge articles. You can also perform additional operations such as publish, translate, and import knowledge articles as part of the knowledge management life cycle. A content object stores information about knowledge articles.
- Check in content
- Method: postPath:
/km/api/v1/content/{id}/checkIn
- Check out content
- Method: postPath:
/km/api/v1/content/{id}/checkOut
- Clear content check out
- Method: postPath:
/km/api/v1/content/versions/{versionId}/clearCheckOut
- Create content
- Method: postPath:
/km/api/v1/content
- Create content from import
- Method: postPath:
/km/api/v1/content/import
- Delete all versions of a content in a locale
- Method: deletePath:
/km/api/v1/content/{id}/deleteLocalizedVersions/{localeCode}
- Delete content
- Method: deletePath:
/km/api/v1/content/{id}
- Find article by answer ID
- Method: getPath:
/km/api/v1/content/articles/{answerId}
- Get aggregate rating result
- Method: getPath:
/km/api/v1/content/{id}/ratingsAggregate
- Get all categories assigned to content
- Method: getPath:
/km/api/v1/content/{id}/categories
- Get all content
- Method: getPath:
/km/api/v1/content
- Get all translated content
- Method: getPath:
/km/api/v1/content/{id}/allTranslations
- Get all translated content by answer ID
- Method: getPath:
/km/api/v1/content/answers/{answerId}/allTranslations
- Get all translated content by doc ID
- Method: getPath:
/km/api/v1/content/docId/{docId}/allTranslations
- Get all translated content by version ID
- Method: getPath:
/km/api/v1/content/versions/{versionId}/allTranslations
- Get all user groups assigned to content
- Method: getPath:
/km/api/v1/content/{id}/userGroups
- Get all versions of content
- Method: getPath:
/km/api/v1/content/{id}/allVersions
- Get all versions of content by doc ID
- Method: getPath:
/km/api/v1/content/docId/{docId}/allVersions
- Get all views assigned to content
- Method: getPath:
/km/api/v1/content/{id}/views
- Get article by answer ID
- Method: getPath:
/km/api/v1/content/answers/{answerId}
- Get content
- Method: getPath:
/km/api/v1/content/{id}
- Get content by doc ID
- Method: getPath:
/km/api/v1/content/docId/{docId}
- Get content by version ID
- Method: getPath:
/km/api/v1/content/versions/{versionId}
- Get history of content
- Method: getPath:
/km/api/v1/content/{id}/history
- Get history of content by doc ID
- Method: getPath:
/km/api/v1/content/docId/{docId}/history
- Get rating results of content
- Method: getPath:
/km/api/v1/content/{id}/ratings
- Publish all version of content in a locale
- Method: postPath:
/km/api/v1/content/{id}/publishAllVersionInThisLocale/{localeCode}
- Publish all versions of content in all locales
- Method: postPath:
/km/api/v1/content/{id}/publishAllVersionInAllLocales
- Publish content
- Method: postPath:
/km/api/v1/content/versions/{versionId}/publishThisVersion
- Rate content
- Method: postPath:
/km/api/v1/content/{id}/rate
- Translate content
- Method: postPath:
/km/api/v1/content/{versionId}/translate
- Unpublish all version of content in a locale
- Method: postPath:
/km/api/v1/content/{id}/unpublishAllVersionInThisLocale/{localeCode}
- Unpublish all versions of content in all locales
- Method: postPath:
/km/api/v1/content/{id}/unpublishAllVersionInAllLocales
- Unpublish content
- Method: postPath:
/km/api/v1/content/versions/{versionId}/unpublishThisVersion
- Update content
- Method: putPath:
/km/api/v1/content/{id}
- Update content by version ID
- Method: patchPath:
/km/api/v1/content/{versionId}
- Update content from import
- Method: putPath:
/km/api/v1/content/{id}/import
- Update content owner
- Method: postPath:
/km/api/v1/content/versions/{versionId}/changeOwner