- URL: https://<imageservice-url>/getImageUrl
- Required Capability:Catalog, Download
- Version Introduced:11.2
Description
The getImageUrl operation returns an image URL that is accessible to the requesting web client. This operation is normally used after the Find operation, which returns an image information list contains URL values.
Request parameters
Parameter | Details |
---|---|
uri | Specifies the URI of the image. Example
|
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
The following is a sample request URL for the getImageURL operation:
https://machine.domain.com/webadaptor/rest/services/BrewertonTank_cloud/ImageServer/getImageUrl?uri=/vsis3/ortho-maker/BrewertonTank/BrewertonTank/DJI_0707.JPG&f=html
JSON Response syntax
{
"imageURL": <url>
}
JSON Response example
{"imageURL": "https://ortho-maker.s3-external-1.amazonaws.com/BrewertonTank/BrewertonTank/DJI_0707.JPG?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=test%2F20230822%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230822T213803Z&X-Amz-Expires=3600&X-Amz-Signature=test&X-Amz-SignedHeaders=host"}