Select to view content in your preferred language

Cancel Publish Job

370
0
02-24-2022 05:27 AM
Bernd_Loigge
New Contributor III

Hi,

We are using the https://developers.arcgis.com/rest/users-groups-and-items/publish-item.htm endpoint to publish SLPK files. Based on the documentation it is possible to query the current status of the job by the responding jobId:

"The job ID of the publishing process. All publishing operations are executed asynchronously. The caller is supposed to hold on to the job ID and check for job status. The status can be checked using Status passing in jobTypeas a query parameter, for example, jobType set as publish."

 

We want to keep our internal API as coherent and generic as possible so it would be a good feature to cancel a running job as well. Is there a way to cancel a running publish-job using the jobid?

 

 

Tags (3)
0 Replies