Read publish job status

get

/content/management/api/v1.1/taxonomies/{id}/publish/{jobTokenId}

Read the status of the job that is publishing a taxonomy.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : Status
Type: object
Status
Show Source
Nested Schema : date
Type: object
date
Show Source
Nested Schema : Error
Type: object
Error
Show Source
Nested Schema : ResultObject
Type: object
Result
Show Source
Nested Schema : body
Type: object
HTTP body of the response to the original async request
Nested Schema : headers
Type: array
List of the HTTP headers of the response to the original async request
Show Source
Nested Schema : ResultHTTPStatus
Type: object
ResultHTTPStatus
Show Source
Nested Schema : ResultHTTPHeader
Type: object
ResultHTTPHeader
Show Source

304 Response

Not modified.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Job not found. The requested resource not found in the system.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to read the status of the job that is publishing a taxonomy by submission of a GET request using cURL:

curl -X GET -H 'Accept: application/json' 'https://host:port/content/management/api/v1.1/taxonomies/{id}/publish/{jobTokenID}'

Example:

This returns the status of a publish job.

/content/management/api/v1.1/taxonomies/D7969D6CA0D144AEA9CCA88BA6D2CF81/publish/OPC7FC2C6D7A8944689E775CCB24313DE3

Response Body

{
  "id": "OPC7FC2C6D7A8944689E775CCB24313DE3",
  "startTime": {
    "value": "2019-02-06T01:11:35.304Z",
    "timezone": "UTC"
  },
  "endTime": {
    "value": "2019-02-06T01:11:35.591Z",
    "timezone": "UTC"
  },
  "progress": "succeeded",
  "completed": true,
  "message": "Job Completed Successfully",
  "completedPercentage": 100,
  "result": {
    "status": {
      "code": 200,
      "reason": ""
    },
    "headers": [],
    "body": {
      "id": "D7969D6CA0D144AEA9CCA88BA6D2CF81",
      "name": "Taxonomy for Publishing",
      "description": "Taxonomy description",
      "shortName": "T3",
      "status": "promoted",
      "version": 7,
      "isPublishable": true,
      "isForSiteManagement": false,
      "availableStates": [
        {
          "status": "promoted",
          "version": 7,
          "published": true
        },
        {
          "status": "draft",
          "published": false
        }
      ],
      "publishedChannels": [
        {
          "id": "CC59073EACA4A56A990700ADEB643CAB64E62AA2CC55",
          "name": "Channel 02"
        }
      ],
      "createdBy": "cecsusername",
      "createdDate": {
        "value": "2019-02-01T17:50:26.936Z",
        "timezone": "UTC"
      },
      "updatedBy": "cecsusername",
      "updatedDate": {
        "value": "2019-02-06T01:11:35.483Z",
        "timezone": "UTC"
      }
    }
  },
  "links": [
    {
      "href": "https://<hostname>/content/management/api/v1.1/taxonomies/D7969D6CA0D144AEA9CCA88BA6D2CF81/publish/OPC7FC2C6D7A8944689E775CCB24313DE3",
      "rel": "self",
      "method": "GET",
      "mediaType": "application/json"
    },
    {
      "href": "https://<hostname>/content/management/api/v1.1/taxonomies/D7969D6CA0D144AEA9CCA88BA6D2CF81/publish/OPC7FC2C6D7A8944689E775CCB24313DE3",
      "rel": "canonical",
      "method": "GET",
      "mediaType": "application/json"
    },
    {
      "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/taxonomies/D7969D6CA0D144AEA9CCA88BA6D2CF81/publish/OPC7FC2C6D7A8944689E775CCB24313DE3",
      "rel": "describedby",
      "method": "GET",
      "mediaType": "application/schema+json"
    }
  ]
}
Back to Top