Skip to content
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

ParameterDetails

fileIds

(Required if url is not used)

The item IDs of the uploaded files you wish to analyze, separated by commas.

url

(Required if fileIds is not used)

The URL of an item to be analyzed. This parameter can be used in place of the fieldIds parameter.

f

(Required)

The output format for this operation. The default value is html.

Values: html | json | pjson

token

(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

PropertyDetails

success

The item ID of the uploaded file you wish to analyze.

capabilities

A list of the potential capabilities supported by the referenced file. These include frameOutline, sensorPosition, cameraModel, and frameCenter.

nativeResolution

The native resolution of the video file referenced.

referencePoint

The x- and y-coordinates of the reference point from which the video was taken, along with the spatial reference (wkid).

Example usage

The following is a sample POST request for the analyze operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
    "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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
    "success": true,
    "response": {
        "capabilities": {
            "frameOutline": true,
            "sensorPosition": true,
            "cameraModel": true,
            "frameCenter": true
        },
        "nativeResolution": "FHD",
        "referencePoint": {
            "x": -104.806,
            "y": 41.143,
            "spatialReference": {"wkid": 4326}
        }
    }
}

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