Content Classes

The content classes represent the various locations that content can exist, or be surfaced, using the "repository" designation as the primary differentiation for each content class.

DocCenter

Represents all content in a doccenter content profile

FieldIs Required?Description
repositoryYdoccenter
idYThe id of the doccenter content.
nameYThe name of the document.
typeYThe content type.
libraryContent.teamsiteIdYThe teamsiteId of the library content this doccenter item represents.
libraryContent.idYThe id of the library content this doccenter document represents .
libraryContent.versionIdYThe versionId of the library content this doccenter item represents.
contentProfileIdYThe content profile id that the content is located in (or the action took place from).
contentProfilePathYAn array of the path to the item, not including the item. An action on an item in the root folder would be represented by []. An action on an item in Folder A (which is in the root) would be represented as ["Folder A"].
quickAccessPathNIf this file is accessed via a quick access path such as "recents" or "favorites" we would indicate that here.
pagesNIn cases where the pages of a document are interacted with this is the list of those pages.
{
	"content": [{
		"repository": "doccenter",
		"name": "sample file",
		"type": "file",
		"libraryContent": {
			"id": "a5d85988-17f4-4994-82db-1ea46886046a",
			"versionId": "c9d85988-17f4-4994-82db-1ea46886046a",
			"teamsiteId": "1"
		},
		"contentProfileId": "60839af0-ca44-495a-8112-ae31d560b2b9",
		"contentProfilePath": [
			"Folder A",
			"Folder B"
		],
		"id": "YmFzZTY0IGZ1bGwgcGF0aA=="
	}]
}

NewsCenter

Represents all content in a newscenter content profile

FieldIs Required?Description
repositoryYnewscenter
nameYThe name of the document.
typeYThe content type.
libraryContent.teamsiteIdYThe teamsiteId of the library content this newscenter document represents.
libraryContent.idYThe id of the library content this newscenter document represents .
libraryContent.versionIdYThe versionId of the library content this newscenter document represents.
contentProfileIdYThe content profile id that the content is located in (or the action took place from).
pagesNIn cases where the pages of a document are interacted with this is the list of those pages.
{
	"content": [{
		"repository": "newscenter",
		"name": "sample file",
		"type": "file",
		"libraryContent": {
			"id": "a5d85988-17f4-4994-82db-1ea46886046a",
			"versionId": "c9d85988-17f4-4994-82db-1ea46886046a",
			"teamsiteId": "1"
		},
		"contentProfileId": "60839af0-ca44-495a-8112-ae31d560b2b9"
	}]
}

Library

Represents all content in the content manager or control center library

FieldIs Required?Description
repositoryYlibrary
idYThe id of the library content.
nameYThe name of the document.
typeYThe content type.
teamsiteIdYThe teamsiteId of the library content.
versionIdYThe versionId of the library content. Not required for folder content.
pagesNIn cases where the pages of a document are interacted with this is the list of those pages.
{
	"content": [{
		"repository": "library",
		"name": "sample file",
		"type": "file",
		"id": "a5d85988-17f4-4994-82db-1ea46886046a",
		"versionId": "c9d85988-17f4-4994-82db-1ea46886046a",
		"teamsiteId": "1"
	}]
}

Workspace

Represents all content in workspace and document cart

FieldIs Required?Description
repositoryYworkspace
idYThe id of the workspace content.
nameYThe name of the document.
typeYThe content type.
versionIdYThe versionId of the workspace content. Not required for folder content.
quickAccessPathNIf this file is accessed via a quick access path such as "recents".
pagesNIn cases where the pages of a document are interacted with this is the list of those pages.
{
	"content": [{
		"repository": "workspace",
		"name": "sample file",
		"type": "file",
		"id": "a5d85988-17f4-4994-82db-1ea46886046a",
		"versionId": "c9d85988-17f4-4994-82db-1ea46886046a"
	}]
}

Generated LiveDocs

Represents all generated livedocs (particularly those that have never been saved to cart or workspace)

FieldIs Required?Description
repositoryYgeneratedlivedocs
idYThe id of the generated livedoc.
nameYThe name of the generated document (not the name of the original library document).
pagesNIn cases where the pages of a document are interacted with this is the list of those pages.
{
	"content": [{
		"repository": "generatedlivedocs",
		"name": "sample file",
		"id": "a5d85988-17f4-4994-82db-1ea46886046a"
	}]
}