GetPropertyGalleryResponse
GetPropertyGalleryResponse - hotel photo gallery response.
previews object[]
Room preview tabs
Room/object ID (UUID string, empty for hotel-level)
Room name
Full path to cover photo (e.g., "https://cdn.example.com/photos/xxx/")
File name of cover photo (e.g., "cover.jpg")
Number of photos in this room
media object[]
Media items for current page
Room/object ID (UUID string, empty for hotel-level)
Photo ID (int32 to ensure JSON number serialization)
Photo title/description
Full path to photo (e.g., "https://cdn.example.com/photos/xxx/")
File name of photo (e.g., "photo1.jpg")
tags object[]
Photo tags (array of tag objects)
Tag ID (1-7)
Tag name (BEDROOM, KITCHEN, BATHROOM, YARD, VIEW_FROM_WINDOW, POOL, OTHER)
Aspect ratio as float (e.g., 1.333 for 4:3, 1.778 for 16:9)
Date photo was added (ISO format string, e.g., "2024-01-15")
Total media count (respects tag filter)
{
"previews": [
{
"roomTypeId": "string",
"name": "string",
"fullPath": "string",
"fileName": "string",
"count": 0
}
],
"media": [
{
"roomTypeId": "string",
"id": 0,
"title": "string",
"fullPath": "string",
"fileName": "string",
"tags": [
{
"id": 0,
"name": "string"
}
],
"aspectRatio": 0,
"dateAdd": "string"
}
],
"count": 0
}