Skip to content
URL:
https://<root>/services/<serviceName>.<serviceType>
Methods:
GET
Child Resources:
Delete
Version Introduced:
12.0

Description

The resource for an individual service returns information, such as the extensions used to publish the service and the service's portal item ID, for a video service.

Request parameters

ParameterDescription

f

(Required)

The response format. The default response format 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

extensions

If any extensions were used to publish the service, they will be listed as part of the extensions property.

description

If the chosen video service includes a description, it will be output as a string in the description property.

serviceName

The name of the selected video service.

type

The type of service. For ArcGIS Video Server, this will always appear as VideoServer.

portalProperties

The portalProperties property pulls the service's exact itemID and service type the portal.

Example usage

The following is a sample request URL used to access the services resource:

Use dark colors for code blocksCopy
1
https://organization.example.com/<context>/admin/services/sample_service.VideoServer?f=json

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
{
    "extensions": [],
    "description": "sample description",
    "serviceName": "sample_service",
    "type": "VideoServer",
    "portalProperties": {"portalItems": [{
        "itemID": "d5c699ab772942499f013fa871eef8d0",
        "type": "VideoServer"
    }]}
}

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