List grids
const url = 'https://api.wink.travel/api/managing-entity/c9f7e4e0-3d6f-6c1e-0f5f-8f2d4e7c3f15/studio/grids/list';const options = { method: 'GET', headers: {'Wink-Version': '2.0', Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.wink.travel/api/managing-entity/c9f7e4e0-3d6f-6c1e-0f5f-8f2d4e7c3f15/studio/grids/list \ --header 'Authorization: Bearer <token>' \ --header 'Wink-Version: 2.0'Lists all curated and saved-search grids owned by the managing entity.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Managing entity identifier that owns the grids.
Example
c9f7e4e0-3d6f-6c1e-0f5f-8f2d4e7c3f15Header Parameters
Section titled “Header Parameters ”Responses
Section titled “ Responses ”OK
object
Document UUID
Datetime this record was first created
Datetime this record was last updated
Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
Managing entity (account owner) identifier
Descriptive name of this grid for seller use only
Customization configuration identifier
Contains localized title and description of grid (at least one entry in English required)
object
Use as title or short text description
Longer text description
Indicate which language this description is written in.
Whether it was user or system generated.
The md5 hash of the name, description and language.
Keywords and metadata tags for the grid used for SEO and filtering purposes
Current status of the grid (ACTIVE, INACTIVE, ARCHIVED)
List type
Inventory record identifier for the curated list, saved search, or channel (format varies by listType)
Generate an animated GIF from multiple images instead of a static grid (requires at least 2 images)
Delay between animation frames in milliseconds; -1 disables animation
Badge type and sort order for display on the web component (MEMBER, BEST_VALUE, TOP_RATED, etc.)
Indicate which initial values to display first on the front-facing card
Example
[ { "id": "", "createdDate": "", "lastUpdate": "", "version": "", "ownerIdentifier": "", "name": "", "customizationIdentifier": "", "descriptions": "", "keywords": "", "status": "ACTIVE", "listType": "SINGLE", "listIdentifier": "", "animate": false, "animateDelay": -1, "sort": "MEMBER", "displayType": "NATIVE" }]Bad Request
object
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "https://example.com", "properties": { "additionalProperty": "example" }}object
object
object
object
object
object
object
object
Unauthorized
object
object
Forbidden
object
object
Internal Server Error
object
Example generated
{}