- URL:https://[root]/content/users/[userName]/items/[itemID]/status
Example usage
The following is a sample ArcGIS Online request URL used to access the status resource:
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/49bf5db6340e4bccaceca5af3b2bec4b/status?jobType=publish&jobId=ff07c87a-dccd-46b4-9597-446dcda248ff
The following is a sample ArcGIS Enterprise request URL used to access the status resource:
https://machine.domain.com/webadaptor/sharing/rest/content/users/jsmith/items/49bf5db6340e4bccaceca5af3b2bec4b/status?jobType=publish&jobId=ff07c87a-dccd-46b4-9597-446dcda248ff
Description
The status operation allows users to check job status when publishing an item, adding an item in async mode, or adding an item with a multipart upload. The operation will return Partial only when the Add Item operation is performed as a multipart upload and the item has not been committed.
Request parameters
Parameter | Details |
---|---|
jobType | Specifies which asynchronous job status is being polled. The default value is none, which check's the item's status. This parameter is optional unless a publish, generate features, export, or create service job status is being checked. Values: publish | generateFeatures | export | createService |
jobId | The job ID returned by a publish, generate features, export, or create service request. Example
|
f | The response format. The default and the only response format for this resource is HTML. Values: html |
JSON Response syntax
{
"status": "partial | processing | failed | completed", //status is available only for items added in async mode
"statusMessage": "partial",
"itemId": "<item id>"
}
JSON Response example
{
"status": "partial",
"statusMessage": "partial",
"itemId": "49bf5db6340e4bccaceca5af3b2bec4b"
}