Get Image URL

URL:
https://<imageservice-url>/getImageUrl
Methods:
GET
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

ParameterDetails

uri

Specifies the URI of the image.

Example

Use dark colors for code blocksCopy
1
uri=/vsis3/ortho-maker/BrewertonTank/BrewertonTank/DJI_0707.JPG

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:

Use dark colors for code blocksCopy
1
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

Use dark colors for code blocksCopy
1
2
3
{
  "imageURL": <url>
}

JSON Response example

Use dark colors for code blocksCopy
1
{"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"}

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