List item revisions by slug
get
/content/management/api/v1.1/items/.by.slug/{slug}/versions
List all revisions of an item by its latest management item slug value.
Request
Path Parameters
-
slug: string
Slug value of the latest management Item. Any special characters in slug must be encoded.
Query Parameters
-
limit(optional): integer(int32)
This parameter accepts a non negative integer and is used to control the size of the result.Default Value:
50 -
links(optional): string
This parameter accepts a comma-separated list of link names. By default, this parameter gives all the links applicable. Possible values are: self, canonical, describedby, first, last, prev, next
-
offset(optional): integer(int32)
This parameter accepts a non negative integer and is used to control the start index of the result.Default Value:
0 -
totalResults(optional): boolean
This parameter accepts a boolean flag. If specified as true, then the returned result must include the total result count.Default Value:
false
Response
Supported Media Types
- application/json
200 Response
OK.
Root Schema : ItemRevisions
Type:
objectItem Revisions
Show Source
-
aggregationResults(optional):
array aggregationResults
Aggregation results.
-
count(optional):
integer(int32)
Total number of records in the current response.
-
hasMore(optional):
boolean
Check whether there are more pages to fetch.
-
items(optional):
array items
Singular resources contained in the collection.
-
limit(optional):
integer(int32)
Actual page size used by the server. This might not be the same as what the client requests.
-
links(optional):
array links
Links of the resource.
-
offset(optional):
integer(int32)
The actual index from which the singular resources are returned.
-
pinned(optional):
array pinned
Pinned items. Shows items pinned at the top of search list
-
scrollId(optional):
string
scrollId if the search resolved to a scroll search.
-
totalResults(optional):
integer(int32)
Total number of rows that satisfy the client request (excluding the paging parameters.)
Nested Schema : items
Type:
arraySingular resources contained in the collection.
Show Source
-
Array of:
object Item
Discriminator:
typeCategoryItem
Nested Schema : links
Type:
arrayLinks of the resource.
Show Source
-
Array of:
object Link
Link of the resource.
Nested Schema : pinned
Type:
arrayPinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : Item
Type:
objectDiscriminator:
typeCategoryItem
Show Source
-
changes(optional):
object ItemSubResourceListChangesInfo
Item SubResource.
-
channels(optional):
object ItemSubResourceListChannelId
Item SubResource.
-
collections(optional):
object ItemSubResourceListCollectionId
Item SubResource.
-
connectorFileInfo(optional):
object ItemSubResourceConnectorFileInfo
Item SubResource.
-
connectorId(optional):
string
Connector Id of the item.
-
connectorSyncEnabled(optional):
boolean
Connector Sync Enabled flag of the item.
-
createdBy(optional):
string
Created by.
-
createdByUser(optional):
object User
User object
-
createdDate(optional):
object date
date
-
description(optional):
string
description of the item
-
fields(optional):
object fields
Read Only:
trueAdditional Properties Allowed: additionalPropertiesUser-defined fields data. Map. All the user-defined fields required in the type definition must be provided under this property in PUT and POST request. -
fileExtension(optional):
string
Extension of the file.
-
id(optional):
string
id of the item. It is a required property in the get response and put request whereas it is not required in the post request.
-
isPublished(optional):
boolean
Whether the item is ever published.
-
language(optional):
string
Language of the item.
-
languageIsMaster(optional):
boolean
Whether the item is master.
-
links(optional):
array links
Links
-
lockInfo(optional):
object ItemSubResourceLockInfo
Item SubResource.
-
metadata(optional):
object ItemMetadataInfo
ItemMetadataInfo
-
name(optional):
string
Name of the item. It is a required property in the get response and post/put request.
-
permissions(optional):
object ItemSubResourceListAction
Item SubResource.
-
publishedChannels(optional):
object ItemSubResourceListChannelId
Item SubResource.
-
publishInfo(optional):
object ItemSubResourceListPublishInfo
Item SubResource.
-
reference(optional):
object ItemReferenceInfo
ItemReferenceInfo
-
relationships(optional):
object ItemSubResourceRelationships
Item SubResource.
-
repositoryId(optional):
string
Repository of the item. It is a required property in the get response and post/put request.
-
scheduled(optional):
boolean
-
slug(optional):
string
URL slug of the item.
-
sourceId(optional):
string
Source Id.
-
status(optional):
string
Current status of the item.
-
suggestedTaxonomies(optional):
object ItemSubResourceListSuggestedTaxonomyInfo
Item SubResource.
-
tags(optional):
object ItemSubResourceListTag
Item SubResource.
-
taxonomies(optional):
object ItemSubResourceListTaxonomyInfo
Item SubResource.
-
translatable(optional):
boolean
Whether the item is translatable.
-
type(optional):
string
Name of the type. It is a required property in the get response and post/put request.
-
typeCategory(optional):
string
Read Only:
true -
updatedBy(optional):
string
Updated by.
-
updatedByUser(optional):
object User
User object
-
updatedDate(optional):
object date
date
-
variations(optional):
object ItemSubResourceListVariationsInfo
Item SubResource.
-
version(optional):
string
The current revision version of this item.
-
versionInfo(optional):
object ItemSubResourceListVersionInfo
Item SubResource.
-
video(optional):
object VideoBean
VideoBean
-
workflowInstances(optional):
object WorkflowField
All mapped workflow fields
-
workflows(optional):
object ItemSubResourceListWorkflowInfo
Item SubResource.
Nested Schema : User
Type:
objectUser object
Show Source
-
displayName(optional):
string
Read Only:
truedisplay name of the user. -
email(optional):
string
Read Only:
trueemail of the user. -
userID(optional):
integer(int64)
Read Only:
trueid of the user. -
userName(optional):
string
Read Only:
truename of the user.
Nested Schema : fields
Type:
objectRead Only:
trueAdditional Properties Allowed
Show Source
User-defined fields data. Map. All the user-defined fields required in the type definition must be provided under this property in PUT and POST request.
Nested Schema : ItemMetadataInfo
Type:
objectItemMetadataInfo
Show Source
-
exif(optional):
object EXIFMetadata
EXIF Metadata
-
links(optional):
array links
Links
-
transcripts(optional):
object VideoTranscriptMetadata
Video Transcription Metadata
Nested Schema : ItemReferenceInfo
Type:
objectItemReferenceInfo
Show Source
-
isAccessible(optional):
boolean
Whether the item is accessible.
Nested Schema : VideoBean
Type:
objectVideoBean
Show Source
-
duration(optional):
string
Read Only:
trueThe duration of the video in ISO 8601 format. -
isFormatSupported(optional):
boolean
Read Only:
trueA boolean expressing if the video file format is supported. -
playback(optional):
object PlaybackBean
PlaybackBean
-
processing(optional):
object ProcessingBean
ProcessingBean
-
strip(optional):
object StripBean
StripBean
Nested Schema : WorkflowField
Type:
objectAll mapped workflow fields
Show Source
-
aggregationResults(optional):
array aggregationResults
Aggregation results.
-
count(optional):
integer(int32)
Total number of records in the current response.
-
hasMore(optional):
boolean
Check whether there are more pages to fetch.
-
items(optional):
array items
Singular resources contained in the collection.
-
limit(optional):
integer(int32)
Actual page size used by the server. This might not be the same as what the client requests.
-
links(optional):
array links
Links of the resource.
-
offset(optional):
integer(int32)
The actual index from which the singular resources are returned.
-
pinned(optional):
array pinned
Pinned items. Shows items pinned at the top of search list
-
scrollId(optional):
string
scrollId if the search resolved to a scroll search.
-
totalResults(optional):
integer(int32)
Total number of rows that satisfy the client request (excluding the paging parameters.)
Nested Schema : ChangesInfo
Type:
objectChangesInfo
Show Source
-
links(optional):
array links
-
source(optional):
string
Sub-resource associated to this item which is source of this change.
-
type(optional):
string
Type of change tracked for the given source.
-
value(optional):
boolean
True indicates a change. False indicates no current changes for this source/type.
Nested Schema : Link
Type:
objectLink of the resource.
Show Source
-
href(optional):
string
The target resource's URI. It could be template URI. It is a required property in the get response.
-
mediaType(optional):
string
Media type.
-
method(optional):
string
What HTTP method can be used to access the target resource.
-
profile(optional):
string
Link to the metadata that describes the target resource.
-
rel(optional):
string
Relation type. It is a required property in the get response.
-
templated(optional):
boolean
Whether the URI is a template.
Nested Schema : ChannelId
Type:
objectChannelId
Show Source
-
id(optional):
string
-
isPrimaryChannel(optional):
boolean
Indicates if channel is primary for an asset.
-
links(optional):
array links
Links
-
name(optional):
string
Nested Schema : ConnectorFileInfo
Type:
objectConnectorFileInfo
Show Source
-
connectorId(optional):
string
Connector id.
-
id(optional):
string
File id.
-
inUse(optional):
boolean
Represents whether the latest version of asset is using the file content.
-
version(optional):
integer(int32)
File version
Nested Schema : additionalProperties
Type:
objectNested Schema : LockInfo
Type:
objectLockInfo
Show Source
-
isLocked(optional):
boolean
Represents whether the item is locked or not.
-
lockedBy(optional):
string
Locked by user
-
lockedDate(optional):
object date
date
Nested Schema : EXIFMetadata
Type:
objectEXIF Metadata
Show Source
-
aggregationResults(optional):
array aggregationResults
Aggregation results.
-
count(optional):
integer(int32)
Total number of records in the current response.
-
hasMore(optional):
boolean
Check whether there are more pages to fetch.
-
items(optional):
array items
Singular resources contained in the collection.
-
limit(optional):
integer(int32)
Actual page size used by the server. This might not be the same as what the client requests.
-
links(optional):
array links
Links of the resource.
-
offset(optional):
integer(int32)
The actual index from which the singular resources are returned.
-
pinned(optional):
array pinned
Pinned items. Shows items pinned at the top of search list
-
scrollId(optional):
string
scrollId if the search resolved to a scroll search.
-
totalResults(optional):
integer(int32)
Total number of rows that satisfy the client request (excluding the paging parameters.)
Nested Schema : VideoTranscriptMetadata
Type:
objectVideo Transcription Metadata
Show Source
-
aggregationResults(optional):
array aggregationResults
Aggregation results.
-
count(optional):
integer(int32)
Total number of records in the current response.
-
hasMore(optional):
boolean
Check whether there are more pages to fetch.
-
items(optional):
array items
Singular resources contained in the collection.
-
limit(optional):
integer(int32)
Actual page size used by the server. This might not be the same as what the client requests.
-
links(optional):
array links
Links of the resource.
-
offset(optional):
integer(int32)
The actual index from which the singular resources are returned.
-
pinned(optional):
array pinned
Pinned items. Shows items pinned at the top of search list
-
scrollId(optional):
string
scrollId if the search resolved to a scroll search.
-
totalResults(optional):
integer(int32)
Total number of rows that satisfy the client request (excluding the paging parameters.)
Nested Schema : items
Type:
arraySingular resources contained in the collection.
Show Source
-
Array of:
object ItemExtractedExifBean
ItemExtractedExifBean
Nested Schema : links
Type:
arrayLinks of the resource.
Show Source
-
Array of:
object Link
Link of the resource.
Nested Schema : pinned
Type:
arrayPinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : ItemExtractedExifBean
Type:
objectItemExtractedExifBean
Show Source
-
floatValue(optional):
number(float)
The float value of the EXIF field. This value will be a numeric representation of the EXIF field value with decimal precision.
-
handle(optional):
string
The handle or EXIF field name. This value is not translatable.
-
integerValue(optional):
integer(int32)
The integer value of the EXIF field. This value will be a numeric representation of the EXIF field value without a decimal point.
-
links(optional):
array links
Links
-
rawId(optional):
string
The ID of the EXIF field. Uniquely identifies one EXIF field.
-
rawValue(optional):
string
The raw EXIF field value. This value can be a numeric value out of a predefined value list or a text value.
-
stringValue(optional):
string
The text value of the EXIF field. This value will be a text representation of the EXIF field value.
-
type(optional):
string
The data type of the EXIF field. (date, integer, float, string).
-
value(optional):
string
The display value of the EXIF field. This value will be a text representation of the actual type value of the EXIF field (date, int, float, string).
Nested Schema : items
Type:
arraySingular resources contained in the collection.
Show Source
-
Array of:
object Videotranscript
Video transcript
Nested Schema : links
Type:
arrayLinks of the resource.
Show Source
-
Array of:
object Link
Link of the resource.
Nested Schema : pinned
Type:
arrayPinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : Videotranscript
Type:
objectVideo transcript
Show Source
-
end(optional):
string
End of each transcript node.
-
id(optional):
string
Id of each transcript node.
-
links(optional):
array links
Links
-
start(optional):
string
Start of each transcript node.
-
text(optional):
string
Text of each transcript node.
Nested Schema : Action
Type:
objectAction
Show Source
-
action(optional):
string
Allowed Values:
[ "view", "update", "create", "delete" ]action is allowed on the resource
Nested Schema : PublishInfo
Type:
objectPublishInfo
Show Source
-
channel(optional):
string
Target name
-
links(optional):
array links
Links
-
publishedBy(optional):
string
Published by
-
publishedDate(optional):
object date
date
-
slug(optional):
string
Published slug
-
version(optional):
string
Published version
Nested Schema : Relationships
Type:
objectRelationships
Show Source
-
referencedBy(optional):
array referencedBy
Referenced by ids
-
referencedBySitePlan(optional):
object Siteplanreference
Site plan reference
-
referencedBySites(optional):
array referencedBySites
Referenced by sites
-
references(optional):
array references
Reference ids
Nested Schema : referencedBy
Type:
arrayReferenced by ids
Show Source
-
Array of:
object References
References
Nested Schema : Siteplanreference
Type:
objectSite plan reference
Show Source
-
id(optional):
string
id of the site plan.
-
links(optional):
array links
Nested Schema : referencedBySites
Type:
arrayReferenced by sites
Show Source
-
Array of:
object ReferencedBySites
ReferencedBySites
Nested Schema : references
Type:
arrayReference ids
Show Source
-
Array of:
object References
References
Nested Schema : References
Type:
objectReferences
Show Source
-
id(optional):
string
id of the item.
-
links(optional):
array links
-
reference(optional):
object ItemReferenceInfo
ItemReferenceInfo
Nested Schema : ReferencedBySites
Type:
objectReferencedBySites
Show Source
-
component(optional):
string
Component of the item
-
pageId(optional):
string
Page the item added to
-
site(optional):
string
Site the item added to
Nested Schema : data
Type:
Show Source
array-
Array of:
object SuggestedTaxonomyInfo
SuggestedTaxonomyInfo
Nested Schema : SuggestedTaxonomyInfo
Type:
objectSuggestedTaxonomyInfo
Show Source
-
categories(optional):
array categories
Categories in the Suggested Taxonomy the item belongs to.
-
id(optional):
string
-
links(optional):
array links
-
name(optional):
string
-
shortName(optional):
string
Nested Schema : categories
Type:
arrayCategories in the Suggested Taxonomy the item belongs to.
Show Source
Nested Schema : ItemSuggestedCategoryInfo
Type:
Show Source
object-
apiName(optional):
string
The apiName of the category assigned to the item.
-
id(optional):
string
-
isRejected(optional):
boolean
Status of the Suggested Category for the Item.
-
links(optional):
array links
-
name(optional):
string
-
nodes(optional):
array nodes
Nodes in the category assigned to the item.
-
order(optional):
integer(int32)
Probability order of the Suggested Category across all the Taxonomies assigned to the repository.
Nested Schema : CategoryNodeBean
Type:
Show Source
object-
apiName(optional):
string
The apiName of the Category node.
-
id(optional):
string
The id of the Category node.
-
name(optional):
string
The name of the Category node.
Nested Schema : Tag
Type:
objectTag.
Show Source
-
language:
string
language of the tag.
-
links(optional):
array links
Links
-
name:
string
Name of the tag.
Nested Schema : TaxonomyInfo
Type:
objectTaxonomyInfo
Show Source
-
categories(optional):
array categories
Categories in the Taxonomy the item belongs to.
-
id(optional):
string
-
links(optional):
array links
-
name(optional):
string
-
shortName(optional):
string
Nested Schema : ItemCategoryInfo
Type:
Show Source
object-
apiName(optional):
string
The apiName of the category assigned to the item.
-
id(optional):
string
-
links(optional):
array links
-
name(optional):
string
-
nodes(optional):
array nodes
Nodes in the category assigned to the item.
Nested Schema : VariationsInfo
Type:
objectVariations Info.
Show Source
-
items(optional):
array items
Content item variations.
-
links(optional):
array links
-
masterItem(optional):
string
Master item.
-
setId(optional):
string
Variation set id.
-
varType(optional):
string
Variation type name.
Nested Schema : items
Type:
arrayContent item variations.
Show Source
-
Array of:
object Language
LanguageItem
Nested Schema : Language
Type:
objectLanguageItem
Show Source
-
id(optional):
string
id of the item.
-
isPublished(optional):
boolean
Whether the item is ever published.
-
links(optional):
array links
-
name(optional):
string
name of the item.
-
status(optional):
string
status of item
-
value(optional):
string
Language value
Nested Schema : VersionInfo
Type:
objectVersionInfo
Show Source
-
latestVersion(optional):
string
Latest version
-
publishedVersion(optional):
string
Published version
Nested Schema : PlaybackBean
Type:
objectPlaybackBean
Show Source
-
adaptiveStreams(optional):
object AdaptiveStreamsBean
AdaptiveStreamsBean
Nested Schema : ProcessingBean
Type:
objectProcessingBean
Show Source
-
progress(optional):
string
Read Only:
trueThe progress of the background process. The value of this field will be one of PENDING, SUCCEEDED or FAILED.
Nested Schema : StripBean
Type:
objectStripBean
Show Source
-
frame(optional):
object StripFrameBean
StripFrameBean
Nested Schema : AdaptiveStreamsBean
Type:
objectAdaptiveStreamsBean
Show Source
-
dash(optional):
object PlaybackBean
PlaybackBean
-
hls(optional):
object PlaybackBean
PlaybackBean
Nested Schema : StripFrameBean
Type:
objectStripFrameBean
Show Source
-
count(optional):
integer(int32)
Read Only:
trueThe number of frames in the strip image. -
height(optional):
integer(int32)
Read Only:
trueThe height of the strip image. -
width(optional):
integer(int32)
Read Only:
trueThe width of the strip image.
Nested Schema : items
Type:
arraySingular resources contained in the collection.
Show Source
-
Array of:
object WorkflowInfo
WorkflowInfo.
Nested Schema : links
Type:
arrayLinks of the resource.
Show Source
-
Array of:
object Link
Link of the resource.
Nested Schema : pinned
Type:
arrayPinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : WorkflowInfo
Type:
objectWorkflowInfo.
Show Source
-
id(optional):
string
Workflow id.
-
instanceId:
string
Workflow instance id.
-
isCompleted(optional):
boolean
If workflow instance is completed or not in OIC.
-
links(optional):
array links
Links
-
name(optional):
string
Workflow name.
-
status(optional):
string
Workflow status.
-
submittedBy(optional):
string
Submitted by user
-
submittedDate(optional):
object date
date
400 Response
Bad request.
403 Response
Forbidden.
404 Response
Not found.
500 Response
Internal server error.
Examples
The following example shows how to list all revisions of an item by its latest management item slug value.
curl -i -X GET -H 'Accept:application/json' 'https://host:port/content/management/api/v1.1/items/.by.slug/{slug}/versions'
Example:
This lists all revisions of item whose current slug value is 'content-item-1-type-1'.
/content/management/api/v1.1/items/.by.slug/content-item-1-type-1/versions
Response Body
{
"hasMore": false,
"offset": 0,
"count": 3,
"limit": 3,
"items": [
{
"id": "CORE55683B68DCFB414F841D3A532B7A4F9B",
"type": "TypeA",
"name": "ItemA",
"description": "ItemA description",
"typeCategory": "ContentType",
"createdBy": "cecusername",
"createdDate": {
"value": "2019-08-23T22:00:43.884Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2019-08-27T01:11:21.323Z",
"timezone": "UTC"
},
"slug": "content-item-1-type-1",
"repositoryId": "F3D72E867A49F0D14AD8C128E7977B2F62273958C5BF",
"status":"draft",
"isPublished": true,
"languageIsMaster": true,
"language": "en-US",
"translatable": true,
"version": "1.2",
"fileExtension": "contentItem",
"fields": {},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/.by.slug/content-item-1-type-1/versions/1.2",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "CORE55683B68DCFB414F841D3A532B7A4F9B",
"type": "TypeA",
"name": "ItemA",
"description": "ItemA description",
"typeCategory": "ContentType",
"createdBy": "cecusername",
"createdDate": {
"value": "2019-08-23T22:00:43.884Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2019-08-26T22:24:24.830Z",
"timezone": "UTC"
},
"slug": "1481786051292-typea-itema",
"repositoryId": "F3D72E867A49F0D14AD8C128E7977B2F62273958C5BF",
"status":"draft",
"isPublished": true,
"languageIsMaster": true,
"language": "en-US",
"translatable": true,
"version": "1.1",
"fileExtension": "contentItem",
"fields": {},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/.by.slug/content-item-1-type-1/versions/1.1",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
},
{
"id": "CORE55683B68DCFB414F841D3A532B7A4F9B",
"type": "TypeA",
"name": "ItemA",
"description": "ItemA description",
"typeCategory": "ContentType",
"createdBy": "cecusername",
"createdDate": {
"value": "2019-08-23T22:00:43.884Z",
"timezone": "UTC"
},
"updatedBy": "cecusername",
"updatedDate": {
"value": "2019-08-24T00:35:23.266Z",
"timezone": "UTC"
},
"slug": "1481786051292-typea-itema",
"repositoryId": "F3D72E867A49F0D14AD8C128E7977B2F62273958C5BF",
"status":"published",
"isPublished": true,
"languageIsMaster": true,
"language": "en-US",
"translatable": true,
"version": "1",
"fileExtension": "contentItem",
"fields": {},
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/.by.slug/content-item-1-type-1/versions/1",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
}
]
}
],
"links": [
{
"href": "https://<hostname>/content/management/api/v1.1/.by.slug/content-item-1-type-1/versions",
"rel": "self",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/.by.slug/content-item-1-type-1/versions",
"rel": "canonical",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/.by.slug/content-item-1-type-1/versions",
"rel": "describedby",
"method": "GET",
"mediaType": "application/schema+json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/.by.slug/content-item-1-type-1/versions?offset=0",
"rel": "first",
"method": "GET",
"mediaType": "application/json"
},
{
"href": "https://<hostname>/content/management/api/v1.1/.by.slug/content-item-1-type-1/versions?offset=0",
"rel": "last",
"method": "GET",
"mediaType": "application/json"
}
]
}