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
-
Type:
stringString 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.- limit
Type:integerLimit of number of change items.- q
Type:stringQuery String used to limit publishing changes.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getPublishingChanges_response
- items
-
Type:
arrayitemsItems of publish changes. - limit
-
Type:
integerLimit of number of change items. - offset
-
Type:
integerOffset. - sort
-
Type:
arraysortSort information of the publishing changes. - total
-
Type:
integerTotal number of change items. Deprecated. - totalResults
-
Type:
integerTotal number of change items.
Nested Schema : sort
Nested Schema : items
Type:
object- assetId
-
Type:
stringAsset Id of publishing changes. - assetType
-
Type:
stringAsset type of publishing changes. - assetTypeDisplayName
-
Type:
stringAsset type display name of publishing changes. - author
-
Type:
stringLast author of publishing changes. - authorProfileType
-
Type:
stringThe profile type of the changelist author - authors
-
Type:
arrayauthorsArray of authors of publishing changes with format as: author'repository id:author's first name,author's last name. - changeDetails
-
Type:
arraychangeDetailsChange Details. - changeTime
-
Type:
stringChanging time of publishing changes. - changeType
-
Type:
integerChange type of publishing changes. 0: UPDATE, 1: DELETE, 2: CREATE. - componentPath
-
Type:
stringComponent path of publishing changes. - displayName
-
Type:
stringDisplay name of publishing changes. - firstName
-
Type:
stringFirst Name of the last author of publishing changes. - id
-
Type:
stringId of publishing changes. - itemType
-
Type:
stringItem type of publishing changes. - lastName
-
Type:
stringLast Name the of the last author of publishing changes. - parentAssetType
-
Type:
stringParent asset type of publishing changes. - repositoryId
-
Type:
stringRepository Id of publishing changes. - subsystem
-
Type:
stringThe subsystem involved in the change
Nested Schema : items
Type:
object- author
-
Type:
stringAuthor of publishing changes. - changeTime
-
Type:
stringChanging time of publishing changes. - description
-
Type:
stringComing for embeded item of "Catalog Configuration" and "Design" items. - repositoryId
-
Type:
stringRepository Id of change detail.
Nested Schema : items
Type:
object- order
-
Type:
stringOrder of publishing change items. - property
-
Type:
stringProperty of changes say display name.
Example application/json
{
"total":1,
"totalResults":1,
"offset":0,
"limit":1,
"sort":[
{
"property":"displayName",
"order":"asc"
}
],
"items":[
{
"lastName":"Amber",
"itemType":"repository",
"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":"",
"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}.|
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAn optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
{
"total": 1,
"totalResults": 1,
"offset": 0,
"limit": 1,
"sort": [{
"property": "displayName",
"order": "asc"
}],
"items": [{
"lastName": "Amber",
"itemType": "repository",
"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": "",
"authors": [
"admin:Amber,Admin",
"admin:Weber,Damon"
]
}]
}