Download OpenAPI specification:
API documentation for STQRY's public API
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Enum: "coupon_code" "valid_from" "valid_to" "redemptions" "id" Field to sort by |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Direction to sort by |
| include_archived | boolean Include archived codes |
| tags | string Comma separated list of tags. Tags are ANDed |
| valid_now | boolean Currently valid codes |
| q | string Search query |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "codes": [
- {
- "id": 0,
- "status": "expired",
- "redemption_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "linked_id": 0,
- "linked_type": "Project",
- "coupon_code": "string",
- "project_id": 0,
- "valid_from": "2021-01-01",
- "valid_to": "2021-01-01",
- "max_redemptions": 0,
- "expire_after": 0,
- "timezone": "string",
- "tags": [
- "string"
]
}
]
}Code
required | object (CodePartial) Writable code fields |
{- "code": {
- "linked_id": 0,
- "linked_type": "Project",
- "coupon_code": "string",
- "project_id": 0,
- "valid_from": "2021-01-01",
- "valid_to": "2021-01-01",
- "max_redemptions": 0,
- "expire_after": 0,
- "timezone": "string",
- "tags": [
- "string"
]
}
}{- "code": {
- "id": 0,
- "status": "expired",
- "redemption_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "linked_id": 0,
- "linked_type": "Project",
- "coupon_code": "string",
- "project_id": 0,
- "valid_from": "2021-01-01",
- "valid_to": "2021-01-01",
- "max_redemptions": 0,
- "expire_after": 0,
- "timezone": "string",
- "tags": [
- "string"
]
}
}| id required | integer ID of the Code to retrieve |
{- "code": {
- "id": 0,
- "status": "expired",
- "redemption_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "linked_id": 0,
- "linked_type": "Project",
- "coupon_code": "string",
- "project_id": 0,
- "valid_from": "2021-01-01",
- "valid_to": "2021-01-01",
- "max_redemptions": 0,
- "expire_after": 0,
- "timezone": "string",
- "tags": [
- "string"
]
}
}| id required | integer ID of the Code to retrieve |
Code
required | object (CodePartial) Writable code fields |
{- "code": {
- "linked_id": 0,
- "linked_type": "Project",
- "coupon_code": "string",
- "project_id": 0,
- "valid_from": "2021-01-01",
- "valid_to": "2021-01-01",
- "max_redemptions": 0,
- "expire_after": 0,
- "timezone": "string",
- "tags": [
- "string"
]
}
}{- "code": {
- "id": 0,
- "status": "expired",
- "redemption_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "linked_id": 0,
- "linked_type": "Project",
- "coupon_code": "string",
- "project_id": 0,
- "valid_from": "2021-01-01",
- "valid_to": "2021-01-01",
- "max_redemptions": 0,
- "expire_after": 0,
- "timezone": "string",
- "tags": [
- "string"
]
}
}| id required | integer ID of the Code to retrieve |
Code
required | object (CodePartial) Writable code fields |
{- "code": {
- "linked_id": 0,
- "linked_type": "Project",
- "coupon_code": "string",
- "project_id": 0,
- "valid_from": "2021-01-01",
- "valid_to": "2021-01-01",
- "max_redemptions": 0,
- "expire_after": 0,
- "timezone": "string",
- "tags": [
- "string"
]
}
}{- "code": {
- "id": 0,
- "status": "expired",
- "redemption_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "linked_id": 0,
- "linked_type": "Project",
- "coupon_code": "string",
- "project_id": 0,
- "valid_from": "2021-01-01",
- "valid_to": "2021-01-01",
- "max_redemptions": 0,
- "expire_after": 0,
- "timezone": "string",
- "tags": [
- "string"
]
}
}| collection_id required | integer ID of the parent Collection |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "collection_items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "item_type": "Collection",
- "item_id": 0,
- "item_number": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_pin_icon": "string",
- "map_pin_style": "string",
- "map_pin_colour": "string",
- "map_layer_id": 0,
- "geofence": "off",
- "gps_settings": {
- "radius": 0,
- "angle": 0,
- "altitude_max": 0,
- "altitude_min": 0,
- "geofence_lat": 0.1,
- "geofence_lng": 0.1,
- "geofence_content": true
}, - "beacon_settings": {
- "uuid": "string",
- "major": 0,
- "minor": 0,
- "distance": "near",
- "meters": 0,
- "geofence_content": true
}
}
]
}| collection_id required | integer ID of the parent Collection |
CollectionItem
| position | integer |
| item_type | string Enum: "Collection" "Screen" "CollectionItem" "CrossRegionLink" Type of the linked item |
| item_id | integer |
integer or null | |
number or null | |
number or null | |
string or null | |
string or null | |
string or null | |
integer or null | |
| geofence | string Enum: "off" "gps" "beacon" Geofence mode |
GpsSettings (object) or null | |
BeaconSettings (object) or null |
{- "position": 0,
- "item_type": "Collection",
- "item_id": 0,
- "item_number": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_pin_icon": "string",
- "map_pin_style": "string",
- "map_pin_colour": "string",
- "map_layer_id": 0,
- "geofence": "off",
- "gps_settings": {
- "radius": 0,
- "angle": 0,
- "altitude_max": 0,
- "altitude_min": 0,
- "geofence_lat": 0.1,
- "geofence_lng": 0.1,
- "geofence_content": true
}, - "beacon_settings": {
- "uuid": "string",
- "major": 0,
- "minor": 0,
- "distance": "near",
- "meters": 0,
- "geofence_content": true
}
}{- "collection_item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "item_type": "Collection",
- "item_id": 0,
- "item_number": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_pin_icon": "string",
- "map_pin_style": "string",
- "map_pin_colour": "string",
- "map_layer_id": 0,
- "geofence": "off",
- "gps_settings": {
- "radius": 0,
- "angle": 0,
- "altitude_max": 0,
- "altitude_min": 0,
- "geofence_lat": 0.1,
- "geofence_lng": 0.1,
- "geofence_content": true
}, - "beacon_settings": {
- "uuid": "string",
- "major": 0,
- "minor": 0,
- "distance": "near",
- "meters": 0,
- "geofence_content": true
}
}
}| collection_id required | integer ID of the parent Collection |
Positions to update
required | Array of objects Array of collection item position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| collection_id required | integer ID of the parent Collection |
| id required | integer ID of the CollectionItem to retrieve |
{- "collection_item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "item_type": "Collection",
- "item_id": 0,
- "item_number": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_pin_icon": "string",
- "map_pin_style": "string",
- "map_pin_colour": "string",
- "map_layer_id": 0,
- "geofence": "off",
- "gps_settings": {
- "radius": 0,
- "angle": 0,
- "altitude_max": 0,
- "altitude_min": 0,
- "geofence_lat": 0.1,
- "geofence_lng": 0.1,
- "geofence_content": true
}, - "beacon_settings": {
- "uuid": "string",
- "major": 0,
- "minor": 0,
- "distance": "near",
- "meters": 0,
- "geofence_content": true
}
}
}| collection_id required | integer ID of the parent Collection |
| id required | integer ID of the CollectionItem to update |
CollectionItem
| position | integer |
| item_type | string Enum: "Collection" "Screen" "CollectionItem" "CrossRegionLink" Type of the linked item |
| item_id | integer |
integer or null | |
number or null | |
number or null | |
string or null | |
string or null | |
string or null | |
integer or null | |
| geofence | string Enum: "off" "gps" "beacon" Geofence mode |
GpsSettings (object) or null | |
BeaconSettings (object) or null |
{- "position": 0,
- "item_type": "Collection",
- "item_id": 0,
- "item_number": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_pin_icon": "string",
- "map_pin_style": "string",
- "map_pin_colour": "string",
- "map_layer_id": 0,
- "geofence": "off",
- "gps_settings": {
- "radius": 0,
- "angle": 0,
- "altitude_max": 0,
- "altitude_min": 0,
- "geofence_lat": 0.1,
- "geofence_lng": 0.1,
- "geofence_content": true
}, - "beacon_settings": {
- "uuid": "string",
- "major": 0,
- "minor": 0,
- "distance": "near",
- "meters": 0,
- "geofence_content": true
}
}{- "collection_item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "item_type": "Collection",
- "item_id": 0,
- "item_number": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_pin_icon": "string",
- "map_pin_style": "string",
- "map_pin_colour": "string",
- "map_layer_id": 0,
- "geofence": "off",
- "gps_settings": {
- "radius": 0,
- "angle": 0,
- "altitude_max": 0,
- "altitude_min": 0,
- "geofence_lat": 0.1,
- "geofence_lng": 0.1,
- "geofence_content": true
}, - "beacon_settings": {
- "uuid": "string",
- "major": 0,
- "minor": 0,
- "distance": "near",
- "meters": 0,
- "geofence_content": true
}
}
}| collection_id required | integer ID of the parent Collection |
| id required | integer ID of the CollectionItem to update |
CollectionItem
| position | integer |
| item_type | string Enum: "Collection" "Screen" "CollectionItem" "CrossRegionLink" Type of the linked item |
| item_id | integer |
integer or null | |
number or null | |
number or null | |
string or null | |
string or null | |
string or null | |
integer or null | |
| geofence | string Enum: "off" "gps" "beacon" Geofence mode |
GpsSettings (object) or null | |
BeaconSettings (object) or null |
{- "position": 0,
- "item_type": "Collection",
- "item_id": 0,
- "item_number": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_pin_icon": "string",
- "map_pin_style": "string",
- "map_pin_colour": "string",
- "map_layer_id": 0,
- "geofence": "off",
- "gps_settings": {
- "radius": 0,
- "angle": 0,
- "altitude_max": 0,
- "altitude_min": 0,
- "geofence_lat": 0.1,
- "geofence_lng": 0.1,
- "geofence_content": true
}, - "beacon_settings": {
- "uuid": "string",
- "major": 0,
- "minor": 0,
- "distance": "near",
- "meters": 0,
- "geofence_content": true
}
}{- "collection_item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "item_type": "Collection",
- "item_id": 0,
- "item_number": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_pin_icon": "string",
- "map_pin_style": "string",
- "map_pin_colour": "string",
- "map_layer_id": 0,
- "geofence": "off",
- "gps_settings": {
- "radius": 0,
- "angle": 0,
- "altitude_max": 0,
- "altitude_min": 0,
- "geofence_lat": 0.1,
- "geofence_lng": 0.1,
- "geofence_content": true
}, - "beacon_settings": {
- "uuid": "string",
- "major": 0,
- "minor": 0,
- "distance": "near",
- "meters": 0,
- "geofence_content": true
}
}
}| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Enum: "id" "name" "created_at" "updated_at" Field to sort by |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Direction to sort by |
| tags | string Comma separated list of tags. Tags are ANDed |
| q | string Search query |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "collections": [
- {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "description": { },
- "code_title": { },
- "code_text": { },
- "file_size": { },
- "stqry_directory_description": { },
- "stqry_directory_about": { },
- "stqry_directory_tips": { },
- "header_layout": "image_and_title",
- "list_layout": "wide",
- "tour_mode": "self_guided",
- "initial_layout": "default",
- "map_view_enabled": true,
- "search_enabled": true,
- "keypad_enabled": true,
- "qr_enabled": true,
- "sort_by": "list_order",
- "code_lock": true,
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "code_background_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "list",
- "preview_media_item_id": 0
}
]
}Collection
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
required | string or null (DateTime) |
required | string or null (DateTime) |
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
| title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| short_title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| code_title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| code_text | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| file_size | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_about | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_tips | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| header_layout required | string Enum: "image_and_title" "image" "none" "short" "tall" |
| list_layout required | string Enum: "wide" "grid" "list" |
| tour_mode required | string Enum: "self_guided" "guided" "auto_play" |
| initial_layout required | string Enum: "default" "map" |
| map_view_enabled required | boolean |
| search_enabled required | boolean |
| keypad_enabled required | boolean |
| qr_enabled required | boolean |
| sort_by required | string Enum: "list_order" "alphabetical" "distance" |
| code_lock required | boolean |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
| type | string Value: "list" |
integer or null |
{- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "description": { },
- "code_title": { },
- "code_text": { },
- "file_size": { },
- "stqry_directory_description": { },
- "stqry_directory_about": { },
- "stqry_directory_tips": { },
- "header_layout": "image_and_title",
- "list_layout": "wide",
- "tour_mode": "self_guided",
- "initial_layout": "default",
- "map_view_enabled": true,
- "search_enabled": true,
- "keypad_enabled": true,
- "qr_enabled": true,
- "sort_by": "list_order",
- "code_lock": true,
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "code_background_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "search",
- "parent_collection_id": 0,
- "search_types": 0,
- "default_search_types": 0
}{- "collection": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "description": { },
- "code_title": { },
- "code_text": { },
- "file_size": { },
- "stqry_directory_description": { },
- "stqry_directory_about": { },
- "stqry_directory_tips": { },
- "header_layout": "image_and_title",
- "list_layout": "wide",
- "tour_mode": "self_guided",
- "initial_layout": "default",
- "map_view_enabled": true,
- "search_enabled": true,
- "keypad_enabled": true,
- "qr_enabled": true,
- "sort_by": "list_order",
- "code_lock": true,
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "code_background_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "list",
- "preview_media_item_id": 0
}
}| id required | integer ID of the Collection to retrieve |
{- "collection": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "description": { },
- "code_title": { },
- "code_text": { },
- "file_size": { },
- "stqry_directory_description": { },
- "stqry_directory_about": { },
- "stqry_directory_tips": { },
- "header_layout": "image_and_title",
- "list_layout": "wide",
- "tour_mode": "self_guided",
- "initial_layout": "default",
- "map_view_enabled": true,
- "search_enabled": true,
- "keypad_enabled": true,
- "qr_enabled": true,
- "sort_by": "list_order",
- "code_lock": true,
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "code_background_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "list",
- "preview_media_item_id": 0
}
}| id required | integer ID of the Collection to update |
Collection
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
required | string or null (DateTime) |
required | string or null (DateTime) |
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
| title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| short_title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| code_title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| code_text | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| file_size | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_about | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_tips | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| header_layout required | string Enum: "image_and_title" "image" "none" "short" "tall" |
| list_layout required | string Enum: "wide" "grid" "list" |
| tour_mode required | string Enum: "self_guided" "guided" "auto_play" |
| initial_layout required | string Enum: "default" "map" |
| map_view_enabled required | boolean |
| search_enabled required | boolean |
| keypad_enabled required | boolean |
| qr_enabled required | boolean |
| sort_by required | string Enum: "list_order" "alphabetical" "distance" |
| code_lock required | boolean |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
| type | string Value: "list" |
integer or null |
{- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "description": { },
- "code_title": { },
- "code_text": { },
- "file_size": { },
- "stqry_directory_description": { },
- "stqry_directory_about": { },
- "stqry_directory_tips": { },
- "header_layout": "image_and_title",
- "list_layout": "wide",
- "tour_mode": "self_guided",
- "initial_layout": "default",
- "map_view_enabled": true,
- "search_enabled": true,
- "keypad_enabled": true,
- "qr_enabled": true,
- "sort_by": "list_order",
- "code_lock": true,
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "code_background_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "search",
- "parent_collection_id": 0,
- "search_types": 0,
- "default_search_types": 0
}{- "collection": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "description": { },
- "code_title": { },
- "code_text": { },
- "file_size": { },
- "stqry_directory_description": { },
- "stqry_directory_about": { },
- "stqry_directory_tips": { },
- "header_layout": "image_and_title",
- "list_layout": "wide",
- "tour_mode": "self_guided",
- "initial_layout": "default",
- "map_view_enabled": true,
- "search_enabled": true,
- "keypad_enabled": true,
- "qr_enabled": true,
- "sort_by": "list_order",
- "code_lock": true,
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "code_background_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "list",
- "preview_media_item_id": 0
}
}| id required | integer ID of the Collection to update |
Collection
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
required | string or null (DateTime) |
required | string or null (DateTime) |
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
| title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| short_title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| code_title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| code_text | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| file_size | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_about | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_tips | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| header_layout required | string Enum: "image_and_title" "image" "none" "short" "tall" |
| list_layout required | string Enum: "wide" "grid" "list" |
| tour_mode required | string Enum: "self_guided" "guided" "auto_play" |
| initial_layout required | string Enum: "default" "map" |
| map_view_enabled required | boolean |
| search_enabled required | boolean |
| keypad_enabled required | boolean |
| qr_enabled required | boolean |
| sort_by required | string Enum: "list_order" "alphabetical" "distance" |
| code_lock required | boolean |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
| type | string Value: "list" |
integer or null |
{- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "description": { },
- "code_title": { },
- "code_text": { },
- "file_size": { },
- "stqry_directory_description": { },
- "stqry_directory_about": { },
- "stqry_directory_tips": { },
- "header_layout": "image_and_title",
- "list_layout": "wide",
- "tour_mode": "self_guided",
- "initial_layout": "default",
- "map_view_enabled": true,
- "search_enabled": true,
- "keypad_enabled": true,
- "qr_enabled": true,
- "sort_by": "list_order",
- "code_lock": true,
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "code_background_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "search",
- "parent_collection_id": 0,
- "search_types": 0,
- "default_search_types": 0
}{- "collection": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "description": { },
- "code_title": { },
- "code_text": { },
- "file_size": { },
- "stqry_directory_description": { },
- "stqry_directory_about": { },
- "stqry_directory_tips": { },
- "header_layout": "image_and_title",
- "list_layout": "wide",
- "tour_mode": "self_guided",
- "initial_layout": "default",
- "map_view_enabled": true,
- "search_enabled": true,
- "keypad_enabled": true,
- "qr_enabled": true,
- "sort_by": "list_order",
- "code_lock": true,
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "code_background_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "list",
- "preview_media_item_id": 0
}
}| id required | integer ID of the Collection to delete |
| language | string Language locale to delete (deletes only that translation instead of the whole collection) |
{- "collection": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "description": { },
- "code_title": { },
- "code_text": { },
- "file_size": { },
- "stqry_directory_description": { },
- "stqry_directory_about": { },
- "stqry_directory_tips": { },
- "header_layout": "image_and_title",
- "list_layout": "wide",
- "tour_mode": "self_guided",
- "initial_layout": "default",
- "map_view_enabled": true,
- "search_enabled": true,
- "keypad_enabled": true,
- "qr_enabled": true,
- "sort_by": "list_order",
- "code_lock": true,
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "code_background_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "list",
- "preview_media_item_id": 0
}
}| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Enum: "id" "name" "created_at" "updated_at" Field to sort by |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Direction to sort by |
| q | string Search query |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "media_items": [
- {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": { },
- "attribution": { },
- "description": { }
}
]
}MediaItem
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
required | string or null (DateTime) |
required | string or null (DateTime) |
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
integer or object (TranslatedUploadedFileId) | |
| type | string Value: "image" |
| caption | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| attribution | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "data"
}{- "media_item": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": { },
- "attribution": { },
- "description": { }
}
}| id required | integer ID of the MediaItem to retrieve |
{- "media_item": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": { },
- "attribution": { },
- "description": { }
}
}| id required | integer ID of the MediaItem to update |
MediaItem
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
required | string or null (DateTime) |
required | string or null (DateTime) |
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
integer or object (TranslatedUploadedFileId) | |
| type | string Value: "image" |
| caption | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| attribution | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "data"
}{- "media_item": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": { },
- "attribution": { },
- "description": { }
}
}| id required | integer ID of the MediaItem to update |
MediaItem
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
required | string or null (DateTime) |
required | string or null (DateTime) |
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
integer or object (TranslatedUploadedFileId) | |
| type | string Value: "image" |
| caption | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| attribution | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "data"
}{- "media_item": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": { },
- "attribution": { },
- "description": { }
}
}| id required | integer ID of the MediaItem to delete |
| language | string Language locale to delete (deletes only that translation instead of the whole media item) |
{- "media_item": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": { },
- "attribution": { },
- "description": { }
}
}| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Enum: "id" "name" "created_at" "updated_at" Field to sort by |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Direction to sort by |
| tags | string Comma separated list of tags. Tags are ANDed |
| q | string Search query |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "projects": [
- {
- "id": 0,
- "name": "string",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Enum: "id" "name" "created_at" "updated_at" Field to sort by |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Direction to sort by |
| q | string Search query |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "screens": [
- {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "stqry_directory_short_description": { },
- "stqry_directory_full_description": { },
- "header_layout": "image_and_title",
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "background_image_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "story"
}
]
}Screen
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
required | string or null (DateTime) |
required | string or null (DateTime) |
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
| title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| short_title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_short_description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_full_description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| header_layout | string Enum: "image_and_title" "image" "none" "short" "tall" |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
| type | string Value: "story" |
{- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "stqry_directory_short_description": { },
- "stqry_directory_full_description": { },
- "header_layout": "image_and_title",
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "background_image_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "kiosk",
- "kiosk_id": 0,
- "layout": "hotspots",
- "map_id": 0,
- "page_type": "URL",
- "scrolling": "none",
- "webpackage_media_item_id": 0,
- "settings": {
- "lat": 0.1,
- "lng": 0.1,
- "zoom": 0,
- "home_node_id": 0
}, - "url": { },
- "html": { },
- "css": { }
}{- "screen": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "stqry_directory_short_description": { },
- "stqry_directory_full_description": { },
- "header_layout": "image_and_title",
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "background_image_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "story"
}
}| id required | integer ID of the Screen to retrieve |
{- "screen": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "stqry_directory_short_description": { },
- "stqry_directory_full_description": { },
- "header_layout": "image_and_title",
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "background_image_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "story",
- "story_sections": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "text",
- "subtitle": { },
- "body": { }
}
]
}
}| id required | integer ID of the Screen to update |
Screen
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
required | string or null (DateTime) |
required | string or null (DateTime) |
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
| title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| short_title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_short_description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_full_description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| header_layout | string Enum: "image_and_title" "image" "none" "short" "tall" |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
| type | string Value: "story" |
{- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "stqry_directory_short_description": { },
- "stqry_directory_full_description": { },
- "header_layout": "image_and_title",
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "background_image_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "kiosk",
- "kiosk_id": 0,
- "layout": "hotspots",
- "map_id": 0,
- "page_type": "URL",
- "scrolling": "none",
- "webpackage_media_item_id": 0,
- "settings": {
- "lat": 0.1,
- "lng": 0.1,
- "zoom": 0,
- "home_node_id": 0
}, - "url": { },
- "html": { },
- "css": { }
}{- "screen": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "stqry_directory_short_description": { },
- "stqry_directory_full_description": { },
- "header_layout": "image_and_title",
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "background_image_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "story"
}
}| id required | integer ID of the Screen to update |
Screen
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
required | string or null (DateTime) |
required | string or null (DateTime) |
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "ko" "lkt" "lld" "lo" "lt" "lv" "mi" "ms" "ne" "nl" "no" "oji" "pa" "pap" "pl" "pt" "pt-BR" "ro" "ru" "see" "sm" "so" "st" "sv" "swb" "ta" "th" "tl" "tn" "to" "tr" "uk" "vi" "xh" "zh-Hans" "zh-Hant" "zu" |
| title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| short_title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_short_description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| stqry_directory_full_description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| header_layout | string Enum: "image_and_title" "image" "none" "short" "tall" |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
| type | string Value: "story" |
{- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "stqry_directory_short_description": { },
- "stqry_directory_full_description": { },
- "header_layout": "image_and_title",
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "background_image_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "kiosk",
- "kiosk_id": 0,
- "layout": "hotspots",
- "map_id": 0,
- "page_type": "URL",
- "scrolling": "none",
- "webpackage_media_item_id": 0,
- "settings": {
- "lat": 0.1,
- "lng": 0.1,
- "zoom": 0,
- "home_node_id": 0
}, - "url": { },
- "html": { },
- "css": { }
}{- "screen": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "stqry_directory_short_description": { },
- "stqry_directory_full_description": { },
- "header_layout": "image_and_title",
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "background_image_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "story"
}
}| id required | integer ID of the Screen to delete |
| language | string Language locale to delete (deletes only that translation instead of the whole screen) |
{- "screen": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "title": { },
- "short_title": { },
- "stqry_directory_short_description": { },
- "stqry_directory_full_description": { },
- "header_layout": "image_and_title",
- "cover_image_media_item_id": 0,
- "cover_image_grid_media_item_id": 0,
- "cover_image_wide_media_item_id": 0,
- "background_image_media_item_id": 0,
- "logo_media_item_id": 0,
- "type": "story"
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
{- "items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "badge_id": 0,
- "badge_group_id": 0,
- "position": 0
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
StorySectionBadgeItem
integer or null | |
integer or null | |
| position | integer |
{- "badge_id": 0,
- "badge_group_id": 0,
- "position": 0
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "badge_id": 0,
- "badge_group_id": 0,
- "position": 0
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionBadgeItem to update |
StorySectionBadgeItem
integer or null | |
integer or null | |
| position | integer |
{- "badge_id": 0,
- "badge_group_id": 0,
- "position": 0
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "badge_id": 0,
- "badge_group_id": 0,
- "position": 0
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionBadgeItem to update |
StorySectionBadgeItem
integer or null | |
integer or null | |
| position | integer |
{- "badge_id": 0,
- "badge_group_id": 0,
- "position": 0
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "badge_id": 0,
- "badge_group_id": 0,
- "position": 0
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionBadgeItem to delete |
{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
{- "items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "link_type": "twitter",
- "icon_type": "media_item",
- "stock_icon": "string",
- "item_type": "Bundle",
- "item_id": 0,
- "position": 0,
- "link_text": { },
- "url": { },
- "username": { }
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
StorySectionLinkItem
| link_type | string Enum: "twitter" "whatsapp" "wechat" "facebook" "instagram" "pinterest" "youtube" "vimeo" "linkedin" "tiktok" "weibo" "bluesky" "internal" "url" "email" "phone" "live_tours" "settings" "badges" "favourites" "download" "app_rating" "search" |
| icon_type | string Enum: "media_item" "stock_icon" "clear" |
| stock_icon | string |
| item_type | string Enum: "Bundle" "Collection" "CollectionItem" "Screen" "MediaItem" "CrossRegionLink" |
integer or null | |
| position | integer |
| link_text | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| url | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| username | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "link_type": "twitter",
- "icon_type": "media_item",
- "stock_icon": "string",
- "item_type": "Bundle",
- "item_id": 0,
- "position": 0,
- "link_text": { },
- "url": { },
- "username": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "link_type": "twitter",
- "icon_type": "media_item",
- "stock_icon": "string",
- "item_type": "Bundle",
- "item_id": 0,
- "position": 0,
- "link_text": { },
- "url": { },
- "username": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionLinkItem to update |
StorySectionLinkItem
| link_type | string Enum: "twitter" "whatsapp" "wechat" "facebook" "instagram" "pinterest" "youtube" "vimeo" "linkedin" "tiktok" "weibo" "bluesky" "internal" "url" "email" "phone" "live_tours" "settings" "badges" "favourites" "download" "app_rating" "search" |
| icon_type | string Enum: "media_item" "stock_icon" "clear" |
| stock_icon | string |
| item_type | string Enum: "Bundle" "Collection" "CollectionItem" "Screen" "MediaItem" "CrossRegionLink" |
integer or null | |
| position | integer |
| link_text | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| url | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| username | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "link_type": "twitter",
- "icon_type": "media_item",
- "stock_icon": "string",
- "item_type": "Bundle",
- "item_id": 0,
- "position": 0,
- "link_text": { },
- "url": { },
- "username": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "link_type": "twitter",
- "icon_type": "media_item",
- "stock_icon": "string",
- "item_type": "Bundle",
- "item_id": 0,
- "position": 0,
- "link_text": { },
- "url": { },
- "username": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionLinkItem to update |
StorySectionLinkItem
| link_type | string Enum: "twitter" "whatsapp" "wechat" "facebook" "instagram" "pinterest" "youtube" "vimeo" "linkedin" "tiktok" "weibo" "bluesky" "internal" "url" "email" "phone" "live_tours" "settings" "badges" "favourites" "download" "app_rating" "search" |
| icon_type | string Enum: "media_item" "stock_icon" "clear" |
| stock_icon | string |
| item_type | string Enum: "Bundle" "Collection" "CollectionItem" "Screen" "MediaItem" "CrossRegionLink" |
integer or null | |
| position | integer |
| link_text | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| url | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| username | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "link_type": "twitter",
- "icon_type": "media_item",
- "stock_icon": "string",
- "item_type": "Bundle",
- "item_id": 0,
- "position": 0,
- "link_text": { },
- "url": { },
- "username": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "link_type": "twitter",
- "icon_type": "media_item",
- "stock_icon": "string",
- "item_type": "Bundle",
- "item_id": 0,
- "position": 0,
- "link_text": { },
- "url": { },
- "username": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionLinkItem to delete |
{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
{- "items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "media_item_id": 0,
- "start_time": 0,
- "auto_play": true,
- "position": 0
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
StorySectionMediaItem
integer or null | |
integer or null | |
| auto_play | boolean |
| position | integer |
{- "media_item_id": 0,
- "start_time": 0,
- "auto_play": true,
- "position": 0
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "media_item_id": 0,
- "start_time": 0,
- "auto_play": true,
- "position": 0
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionMediaItem to update |
StorySectionMediaItem
integer or null | |
integer or null | |
| auto_play | boolean |
| position | integer |
{- "media_item_id": 0,
- "start_time": 0,
- "auto_play": true,
- "position": 0
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "media_item_id": 0,
- "start_time": 0,
- "auto_play": true,
- "position": 0
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionMediaItem to update |
StorySectionMediaItem
integer or null | |
integer or null | |
| auto_play | boolean |
| position | integer |
{- "media_item_id": 0,
- "start_time": 0,
- "auto_play": true,
- "position": 0
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "media_item_id": 0,
- "start_time": 0,
- "auto_play": true,
- "position": 0
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionMediaItem to delete |
{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
{- "items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": { },
- "time": { }
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
StorySectionOpeningTimeItem
| position | integer |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| time | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "position": 0,
- "description": { },
- "time": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": { },
- "time": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionOpeningTimeItem to update |
StorySectionOpeningTimeItem
| position | integer |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| time | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "position": 0,
- "description": { },
- "time": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": { },
- "time": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionOpeningTimeItem to update |
StorySectionOpeningTimeItem
| position | integer |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| time | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "position": 0,
- "description": { },
- "time": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": { },
- "time": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionOpeningTimeItem to delete |
{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
{- "items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "price_cents": 0,
- "price_currency": "string",
- "position": 0,
- "description": { }
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
StorySectionPriceItem
| price_cents | integer |
| price_currency | string |
| position | integer |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "price_cents": 0,
- "price_currency": "string",
- "position": 0,
- "description": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "price_cents": 0,
- "price_currency": "string",
- "position": 0,
- "description": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionPriceItem to update |
StorySectionPriceItem
| price_cents | integer |
| price_currency | string |
| position | integer |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "price_cents": 0,
- "price_currency": "string",
- "position": 0,
- "description": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "price_cents": 0,
- "price_currency": "string",
- "position": 0,
- "description": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionPriceItem to update |
StorySectionPriceItem
| price_cents | integer |
| price_currency | string |
| position | integer |
| description | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "price_cents": 0,
- "price_currency": "string",
- "position": 0,
- "description": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "price_cents": 0,
- "price_currency": "string",
- "position": 0,
- "description": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionPriceItem to delete |
{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
{- "items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "social_network": "twitter",
- "position": 0,
- "username": { },
- "link_text": { }
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
StorySectionSocialItem
| social_network | string Enum: "twitter" "whatsapp" "wechat" "facebook" "instagram" "pinterest" "youtube" "vimeo" "linkedin" "tiktok" "weibo" "bluesky" |
| position | integer |
| username | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| link_text | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "social_network": "twitter",
- "position": 0,
- "username": { },
- "link_text": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "social_network": "twitter",
- "position": 0,
- "username": { },
- "link_text": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionSocialItem to update |
StorySectionSocialItem
| social_network | string Enum: "twitter" "whatsapp" "wechat" "facebook" "instagram" "pinterest" "youtube" "vimeo" "linkedin" "tiktok" "weibo" "bluesky" |
| position | integer |
| username | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| link_text | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "social_network": "twitter",
- "position": 0,
- "username": { },
- "link_text": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "social_network": "twitter",
- "position": 0,
- "username": { },
- "link_text": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionSocialItem to update |
StorySectionSocialItem
| social_network | string Enum: "twitter" "whatsapp" "wechat" "facebook" "instagram" "pinterest" "youtube" "vimeo" "linkedin" "tiktok" "weibo" "bluesky" |
| position | integer |
| username | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| link_text | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "social_network": "twitter",
- "position": 0,
- "username": { },
- "link_text": { }
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "social_network": "twitter",
- "position": 0,
- "username": { },
- "link_text": { }
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionSocialItem to delete |
{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| screen_id required | integer ID of the parent Screen |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "story_sections": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "text",
- "subtitle": { },
- "body": { }
}
]
}| screen_id required | integer ID of the parent Screen |
StorySection
| id required | integer |
required | string or null (DateTime) |
required | string or null (DateTime) |
| position required | integer |
| collapsable required | boolean |
| exposable_content required | boolean |
| title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| hide | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| type | string Value: "text" |
| subtitle | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| body | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "opening_time_group",
- "opening_time_items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": { },
- "time": { }
}
]
}{- "story_section": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "text",
- "subtitle": { },
- "body": { }
}
}| screen_id required | integer ID of the parent Screen |
Positions to update
required | Array of objects Array of story section position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| screen_id required | integer ID of the parent Screen |
| id required | integer ID of the StorySection to retrieve |
{- "story_section": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "text",
- "subtitle": { },
- "body": { }
}
}| screen_id required | integer ID of the parent Screen |
| id required | integer ID of the StorySection to update |
StorySection
| id required | integer |
required | string or null (DateTime) |
required | string or null (DateTime) |
| position required | integer |
| collapsable required | boolean |
| exposable_content required | boolean |
| title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| hide | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| type | string Value: "text" |
| subtitle | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| body | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "opening_time_group",
- "opening_time_items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": { },
- "time": { }
}
]
}{- "story_section": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "text",
- "subtitle": { },
- "body": { }
}
}| screen_id required | integer ID of the parent Screen |
| id required | integer ID of the StorySection to update |
StorySection
| id required | integer |
required | string or null (DateTime) |
required | string or null (DateTime) |
| position required | integer |
| collapsable required | boolean |
| exposable_content required | boolean |
| title | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| hide | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| type | string Value: "text" |
| subtitle | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
| body | object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "opening_time_group",
- "opening_time_items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": { },
- "time": { }
}
]
}{- "story_section": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "text",
- "subtitle": { },
- "body": { }
}
}| screen_id required | integer ID of the parent Screen |
| id required | integer ID of the StorySection to delete |
| language | string Language locale to delete (deletes only that translation instead of the whole story section) |
{- "story_section": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "collapsable": true,
- "exposable_content": true,
- "title": { },
- "hide": { },
- "type": "text",
- "subtitle": { },
- "body": { }
}
}| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Enum: "id" "upload_file_name" "created_at" "updated_at" Field to sort by |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Direction to sort by |
| q | string Search query |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "uploaded_files": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "filename": "string",
- "content_type": "string",
- "file_size": 0,
- "file_hash": "string",
- "width": 0,
- "height": 0,
- "duration": 0,
- "status": "ready",
- "focal_point": { }
}
]
}UploadedFile
| filename | string |
| content_type | string |
| file_size | integer |
| file_hash | string |
integer or null | |
integer or null | |
integer or null | |
| status | string Enum: "ready" "transcoder_started" "transcoder_invalid_file" "transcoder_error" "transcoder_submitted" "transcoder_progressing" "transcoder_canceled" "transcoder_complete" "mbtiles_started" "unzip_started" "unzip_complete" "mbtiles_downloading" "mbtiles_to_geotiff" "mbtiles_to_mbtiles" "mbtiles_upload_png" "mbtiles_upload_png8" "mbtiles_upload_jpeg" "mbtiles_complete" |
| focal_point | object |
{- "filename": "string",
- "content_type": "string",
- "file_size": 0,
- "file_hash": "string",
- "width": 0,
- "height": 0,
- "duration": 0,
- "status": "ready",
- "focal_point": { }
}{- "uploaded_file": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "filename": "string",
- "content_type": "string",
- "file_size": 0,
- "file_hash": "string",
- "width": 0,
- "height": 0,
- "duration": 0,
- "status": "ready",
- "focal_point": { }
}
}Presigned URL request
| filename required | string The filename to upload |
{- "filename": "string"
}{- "url": "string",
- "fields": { }
}Process enqueue request
| s3_url required | string The S3 URL of the file to process |
| subtype | string File subtype (e.g. map, geo_map) |
| focal_point | string Focal point coordinates (e.g. 0.5,0.5) |
{- "s3_url": "string",
- "subtype": "string",
- "focal_point": "string"
}{- "job_id": "string"
}| job_id required | string The Sidekiq job ID returned from process_enqueue |
{- "status": "string",
- "at": 0,
- "pct_complete": 0,
- "message": "string",
- "uploaded_file": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "filename": "string",
- "content_type": "string",
- "file_size": 0,
- "file_hash": "string",
- "width": 0,
- "height": 0,
- "duration": 0,
- "status": "ready",
- "focal_point": { }
}
}| id required | integer ID of the UploadedFile to retrieve |
{- "uploaded_file": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "filename": "string",
- "content_type": "string",
- "file_size": 0,
- "file_hash": "string",
- "width": 0,
- "height": 0,
- "duration": 0,
- "status": "ready",
- "focal_point": { }
}
}| id required | integer ID of the UploadedFile to update |
UploadedFile
| filename | string |
| content_type | string |
| file_size | integer |
| file_hash | string |
integer or null | |
integer or null | |
integer or null | |
| status | string Enum: "ready" "transcoder_started" "transcoder_invalid_file" "transcoder_error" "transcoder_submitted" "transcoder_progressing" "transcoder_canceled" "transcoder_complete" "mbtiles_started" "unzip_started" "unzip_complete" "mbtiles_downloading" "mbtiles_to_geotiff" "mbtiles_to_mbtiles" "mbtiles_upload_png" "mbtiles_upload_png8" "mbtiles_upload_jpeg" "mbtiles_complete" |
| focal_point | object |
{- "filename": "string",
- "content_type": "string",
- "file_size": 0,
- "file_hash": "string",
- "width": 0,
- "height": 0,
- "duration": 0,
- "status": "ready",
- "focal_point": { }
}{- "uploaded_file": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "filename": "string",
- "content_type": "string",
- "file_size": 0,
- "file_hash": "string",
- "width": 0,
- "height": 0,
- "duration": 0,
- "status": "ready",
- "focal_point": { }
}
}| id required | integer ID of the UploadedFile to update |
UploadedFile
| filename | string |
| content_type | string |
| file_size | integer |
| file_hash | string |
integer or null | |
integer or null | |
integer or null | |
| status | string Enum: "ready" "transcoder_started" "transcoder_invalid_file" "transcoder_error" "transcoder_submitted" "transcoder_progressing" "transcoder_canceled" "transcoder_complete" "mbtiles_started" "unzip_started" "unzip_complete" "mbtiles_downloading" "mbtiles_to_geotiff" "mbtiles_to_mbtiles" "mbtiles_upload_png" "mbtiles_upload_png8" "mbtiles_upload_jpeg" "mbtiles_complete" |
| focal_point | object |
{- "filename": "string",
- "content_type": "string",
- "file_size": 0,
- "file_hash": "string",
- "width": 0,
- "height": 0,
- "duration": 0,
- "status": "ready",
- "focal_point": { }
}{- "uploaded_file": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "filename": "string",
- "content_type": "string",
- "file_size": 0,
- "file_hash": "string",
- "width": 0,
- "height": 0,
- "duration": 0,
- "status": "ready",
- "focal_point": { }
}
}