Images¶
Image
represents an image that is made available in the G API. An Image
resource stands on its own, but various objects within the API can be
associated with images. Images are generally attached to
activity dossiers, transport dossiers, accommodation dossiers, and
itineraries
XML Schema:
Resource Definition¶
Note
This resource can be searched, allowing to you to access a filtered set of data. See our Searching The G API documentation for details on how to query specific fields and the operators available.
Fields
Name |
Type |
Description |
---|---|---|
id read-only |
String |
|
href read-only |
Field |
|
date_created |
Datetime |
The time when the resource was created, in the standard Dates & Times. |
date_last_modified |
Datetime |
The time when the resource was last modified, in the standard Dates & Times. |
modification required |
String |
Modification type performed on this image. |
variation_id read-only |
Field |
Augmented directly in GAPI; copy of the modification field |
file required |
Nested Object |
The URL, and base64-encoded data of the image |
|
String |
The absolute url where the image can be found. |
|
String |
base64-encoded representation of the image. |
|
String |
Mime-type as identified by extension. |
|
Field |
A list of EXIF data extracted from the image. There is no guarantee for what type will be available. |
description required |
String |
A free-form description about the image |
keywords required |
Field |
A list of keywords describing this image. |
|
String |
A label identifying this keyword. |
attribution required |
Nested Object |
Information containing who this image belongs to, licensing, and author. |
|
Nested Object |
|
|
String |
Original source URL of the image. |
|
String |
Original source title of the image. |
|
Nested Object |
|
|
String |
Name of the licence applied to this image. |
|
String |
The original author of the image. |
channels required |
Field |
Channels help segment an image into various mediums and organizations. For example, many images may be under the ‘G Adventures’ channel to identify who they belong to. This provides an easy method for disecting a list of images. |
|
String |
A unique identifier for the channel. |
|
String |
Identifying label for the channel. This can change, so it should be used for display purposes only. |
type required |
String |
The type of the image. Can be one of |
original read-only |
Reference Object |
Source image for variation |
variations required |
Field |
A list of variations on this image. |
|
String |
Modification type performed on this image. |
|
Field |
Get an Image
- GET /images/(string: image_id)¶