getPublishingWorksetDependencies
get
/ccadmin/v1/publishingChangeLists/worksets/{worksetId}
Get Publishing Workset Dependencies. Get a list of publishing change items that are dependent on the input workset identified by the {worksetId}.
Request
Supported Media Types
- application/json
Path Parameters
Header Parameters
-
X-CCAsset-Language: string
The asset language of the request
Response
Supported Media Types
- application/json
200 Response
The following model is returned when operation succeeds.
Root Schema : getPublishingWorksetDependencies_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 dependent change items.
-
totalResults:
integer
Total number of dependent change items.
-
worksetId:
string
The workset ID
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 chnages.
-
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 changes.
-
property:
string
Property name of publishing changes.
Example Response (application/json)
{
"total":1,
"totalResults":1,
"offset":0,
"limit":1,
"sort":[
{
"property":"displayName",
"order":"asc"
}
],
"items":[
{
"lastName":"Amber",
"itemType":"repository",
"worksets":[
{
"repositoryId":"ws100001"
}
],
"author":"admin",
"displayName":"Men",
"changeType":0,
"assetType":"category",
"changeDetails":[
{
"changeTime":"2016-05-10T13:06:06.075Z",
"author":"admin",
"repositoryId":"100005"
}
],
"assetTypeDisplayName":"Collection",
"changeTime":"2016-05-10T13:06:06.075Z",
"firstName":"Admin",
"componentPath":"/atg/commerce/catalog/ProductCatalog",
"assetId":"catMen",
"repositoryId":"change44444",
"id":"change44444",
"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"
]
}
],
"worksetId":"default"
}
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|
|------------------|------------------|
|31132|Internal Error|
|31033|Invalid input error.|
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