- URL:
- https://<root>/services/serviceName/VideoServer/layerId/updateLayer
- Methods:
POST- Version Introduced:
- 12.0
Description
The update operation updates an existing video service layer.
Request parameters
| Parameter | Details |
|---|---|
(Required) | Adjusts the layer's name. Input must be a string. |
(Optional) | Modifies the copyright text for the layer. Input must be a string. |
(Optional) | Updates the layer's description, which provides additional information regarding a layer's purpose, location, etc. Input must be a string. |
(Required) | Specifies whether users are able to export clips from a given layer. Values: |
(Required) | Specifies whether a user can create frame sets based on this layer. Values: |
(Required only for Livestream Layers) | A JSON object that includes two properties: Example |
(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. |
Example usage
The following is a sample POST request for the update operation:
POST /arcgis/rest/services/sampleService/VideoServer/01/updateLayer HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-wwww-form-urlencoded
Content-Length: []
name=changedName©rightText=Updated+Copyright+Text&description=Updated+description+text&supportsExportClip=true&supportsFrameset=true&f=pjson&token=<token>JSON Response syntax
{
"success": <true | false>
}JSON Response example
{
"success": true
}