/status: Status

URL:
https://[root]/content/users/[userName]/items/[itemID]/status
Methods:
GET

Example usage

The following is a sample ArcGIS Online request URL used to access the status resource:

Use dark colors for code blocksCopy
1
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:

Use dark colors for code blocksCopy
1
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

ParameterDetails

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:

Use dark colors for code blocksCopy
1
jobId=ff07c87a-dccd-46b4-9597-446dcda248ff

f

The response format. The default and the only response format for this resource is HTML.

Values: html

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "status": "partial | processing | failed | completed", //status is available only for items added in async mode
  "statusMessage": "partial",
  "itemId": "<item id>"
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "status": "partial",
  "statusMessage": "partial",
  "itemId": "49bf5db6340e4bccaceca5af3b2bec4b"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.