getPublishingChanges
get
/ccadmin/v1/publishingChanges
Get Publishing Changes. Get a list of publishing change items. Can be used to obtain high level items only and all items
Request
Supported Media Types
- application/json
Query Parameters
-
detail: string
String used to indicate whether to return full list of change items or high level only. "full" value mean all items. Otherwise it will be high level items only.
-
excludeCatalogConfig: string
excludes the Catalog Configuration item (if any) from the response
-
excludeDesignItem: string
excludes the Design item (if any) from the response
-
limit: integer
Limit of number of change items.
-
q: string
Query String used to limit publishing changes.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : getPublishingChanges_response
Type:
Show Source
object
-
items:
array items
Items of publish changes.
-
limit:
integer
Limit of number of change items.
-
offset:
integer
Offset.
-
sort:
array sort
Sort information of the publishing changes.
-
total:
integer
Total number of change items. Deprecated.
-
totalResults:
integer
Total number of change items.
Nested Schema : items
Type:
Show Source
object
-
assetId:
string
Asset Id of publishing changes.
-
assetType:
string
Asset type of publishing changes.
-
assetTypeDisplayName:
string
Asset type display name of publishing changes.
-
author:
string
Last author of publishing changes.
-
authorProfileType:
string
The profile type of the changelist author
-
authors:
array authors
Array of authors of publishing changes with format as: author'repository id:author's first name,author's last name.
-
changeDetails:
array changeDetails
Change Details.
-
changeTime:
string
Changing time of publishing changes.
-
changeType:
integer
Change type of publishing changes. 0: UPDATE, 1: DELETE, 2: CREATE.
-
componentPath:
string
Component path of publishing changes.
-
displayName:
string
Display name of publishing changes.
-
firstName:
string
First Name of the last author of publishing changes.
-
id:
string
Id of publishing changes.
-
itemType:
string
Item type of publishing changes.
-
lastName:
string
Last Name the of the last author of publishing changes.
-
parentAssetType:
string
Parent asset type of publishing changes.
-
repositoryId:
string
Repository Id of publishing changes.
-
scheduledPublishItem:
array scheduledPublishItem
Scheduled publish event information.
-
subsystem:
string
The subsystem involved in the change
-
worksets:
array worksets
Worksets
Nested Schema : items
Type:
Show Source
object
-
author:
string
Author of publishing changes.
-
changeTime:
string
Changing time of publishing changes.
-
description:
string
Coming for embeded item of "Catalog Configuration" and "Design" items.
-
repositoryId:
string
Repository Id of change detail.
Nested Schema : items
Type:
Show Source
object
-
dateTime:
string
Time of scheduled publish event.
-
eventName:
string
Name of scheduled publish event.
-
eventType:
number
Type of scheduled publish event (0 - full, 1 - partial)
-
firstName:
string
First name of person who initiated the scheduled publish event.
-
lastName:
string
Last name of person who initiated the scheduled publish event.
-
profileid:
string
User id of person who initiated the scheduled publish event.
-
repositoryId:
string
Repository Id of scheduled publish event.
Nested Schema : items
Type:
Show Source
object
-
order:
string
Order of publishing change items.
-
property:
string
Property of changes say display name.
Example Response (application/json)
{
"total":1,
"totalResults":1,
"offset":0,
"limit":1,
"sort":[
{
"property":"displayName",
"order":"asc"
}
],
"items":[
{
"lastName":"Amber",
"itemType":"repository",
"worksets":[
{
"repositoryId":"default"
}
],
"author":"admin",
"displayName":"Men",
"changeType":0,
"assetType":"category",
"changeDetails":[
{
"changeTime":"2016-05-10T13:06:06.075Z",
"author":"admin",
"repositoryId":"100005"
}
],
"assetTypeDisplayName":"Collection",
"changeTime":"2014-03-10T13:06:06.075Z",
"firstName":"Admin",
"componentPath":"/atg/commerce/catalog/ProductCatalog",
"assetId":"catMen",
"repositoryId":"change30449",
"id":"change30449",
"parentAssetType":"",
"scheduledPublishItem":{
"dateTime":"2018-01-26T08:00:00.000Z",
"firstName":"Admin",
"lastName":"User",
"profileId":"admin",
"eventName":"Men's clothing publish",
"id":"900001",
"eventType":1
},
"authors":[
"admin:Amber,Admin",
"admin:Weber,Damon"
]
}
]
}
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|31035|Internal Error|
|10002|Invalid value [ {1} ] for parameter: {0}.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code