- URL:
- https://<root>/analyze
- Methods:
POST- Version Introduced:
- 12.0
Description
This operation outputs information regarding a given item ID for an uploaded item. These include the native resolution, capabilities, and reference point.
Request parameters
| Parameter | Details |
|---|---|
(Required if | The item IDs of the uploaded files you wish to analyze, separated by commas. |
(Required if | The URL of an item to be analyzed. This parameter can be used in place of the |
(Required) | The output format for this operation. The default value is Values: |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Response properties
| Property | Details |
|---|---|
| The item ID of the uploaded file you wish to analyze. |
| A list of the potential capabilities supported by the referenced file. These include |
| The native resolution of the video file referenced. |
| The x- and y-coordinates of the reference point from which the video was taken, along with the spatial reference ( |
Example usage
The following is a sample POST request for the analyze operation:
POST /arcgis/rest/analyze HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: [ ]
fileIds={
ia97f98e0-7b79-4576-b7d8-c1549d780478,i5d1a1673-987b-428d-b8c0-a5431060f55b
}&f=pjson&token=<token>JSON Response syntax
{
"success": true | false,
"response": {
"capabilities": {
"frameOutline": true | false,
"sensorPosition": true | false,
"cameraModel": true | false,
"frameCenter": true | false
},
"nativeResolution": "SD | HD | FHD",
"referencePoint": {
"x": x coordinate as double,
"y": y coordinate as double,
"spatialReference": {"wkid": workingId}
}
}
}JSON Response example
{
"success": true,
"response": {
"capabilities": {
"frameOutline": true,
"sensorPosition": true,
"cameraModel": true,
"frameCenter": true
},
"nativeResolution": "FHD",
"referencePoint": {
"x": -104.806,
"y": 41.143,
"spatialReference": {"wkid": 4326}
}
}
}