Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cancel Publish Job #147

Open
bloigge opened this issue Feb 25, 2022 · 0 comments
Open

Cancel Publish Job #147

bloigge opened this issue Feb 25, 2022 · 0 comments

Comments

@bloigge
Copy link

bloigge commented Feb 25, 2022

I already asked here - but maybe I'll get a answer in this repo faster. The question is more about the publishing process in portal (Portal REST API), but maybe someone here is familiar with this process as well:

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant