- URL:
- https://<root>/rest/services
- Methods:
GET- Operations:
- Is Service Name Available, Is Livestream Address Available
- Child Resources:
- Version Introduced:
- 12.0
Description
The services resource outputs a full list of services on ArcGIS Video Server that are accessible from this resource.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The response format. 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. |
Pagination response properties
| Property | Details |
|---|---|
| Lists, as an integer, the number of services associated with ArcGIS Video Server. |
| Lists, as an integer, the number of services. |
| Outputs the |
| Outputs the |
Service response properties
| Property | Details |
|---|---|
| Outputs a list of properties describing a specific service on the Video Server. Properties include The The following are sub-properties of |
| The ID of the data store in which a given service exists. |
| Determines whether a service's data can be appended after creation. Values: |
| This should be JSON or GeoJSON. Values: |
| The portal item ID associated with a given video service. |
| The date and time at which the service was created. |
| Determines whether a user other than the service's initial creator can add additional layers within a given service. Values: |
| The last ID used by a layer created in a service. |
| Shows whether a service can be updated after creation. Values: |
| Returns details about each layer contained within a given service. This will return the following properties:
|
Example usage
The following is a sample request URL used to access the services resource:
https://organization.example.com:21443/arcgis/rest/services?f=pjson&token=<token>JSON Response syntax
{
"total": 1,
"num": 1,
"start": 1,
"nextStart": -1,
"services": [{
"serviceType": "Video Service",
"description": "",
"serviceName": "SampleService",
"frameworkProperties": {
"dataStoreId": "4e9de5f0-0844-4945-ae55-cbd04f9e4cce",
"supportsAppend": false,
"supportedQueryFormats": "json",
"portalItemId": "8fd72978390b4ec1ab83cf4447021e31",
"created": 1761053079392,
"supportsMultiUserAddLayer": < true | false >,
"lastReservedId": 0,
"supportsUpdate": < true | false >,
"layers": [{
"serviceType": "< ONDEMAND | LIVESTREAM >",
"created": 1761053111832,
"description": "sample description",
"sourceFile": "sampleVideo.ts",
"sourceFilesInfo": [{
"size": 6422832,
"name": "sampleVideo.ts",
"id": "0",
"contentType": "<video/ts | video/mp4 | video/mpeg, etc>"
}],
"supportsExportFrameset": < true | false >,
"supportsExportClip": < true | false >,
"supportedQueryFormats": "json",
"supportsPreviews": < true | false >,
"name": "sampleLayer",
"id": 0,
"copyrightText": "sample layer copyright text",
"supportsMensuration": < true | false >
}],
"copyrightText": "sample service copyright text"
}
}]
}JSON response example
{
"total": 1,
"num": 1,
"start": 1,
"nextStart": -1,
"services": [{
"serviceType": "Video Service",
"description": "",
"serviceName": "SampleService",
"frameworkProperties": {
"dataStoreId": "4e9de5f0-0844-4945-ae55-cbd04f9e4cce",
"supportsAppend": false,
"supportedQueryFormats": "json",
"portalItemId": "8fd72978390b4ec1ab83cf4447021e31",
"created": 1761053079392,
"supportsMultiUserAddLayer": false,
"lastReservedId": 0,
"supportsUpdate": true,
"layers": [{
"serviceType": "ONDEMAND",
"created": 1761053111832,
"description": "test description",
"sourceFile": "sampleVideo.ts",
"sourceFilesInfo": [{
"size": 6422832,
"name": "sampleVideo.ts",
"id": "0",
"contentType": "video/ts"
}],
"supportsExportFrameset": true,
"supportsExportClip": true,
"supportedQueryFormats": "json",
"supportsPreviews": true,
"name": "sampleLayer",
"id": 0,
"copyrightText": "test layer copyright text",
"supportsMensuration": false
}],
"copyrightText": "test service copyright text"
}
}]
}