Read publish job status.
get
/content/management/api/v1.1/personalization/recommendations/{id}/publish/{statusId}
Read the status of a job that is publishing a recommendation.
Request
Path Parameters
-
id: string
Id of the Recommendation.
-
statusId: string
Status id of the Recommendation publish operation.
Query Parameters
-
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
Response
Supported Media Types
- application/json
200 Response
OK.
Root Schema : RecommendationPublishJobStatus
Type:
object
RecommendationPublishJobStatus
Show Source
-
completed(optional):
boolean
Whether the original request is completed or not
-
completedPercentage(optional):
integer(int32)
A number between 0 and 100, capturing how much of the process has been completed.
-
endTime(optional):
object date
date
-
error(optional):
object Error
Error
-
id(optional):
string
status id of the original request. It is a required property in the get response.
-
links(optional):
array links
links of the status resource
-
message(optional):
string
Human readable message about the current processing status
-
progress(optional):
string
Allowed Values:
[ "succeeded", "failed", "processing", "pending", "aborted", "paused", "blocked" ]
The current progress of the original request. It is a required property in the get response. -
requestStatus(optional):
integer(int32)
HTTP status code of the original request. This is not the polling request's status. Value is available only after the request is completed
-
result(optional):
object ResultRecommendationPublishResult
Result
-
startTime(optional):
object date
date
Nested Schema : Error
Type:
object
Error
Show Source
-
detail(optional):
string
Detailed error message.
-
instance(optional):
string
URI to the link that provides more detail about the error.
-
o:errorCode(optional):
string
Application specific error code.
-
o:errorDetails(optional):
object Error
Error
-
o:errorPath(optional):
string
XPath or JSON patch to indicate where the error occurs.
-
status(optional):
integer(int32)
HTTP status code.
-
title(optional):
string
Summary error message. It is a required property in the get response.
-
type(optional):
string
Link to HTTP error code page. It is a required property in the get response.
Nested Schema : links
Type:
array
links of the status resource
Show Source
-
Array of:
object Link
Link of the resource.
Nested Schema : ResultRecommendationPublishResult
Type:
object
Result
Show Source
-
body(optional):
object RecommendationPublishResult
Recommendation Publish Result
-
headers(optional):
array headers
List of the HTTP headers of the response to the original async request
-
status(optional):
object ResultHTTPStatus
ResultHTTPStatus
Nested Schema : Link
Type:
object
Link 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 : RecommendationPublishResult
Type:
object
Recommendation Publish Result
Show Source
-
allowUnpublishFromActiveSite(optional):
boolean
whether to allow active site items to be unpublished.(defaults to false)
-
channels(optional):
array channels
List of unpublish channels. If channels is not empty, items in the q are unpublished to the given channels. If the channels is empty, all the items as per q are unpublished to their respective targeted channels.
-
ids(optional):
array ids
links of the detailed unpublished item ids.
-
items(optional):
array items
-
links(optional):
array links
Links of the Recommendation publish operations resource.
Nested Schema : headers
Type:
array
List of the HTTP headers of the response to the original async request
Show Source
-
Array of:
object ResultHTTPHeader
ResultHTTPHeader
Nested Schema : ResultHTTPStatus
Type:
object
ResultHTTPStatus
Show Source
-
code(optional):
integer(int32)
HTTP response status code
-
reason(optional):
string
HTTP response reason phrase
Nested Schema : channels
Type:
array
List of unpublish channels. If channels is not empty, items in the q are unpublished to the given channels. If the channels is empty, all the items as per q are unpublished to their respective targeted channels.
Show Source
-
Array of:
object ChannelId
ChannelId
Nested Schema : ids
Type:
array
links of the detailed unpublished item ids.
Show Source
-
Array of:
object Link
Link of the resource.
Nested Schema : links
Type:
array
Links of the Recommendation publish operations resource.
Show Source
-
Array of:
object Link
Link of the resource.
Nested Schema : ChannelId
Type:
object
ChannelId
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 : ItemId
Type:
Show Source
object
-
id(optional):
string
id of the item.
-
links(optional):
array links
links of the item resource
-
name(optional):
string
name of the item.
Nested Schema : links
Type:
array
links of the item resource
Show Source
-
Array of:
object Link
Link of the resource.
Nested Schema : ResultHTTPHeader
Type:
object
ResultHTTPHeader
Show Source
-
name(optional):
string
HTTP response header name
-
value(optional):
string
HTTP response header value
304 Response
Not modified.
400 Response
Bad request.
403 Response
Forbidden.
404 Response
Not found.
500 Response
Internal server error.