This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a list of media items in a specified gallery.
Gallery ID.
Number of media items to skip in the response.
Default: 0
Maximum number of media items to return.
Min: 1
Max: 100
Default: 50
List of media items in the gallery.
curl -X GET \
'https://www.wixapis.com/progallery/v2/galleries/e481d9b4-14b9-4a98-ae52-67f4170e3a63/items' \
-H 'Authorization: <AUTH>'
{
"items": [
{
"id": "534264c7-0c61-45ce-b414-891aacadf4c2",
"sortOrder": 1657439075188,
"title": "Text Item 1",
"description": "This is a text item in my gallery.",
"type": "TEXT",
"text": {
"html": "\n <div class=\"te-pro-gallery-text-item\"\n style=\"padding: 30px;\n width: 420px;\n height: 420px;\n background-color: rgba(232, 230, 230, 0.7);\n transform-style: preserve-3d;\n overflow: hidden;\n word-wrap: break-word;\n font-style: normal; font-weight:normal;\n \">\n <div style=\"\n position: relative;\n top: 50%;\n transform: translateY(-50%);\">\n <p style=\"text-align:center\"><span style=\"color:#d2f6de;\"><span style=\"font-size:50px\">woohoo</span></span></p>\n\n </div>\n </div>",
"css": {
"backgroundColor": "rgba(232, 230, 230, 0.7)",
"googleFonts": [],
"height": 420,
"textVerticalAlignment": "middle",
"canvasLayout": "square",
"ratio": -50,
"padding": 30,
"width": 420
}
},
"createdDate": "2021-03-30T15:23:22Z"
},
{
"id": "a045b201-ee7d-447c-b0c3-746cba83253c",
"sortOrder": 1644317968.985,
"title": "Some Title",
"description": "Some Description",
"type": "IMAGE",
"image": {
"type": "WIX_MEDIA",
"imageInfo": {
"id": "11062b_12703ed9a6574547bcaed22b1ce44eef~mv2.jpeg",
"url": "https://static.wixstatic.com/media/11062b_12703ed9a6574547bcaed22b1ce44eef~mv2.jpeg",
"height": 4298,
"width": 6446,
"altText": "Some Alt",
"filename": "11062b_12703ed9a6574547bcaed22b1ce44eef~mv2.jpeg"
}
},
"createdDate": "2022-02-08T10:59:29Z",
"tags": {
"values": ["image"]
}
},
{
"id": "17c786c6-5d5d-4271-995a-02d007809064",
"sortOrder": 1642505672333,
"title": "Video",
"description": "Video description",
"type": "VIDEO",
"video": {
"type": "YOUTUBE",
"videoInfo": {
"id": "",
"resolutions": [
{
"url": "https://www.youtube.com/watch?v=NCtzkaL2t_Y&ab_channel=TheBeatlesVEVO",
"height": 0,
"width": 0,
"format": "Youtube",
"quality": null,
"filename": null
}
],
"url": "https://www.youtube.com/watch?v=NCtzkaL2t_Y&ab_channel=TheBeatlesVEVO",
"posters": [
{
"id": "468ec5_347f032da9a04e5b9c03ad2a14a07b52~mv2.jpg",
"url": "https://static.wixstatic.com/media/468ec5_347f032da9a04e5b9c03ad2a14a07b52~mv2.jpg",
"height": 720,
"width": 1280,
"altText": null,
"urlExpirationDate": null,
"filename": "468ec5_347f032da9a04e5b9c03ad2a14a07b52~mv2.jpg",
"sizeInBytes": null
}
]
}
},
"createdDate": "2022-01-18T11:34:34Z"
},
{
"id": "975a57a1-eccd-4e28-aac5-265be4dbb4f8",
"sortOrder": 1646212412985,
"title": "Mountainous Landscape",
"description": "Mountainous Landscape Description",
"type": "VIDEO",
"video": {
"type": "WIX_MEDIA",
"videoInfo": {
"id": "11062b_20125b6ebe434abd96c4d7773634d1db",
"resolutions": [
{
"url": "https://video.wixstatic.com/video/11062b_20125b6ebe434abd96c4d7773634d1db/480p/mp4/file.mp4",
"height": 480,
"width": 854,
"format": "mp4",
"quality": "480p"
},
{
"url": "https://video.wixstatic.com/video/11062b_20125b6ebe434abd96c4d7773634d1db/720p/mp4/file.mp4",
"height": 720,
"width": 1280,
"format": "mp4",
"quality": "720p"
},
{
"url": "https://video.wixstatic.com/video/11062b_20125b6ebe434abd96c4d7773634d1db/1080p/mp4/file.mp4",
"height": 1080,
"width": 1920,
"format": "mp4",
"quality": "1080p"
}
],
"filename": "11062b_20125b6ebe434abd96c4d7773634d1db",
"url": "https://video.wixstatic.com/video/11062b_20125b6ebe434abd96c4d7773634d1db/1080p/mp4/file.mp4",
"posters": [
{
"id": "11062b_20125b6ebe434abd96c4d7773634d1dbf000.jpg",
"url": "https://static.wixstatic.com/media/11062b_20125b6ebe434abd96c4d7773634d1dbf000.jpg",
"height": 2160,
"width": 3840,
"filename": "11062b_20125b6ebe434abd96c4d7773634d1dbf000.jpg"
},
{
"id": "11062b_20125b6ebe434abd96c4d7773634d1dbf001.jpg",
"url": "https://static.wixstatic.com/media/11062b_20125b6ebe434abd96c4d7773634d1dbf001.jpg",
"height": 2160,
"width": 3840,
"filename": "11062b_20125b6ebe434abd96c4d7773634d1dbf001.jpg"
},
{
"id": "11062b_20125b6ebe434abd96c4d7773634d1dbf002.jpg",
"url": "https://static.wixstatic.com/media/11062b_20125b6ebe434abd96c4d7773634d1dbf002.jpg",
"height": 2160,
"width": 3840,
"filename": "11062b_20125b6ebe434abd96c4d7773634d1dbf002.jpg"
},
{
"id": "11062b_20125b6ebe434abd96c4d7773634d1dbf003.jpg",
"url": "https://static.wixstatic.com/media/11062b_20125b6ebe434abd96c4d7773634d1dbf003.jpg",
"height": 2160,
"width": 3840,
"filename": "11062b_20125b6ebe434abd96c4d7773634d1dbf003.jpg"
}
]
},
"duration": "20000"
},
"createdDate": "2022-03-02T09:13:33Z"
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.