diff --git a/docs/async-api/async-api.json b/docs/async-api/async-api.json index 418409cf..d45dae2b 100644 --- a/docs/async-api/async-api.json +++ b/docs/async-api/async-api.json @@ -111,6 +111,9 @@ "type": "string", "description": "The original long URL." }, + "deviceLongUrls": { + "$ref": "#/components/schemas/DeviceLongUrls" + }, "dateCreated": { "type": "string", "format": "date-time", @@ -152,6 +155,11 @@ "shortCode": "12C18", "shortUrl": "https://s.test/12C18", "longUrl": "https://store.steampowered.com", + "deviceLongUrls": { + "android": "https://store.steampowered.com/android", + "ios": "https://store.steampowered.com/ios", + "desktop": null + }, "dateCreated": "2016-08-21T20:34:16+02:00", "visitsSummary": { "total": 328, @@ -215,6 +223,24 @@ } } }, + "DeviceLongUrls": { + "type": "object", + "required": ["android", "ios", "desktop"], + "properties": { + "android": { + "description": "The long URL to redirect to when the short URL is visited from a device running Android", + "type": "string" + }, + "ios": { + "description": "The long URL to redirect to when the short URL is visited from a device running iOS", + "type": "string" + }, + "desktop": { + "description": "The long URL to redirect to when the short URL is visited from a desktop browser", + "type": "string" + } + } + }, "Visit": { "type": "object", "properties": {