- URL:
- https://<root>/services/serviceName/VideoServer/layerId/update/poster
- Methods:
POST- Version Introduced:
- 12.0
Description
The update/poster operation sets the thumbnail poster associated with a given layer to a new image. The new image can either be an uploaded image or an image available at a given URL.
Request parameters
| Parameter | Details |
|---|---|
(Optional) | The poster image to be uploaded. This parameter is optional, but must be provided if the |
(Optional) | The URL to the poster image. This parameter is optional, but must be provided if the |
(Optional) | Any image metadata associated with the poster can be included here as a JSON object. |
(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 poster operation:
POST /arcgis/rest/services/sampleService/VideoServer/0/update/poster HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []
url=http://organization.example/image.jpeg&f=pjsonJSON Response syntax
{
"success": <true | false>
}JSON Response example
{
"success": true
}