A media item represents photos & other media that are associated with a package. These maybe used as the primary photo for the package, or as other photos that can be used to show off the package to perspective travelers.
{
"id": "52e805b73e269ebd6d00003a",
"src": "\/uploads\/images\/experiences\/52e804703e269e9e73000014\/52e805b73e269ebd6d00003a.jpg",
"type": "photo",
"caption": "Knights jousting",
"seq": 0
}
Attribute | Type | Definition |
---|---|---|
src | url | An absolute or relative path to the location of the original uploaded media. |
type | string | Type of the media. Currently only supports photo . |
caption | string | Short descripton of the media. |
seq | integer | Sequence in which to display the media in relation to other media. |