Show Shortened Url List
const url = 'https://api.wink.travel/api/managing-entity/owner-1/wink-links/shortened-url/list';const options = {method: 'GET', headers: {'Wink-Version': '2.0'}};
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/owner-1/wink-links/shortened-url/list \ --header 'Wink-Version: 2.0'Retrieve list of syndication entries.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”List syndication entries owned by this owner identifier.
Example
owner-1Header 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.
Creator of entry
AffiliateAccount / Owner identifier
The site name of this entry
The type of document the uniqueId links to
This is the unique ID for the specific URL we want to catch
Entity ID is where the unique ID originated from. This will be empty if it’s just a regular url. Required when type IS NOT URL.
For times when the user just wants to shorten a url and there is no underlying entity to speak of. Required when type IS URL.
The image list
object
The image url
The secure url
Image content type
Image width
Image height
Alt text
The video list
object
The image url
The secure url
Image content type
Image width
Image height
Alt text
The audio list
object
The image url
The secure url
Image content type
Image width
Image height
Alt text
Localized descriptions describing inventory.
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.
The main media for this entry.
object
Document identifier
Use this identifier to communicate with Cloudinary.
Whether Cloudinary media is a VIDEO or IMAGE.
Currently ONLY using Cloudinary to store all image / video assets.
Sort allows you to control how you want to sort this record in a list of media records.
Media angle
Media width in pixels.
Media height in pixels.
Instead of deleting the media, choose to un-publish it instead for later re-use. Could be you keep seasonal images of the property.
Supported OTA specification PIC code. See OTA geoname data
Localized media captions to give user some context about where this media was taken.
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.
Associate this media with a specific lifestyle type. A user searching and filtering inventory based on lifestyles can be shown relevant media first.
Whether image has attribution properties
object
URL to contributor
Name of contributor
True if media width is greater or equal to height
Extended metadata
object
Example
[ { "id": "", "createdDate": "", "lastUpdate": "", "version": "", "userIdentifier": "", "ownerIdentifier": "", "title": "", "type": "SELLABLE_INVENTORY_SLUG", "uniqueId": "", "entityId": "", "url": "", "imageList": [ "" ], "videoList": [ "" ], "audioList": [ "" ], "descriptions": [ "" ], "multimedias": [ null ], "metadata": "", "previousUniqueIds": [ "" ] }]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
{}