Lists all publishing jobs for a specific tenant, including jobs that are in progress, completed, failed, and so on. This endpoint supports two types of pagination:
- Offset pagination
- Checkpoint pagination
When you use offset pagination, only the first 1000 records are returned.
Note
To retrieve a list of jobs, your token must include one of the following scopes
xmcpub.jobs.a:r, xmcpub.jobs.t:r, or xmcpub.jobs.t:rl. Security
Bearer
Field to sort jobs by. You can specify whether to sort by ascending or descending order, using the format field:order, where order can be 1 for ascending or -1 for descending (for example, name:1). The following fields are supported: name, source, system.status, system.queuedTime, system.startTime, system.finishTime.
- https://edge-platform.sitecorecloud.iohttps://edge-platform.sitecorecloud.io/authoring/publishing/v1/jobs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://edge-platform.sitecorecloud.io/authoring/publishing/v1/jobs?pageNumber=1&pageSize=50&source=string&system.createdBy.id=string&system.createdBy.name=string&system.status=Queued&system.queuedTime=string&system.startTime=string&system.finishTime=string&sortBy=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-sc-continuation: string'Jobs successfully retrieved
Response
- OffsetPagingPublishJobsResponse
- CheckpointPagingPublishJobsResponse
{ "totalCount": 0, "pageNumber": 0, "pageSize": 0, "data": [ { … } ] }