Excerpt | ||
---|---|---|
| ||
Returns a metadata file with information about one discrete image. |
Table of Contents |
---|
Introduction
This service will take an image ID and return the image’s full metadata. This service is similar to FindImages, FindImagesInPoint, and FindImagesInPolygon services but assumes you already know the image ID and need to extract metadata. FindImages will offer the added functionality of returning metadata for a list of image_ids.
Technical Details
Base URL
This service will answer to requests on following URL
https://api.gic.org/metadata/ImageMetadata?format={format}&discreteId={discreteId}&token={token}
or
https://api.gic.org/metadata/ImageMetadata/{format}/{discreteId}?token={token}
Parameters
Parameter | Parameter Type | Data Type | Description | Example Format | Notes | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Mandatory: | ||||||||||||
| Ordered REST (1st) - or - Key Value Pair (KVP) | String | The format of the response file.
| Ordered REST: |
| |||||||
| Ordered REST (2nd) - or - Key Value Pair | String | The ID for the discrete image. Referred to as | Ordered REST: |
| |||||||
| Key Value Pair | String | The token used to authenticate the requests. |
|
| |||||||
Optional: | ||||||||||||
| Key Value Pair | String | The customizable name of the padding function for |
|
|
Examples
Rock and Roll Hall of Fame - Cleveland, Ohio - Demonstrating mandatory parametershttps://api.gic.org/metadata/ImageMetadata/json/2020~us-oh-westlake-2020~images~2827-lvl02-oblique-left_rgb?token={token}
________________________________________________________________________________________
Pro Football Hall of Fame - Canton, Ohio - Demonstrating jsonp
and jsonpFunction
https://api.gic.org/metadata/ImageMetadata/jsonp/2021~us-oh-canton-2021~images~NW_20210629_141953_88_38140976641F2A6_rgb?jsonpFunction=SampleName&token={token}