A media item is a photo or other media file that is associated with an experience. Media may be used as the primary photo for the experience, or as other photos that can be used to show off the experience to perspective travelers, for example.
{
"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 description of the media. |
seq | integer | Sequence in which to display the media in relation to other media. |