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 |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "accounts": [
- {
- "id": 0,
- "name": "string",
- "settings": {
- "default_content_language": "alq"
}
}
]
}| project_id required | integer ID of the project |
| id required | integer ID of the app listing item |
{- "app_listing_item": {
- "id": 0,
- "app_listing_id": 0,
- "position": 0,
- "item_type": "string",
- "item_id": 0,
- "name": "string",
- "primary_language": "string",
- "translated_languages": [
- "string"
], - "use_default_content": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "preview_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "lat": 0.1,
- "lng": 0.1,
- "google_place_id": "string",
- "preview_media_item_id": 0,
- "heading_media_item_id": 0,
- "gallery_media_item_ids": [
- 0
], - "sub_items": [
- {
- "position": 0,
- "listable_type": "string",
- "listable_id": 0,
- "use_default_content": true,
- "hidden": true,
- "lat": 0.1,
- "lng": 0.1,
- "primary_language": "string",
- "translated_languages": [
- "string"
], - "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "preview_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
}| project_id required | integer ID of the project |
{- "app_listing": {
- "id": 0,
- "project_id": 0,
- "primary_language": "string",
- "translated_languages": [
- "string"
], - "org_name": "string",
- "primary_category_ios": 0,
- "primary_category_android": 0,
- "secondary_category_ios": 0,
- "copyright": "string",
- "contact_website": "string",
- "contact_email": "string",
- "contact_phone": "string",
- "contact_first_name": "string",
- "contact_last_name": "string",
- "contact_address_1": "string",
- "contact_address_2": "string",
- "contact_city": "string",
- "contact_state": "string",
- "contact_post_code": "string",
- "contact_country": "string",
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "promotional_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "privacy_policy_url": {
- "en": "English text",
- "fr": "Texte français"
}, - "keywords": {
- "en": "English text",
- "fr": "Texte français"
}, - "support_url": {
- "en": "English text",
- "fr": "Texte français"
}, - "marketing_url": {
- "en": "English text",
- "fr": "Texte français"
}, - "android_promo_video_url": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_preview_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "feature_graphic_media_item_id": 0,
- "promo_graphic_media_item_id": 0,
- "promotional_media_item_ids": [
- 0
], - "items": [
- {
- "id": 0,
- "position": 0,
- "item_type": "string",
- "item_id": 0,
- "name": "string",
- "primary_language": "string",
- "translated_languages": [
- "string"
], - "use_default_content": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "created_at": "string",
- "updated_at": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
}| 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
}, - "badge_groups": [
- {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "track_progress": true,
- "badge_group_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}BadgeGroup
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
| track_progress | boolean |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "primary_language": "alq",
- "track_progress": true,
- "badge_group_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "badge_group": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "track_progress": true,
- "badge_group_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the BadgeGroup to retrieve |
{- "badge_group": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "track_progress": true,
- "badge_group_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the BadgeGroup to update |
BadgeGroup
| name | string |
| primary_language | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
| track_progress | boolean |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "primary_language": "alq",
- "track_progress": true,
- "badge_group_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "badge_group": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "track_progress": true,
- "badge_group_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the BadgeGroup to update |
BadgeGroup
| name | string |
| primary_language | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
| track_progress | boolean |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "primary_language": "alq",
- "track_progress": true,
- "badge_group_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "badge_group": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "track_progress": true,
- "badge_group_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the BadgeGroup to delete |
| language | string Language locale to delete (deletes only that translation instead of the whole badge group) |
{- "badge_group": {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "primary_language": "alq",
- "track_progress": true,
- "badge_group_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the BadgeGroup |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "string"
}
]
}| badge_group_id required | integer ID of the parent BadgeGroup |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| q | string Search query (matches name) |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "badges": [
- {
- "id": 0,
- "badge_group_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "visible_on_badge_list": true,
- "badge_media_item_id": 0,
- "unearned_link_type": "Collection",
- "unearned_link_id": 0,
- "earned_link_type": "Collection",
- "earned_link_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_body": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_body": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}| badge_group_id required | integer ID of the parent BadgeGroup |
Badge
| name | string |
| position | integer |
boolean or null | |
integer or null | |
string or null | |
integer or null | |
string or null | |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "position": 0,
- "visible_on_badge_list": true,
- "badge_media_item_id": 0,
- "unearned_link_type": "Collection",
- "unearned_link_id": 0,
- "earned_link_type": "Collection",
- "earned_link_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_body": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_body": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "badge": {
- "id": 0,
- "badge_group_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "visible_on_badge_list": true,
- "badge_media_item_id": 0,
- "unearned_link_type": "Collection",
- "unearned_link_id": 0,
- "earned_link_type": "Collection",
- "earned_link_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_body": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
Positions to update
required | Array of objects Array of badge position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| badge_group_id required | integer ID of the parent BadgeGroup |
| id required | integer ID of the Badge to retrieve |
{- "badge": {
- "id": 0,
- "badge_group_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "visible_on_badge_list": true,
- "badge_media_item_id": 0,
- "unearned_link_type": "Collection",
- "unearned_link_id": 0,
- "earned_link_type": "Collection",
- "earned_link_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_body": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
| id required | integer ID of the Badge to update |
Badge
| name | string |
| position | integer |
boolean or null | |
integer or null | |
string or null | |
integer or null | |
string or null | |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "position": 0,
- "visible_on_badge_list": true,
- "badge_media_item_id": 0,
- "unearned_link_type": "Collection",
- "unearned_link_id": 0,
- "earned_link_type": "Collection",
- "earned_link_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_body": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_body": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "badge": {
- "id": 0,
- "badge_group_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "visible_on_badge_list": true,
- "badge_media_item_id": 0,
- "unearned_link_type": "Collection",
- "unearned_link_id": 0,
- "earned_link_type": "Collection",
- "earned_link_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_body": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
| id required | integer ID of the Badge to update |
Badge
| name | string |
| position | integer |
boolean or null | |
integer or null | |
string or null | |
integer or null | |
string or null | |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "position": 0,
- "visible_on_badge_list": true,
- "badge_media_item_id": 0,
- "unearned_link_type": "Collection",
- "unearned_link_id": 0,
- "earned_link_type": "Collection",
- "earned_link_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_body": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_body": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "badge": {
- "id": 0,
- "badge_group_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "visible_on_badge_list": true,
- "badge_media_item_id": 0,
- "unearned_link_type": "Collection",
- "unearned_link_id": 0,
- "earned_link_type": "Collection",
- "earned_link_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_body": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
| id required | integer ID of the Badge to delete |
| language | string Language locale to delete (deletes only that translation instead of the whole badge) |
{- "badge": {
- "id": 0,
- "badge_group_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "visible_on_badge_list": true,
- "badge_media_item_id": 0,
- "unearned_link_type": "Collection",
- "unearned_link_id": 0,
- "earned_link_type": "Collection",
- "earned_link_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "unearned_body": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_link_label": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "earned_body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
| id required | integer ID of the Badge |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "string"
}
]
}| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Enum: "coupon_code" "access_code" "valid_from" "valid_to" "redemptions" "id" Field to sort by (coupon_code is deprecated; use access_code) |
| 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",
- "access_code": "string",
- "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",
- "access_code": "string",
- "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",
- "access_code": "string",
- "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",
- "access_code": "string",
- "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",
- "access_code": "string",
- "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",
- "access_code": "string",
- "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",
- "access_code": "string",
- "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",
- "access_code": "string",
- "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" 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" 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" 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 |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "string"
}
]
}| 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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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 | boolean |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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 | boolean |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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 | boolean |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "logo_media_item_id": 0,
- "type": "list",
- "preview_media_item_id": 0
}
}| id required | integer ID of the Collection |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "string"
}
]
}| id required | integer ID of the Collection to duplicate |
{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "file_size": {
- "property1": 0,
- "property2": 0
}, - "stqry_directory_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_about": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_tips": {
- "en": "English text",
- "fr": "Texte français"
}, - "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,
- "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" "position" "created_at" "updated_at" Field to sort by |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Direction to sort by |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "custom_fields": [
- {
- "id": 0,
- "name": "string",
- "kind": "string",
- "required": true,
- "default_value": "string",
- "options": { },
- "position": 0,
- "items": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "position": 0
}
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| id required | integer ID of the custom field |
{- "custom_field": {
- "id": 0,
- "name": "string",
- "kind": "string",
- "required": true,
- "default_value": "string",
- "options": { },
- "position": 0,
- "items": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "position": 0
}
], - "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 |
| q | string Search query over submission data |
| sort_field | string Enum: "id" "created_at" "updated_at" Field to sort by |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Direction to sort by |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "form_submissions": [
- {
- "id": 0,
- "form_id": 0,
- "person_id": 0,
- "marketing_list_id": 0,
- "data": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}FormSubmission
| form_id required | integer ID of the form to submit |
required | object Submission data keyed by form field slug |
{- "form_id": 0,
- "data": { }
}{- "form_submission": {
- "id": 0,
- "form_id": 0,
- "person_id": 0,
- "marketing_list_id": 0,
- "data": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the form submission |
{- "form_submission": {
- "id": 0,
- "form_id": 0,
- "person_id": 0,
- "marketing_list_id": 0,
- "data": { },
- "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 |
| q | string Name search query |
| 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 |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "forms": [
- {
- "id": 0,
- "name": "string",
- "fields": [
- {
- "id": 0,
- "slug": "string",
- "name": "string",
- "kind": "string",
- "position": 0,
- "custom_field_id": 0,
- "marketing_list_id": 0
}
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| id required | integer ID of the form |
{- "form": {
- "id": 0,
- "name": "string",
- "fields": [
- {
- "id": 0,
- "slug": "string",
- "name": "string",
- "kind": "string",
- "position": 0,
- "custom_field_id": 0,
- "marketing_list_id": 0
}
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| project_id required | integer ID of the parent project |
| 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
}, - "linked_items": [
- {
- "id": 0,
- "project_id": 0,
- "item_type": "Screen",
- "item_id": 0,
- "item_name": "string",
- "item_number": 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
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| project_id required | integer ID of the parent project |
Linked item
| item_type | string Enum: "Screen" "Collection" "MediaItem" Type of the linked item |
| item_id | integer Id of the linked Screen / Collection / MediaItem (scoped to the calling account) |
integer or null | |
| geofence | string Enum: "off" "gps" "beacon" Geofence mode |
GpsSettings (object) or null | |
BeaconSettings (object) or null |
{- "item_type": "Screen",
- "item_id": 0,
- "item_number": 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
}
}{- "linked_item": {
- "id": 0,
- "project_id": 0,
- "item_type": "Screen",
- "item_id": 0,
- "item_name": "string",
- "item_number": 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
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| project_id required | integer ID of the parent project |
| id required | integer ID of the linked item |
{- "linked_item": {
- "id": 0,
- "project_id": 0,
- "item_type": "Screen",
- "item_id": 0,
- "item_name": "string",
- "item_number": 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
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| project_id required | integer ID of the parent project |
| id required | integer ID of the linked item |
Linked item
| item_type | string Enum: "Screen" "Collection" "MediaItem" Type of the linked item |
| item_id | integer Id of the linked Screen / Collection / MediaItem (scoped to the calling account) |
integer or null | |
| geofence | string Enum: "off" "gps" "beacon" Geofence mode |
GpsSettings (object) or null | |
BeaconSettings (object) or null |
{- "item_type": "Screen",
- "item_id": 0,
- "item_number": 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
}
}{- "linked_item": {
- "id": 0,
- "project_id": 0,
- "item_type": "Screen",
- "item_id": 0,
- "item_name": "string",
- "item_number": 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
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| project_id required | integer ID of the parent project |
| id required | integer ID of the linked item |
Linked item
| item_type | string Enum: "Screen" "Collection" "MediaItem" Type of the linked item |
| item_id | integer Id of the linked Screen / Collection / MediaItem (scoped to the calling account) |
integer or null | |
| geofence | string Enum: "off" "gps" "beacon" Geofence mode |
GpsSettings (object) or null | |
BeaconSettings (object) or null |
{- "item_type": "Screen",
- "item_id": 0,
- "item_number": 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
}
}{- "linked_item": {
- "id": 0,
- "project_id": 0,
- "item_type": "Screen",
- "item_id": 0,
- "item_name": "string",
- "item_number": 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
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| layer_id required | integer ID of the MapLayer |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| q | string Name search query |
| sort_field | string Sort field; one of id, name, created_at, updated_at |
| sort_direction | string Enum: "ASC" "DESC" Sort direction |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "map_features": [
- {
- "id": 0,
- "map_layer_id": 0,
- "map_poi_id": 0,
- "name": "string",
- "label": "string",
- "geojson": { },
- "settings": {
- "show_icon": true
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| map_id required | integer ID of the Map |
| layer_id required | integer ID of the MapLayer |
| name required | string |
required | object or string |
string or null | |
integer or null | |
object (MapFeatureSettings) Map feature settings |
{- "name": "string",
- "geojson": { },
- "label": "string",
- "map_poi_id": 0,
- "settings": {
- "show_icon": true
}
}{- "map_feature": {
- "id": 0,
- "map_layer_id": 0,
- "map_poi_id": 0,
- "name": "string",
- "label": "string",
- "geojson": { },
- "settings": {
- "show_icon": true
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| layer_id required | integer ID of the MapLayer |
| id required | integer ID of the MapFeature |
{- "map_feature": {
- "id": 0,
- "map_layer_id": 0,
- "map_poi_id": 0,
- "name": "string",
- "label": "string",
- "geojson": { },
- "settings": {
- "show_icon": true
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| layer_id required | integer ID of the MapLayer |
| id required | integer ID of the MapFeature |
| name | string |
object or string | |
string or null | |
integer or null | |
object (MapFeatureSettings) Map feature settings |
{- "name": "string",
- "geojson": { },
- "label": "string",
- "map_poi_id": 0,
- "settings": {
- "show_icon": true
}
}{- "map_feature": {
- "id": 0,
- "map_layer_id": 0,
- "map_poi_id": 0,
- "name": "string",
- "label": "string",
- "geojson": { },
- "settings": {
- "show_icon": true
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| layer_id required | integer ID of the MapLayer |
| id required | integer ID of the MapFeature |
| name | string |
object or string | |
string or null | |
integer or null | |
object (MapFeatureSettings) Map feature settings |
{- "name": "string",
- "geojson": { },
- "label": "string",
- "map_poi_id": 0,
- "settings": {
- "show_icon": true
}
}{- "map_feature": {
- "id": 0,
- "map_layer_id": 0,
- "map_poi_id": 0,
- "name": "string",
- "label": "string",
- "geojson": { },
- "settings": {
- "show_icon": true
}, - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| collection_id | integer Filter to map items belonging to this Collection. Provide at most one of collection_id or story_section_id; sending both returns 422. |
| story_section_id | integer Filter to map items belonging to this StorySection. Provide at most one of collection_id or story_section_id; sending both returns 422. |
| 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
}, - "map_items": [
- {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "lat": "string",
- "lng": "string",
- "link_type": "twitter",
- "link_text": "string",
- "url": "string",
- "info_window": "string",
- "item_id": 0,
- "item_type": "Collection",
- "stock_icon": "string",
- "stock_icon_icon": "string",
- "stock_icon_style": "string",
- "stock_icon_colour": "string",
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| lat required | number <float> Latitude (-90..90) |
| lng required | number <float> Longitude (-180..180) |
| link_type required | string Enum: "twitter" "whatsapp" "wechat" "facebook" "instagram" "pinterest" "youtube" "vimeo" "linkedin" "tiktok" "weibo" "bluesky" "internal" "url" "email" "phone" "info_window" "live_tours" "settings" "badges" "favourites" "download" "app_rating" "search" Link kind. When 'url', |
integer or null | |
integer or null | |
string or null | |
string or null | |
string or null | |
integer or null | |
string or null | |
string or null | |
string or null | |
string or null | |
string or null | |
integer or null |
{- "lat": 0.1,
- "lng": 0.1,
- "link_type": "twitter",
- "collection_id": 0,
- "story_section_id": 0,
- "link_text": "string",
- "url": "string",
- "info_window": "string",
- "item_id": 0,
- "item_type": "Collection",
- "stock_icon": "string",
- "stock_icon_icon": "string",
- "stock_icon_style": "string",
- "stock_icon_colour": "string",
- "icon_media_item_id": 0
}{- "map_item": {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "lat": "string",
- "lng": "string",
- "link_type": "twitter",
- "link_text": "string",
- "url": "string",
- "info_window": "string",
- "item_id": 0,
- "item_type": "Collection",
- "stock_icon": "string",
- "stock_icon_icon": "string",
- "stock_icon_style": "string",
- "stock_icon_colour": "string",
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the MapItem to retrieve |
{- "map_item": {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "lat": "string",
- "lng": "string",
- "link_type": "twitter",
- "link_text": "string",
- "url": "string",
- "info_window": "string",
- "item_id": 0,
- "item_type": "Collection",
- "stock_icon": "string",
- "stock_icon_icon": "string",
- "stock_icon_style": "string",
- "stock_icon_colour": "string",
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the MapItem to update |
| lat | number <float> Latitude (-90..90) |
| lng | number <float> Longitude (-180..180) |
| link_type | string Enum: "twitter" "whatsapp" "wechat" "facebook" "instagram" "pinterest" "youtube" "vimeo" "linkedin" "tiktok" "weibo" "bluesky" "internal" "url" "email" "phone" "info_window" "live_tours" "settings" "badges" "favourites" "download" "app_rating" "search" |
string or null | |
string or null | |
string or null | |
integer or null | |
string or null | |
string or null | |
string or null | |
string or null | |
string or null | |
integer or null |
{- "lat": 0.1,
- "lng": 0.1,
- "link_type": "twitter",
- "link_text": "string",
- "url": "string",
- "info_window": "string",
- "item_id": 0,
- "item_type": "Collection",
- "stock_icon": "string",
- "stock_icon_icon": "string",
- "stock_icon_style": "string",
- "stock_icon_colour": "string",
- "icon_media_item_id": 0
}{- "map_item": {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "lat": "string",
- "lng": "string",
- "link_type": "twitter",
- "link_text": "string",
- "url": "string",
- "info_window": "string",
- "item_id": 0,
- "item_type": "Collection",
- "stock_icon": "string",
- "stock_icon_icon": "string",
- "stock_icon_style": "string",
- "stock_icon_colour": "string",
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the MapItem to update |
| lat | number <float> Latitude (-90..90) |
| lng | number <float> Longitude (-180..180) |
| link_type | string Enum: "twitter" "whatsapp" "wechat" "facebook" "instagram" "pinterest" "youtube" "vimeo" "linkedin" "tiktok" "weibo" "bluesky" "internal" "url" "email" "phone" "info_window" "live_tours" "settings" "badges" "favourites" "download" "app_rating" "search" |
string or null | |
string or null | |
string or null | |
integer or null | |
string or null | |
string or null | |
string or null | |
string or null | |
string or null | |
integer or null |
{- "lat": 0.1,
- "lng": 0.1,
- "link_type": "twitter",
- "link_text": "string",
- "url": "string",
- "info_window": "string",
- "item_id": 0,
- "item_type": "Collection",
- "stock_icon": "string",
- "stock_icon_icon": "string",
- "stock_icon_style": "string",
- "stock_icon_colour": "string",
- "icon_media_item_id": 0
}{- "map_item": {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "lat": "string",
- "lng": "string",
- "link_type": "twitter",
- "link_text": "string",
- "url": "string",
- "info_window": "string",
- "item_id": 0,
- "item_type": "Collection",
- "stock_icon": "string",
- "stock_icon_icon": "string",
- "stock_icon_style": "string",
- "stock_icon_colour": "string",
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| q | string Name search query |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "map_layers": [
- {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "position": 0,
- "subtype_type": "MapLayerMapbox",
- "subtype": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| map_id required | integer ID of the Map |
| name required | string |
| subtype_type required | string Enum: "MapLayerMapbox" "MapLayerStatic" "MapLayerGeoreferenced" |
| subtype | object Subtype payload; shape depends on |
{- "name": "string",
- "subtype_type": "MapLayerMapbox",
- "subtype": { }
}{- "map_layer": {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "position": 0,
- "subtype_type": "MapLayerMapbox",
- "subtype": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
required | Array of objects Layers to reposition; all ids must belong to this map |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapLayer |
{- "map_layer": {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "position": 0,
- "subtype_type": "MapLayerMapbox",
- "subtype": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapLayer |
| name | string |
| subtype | object Subtype updates. Mapbox: |
{- "name": "string",
- "subtype": { }
}{- "map_layer": {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "position": 0,
- "subtype_type": "MapLayerMapbox",
- "subtype": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapLayer |
| name | string |
| subtype | object Subtype updates. Mapbox: |
{- "name": "string",
- "subtype": { }
}{- "map_layer": {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "position": 0,
- "subtype_type": "MapLayerMapbox",
- "subtype": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| layer_id | integer Optional MapLayer id; restricts results to nodes on this layer |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Sort field; one of id, created_at, updated_at |
| sort_direction | string Enum: "ASC" "DESC" Sort direction |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "map_path_nodes": [
- {
- "id": 0,
- "map_layer_id": 0,
- "lat": "string",
- "lng": "string",
- "map_feature_ids": [
- 0
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| map_id required | integer ID of the Map |
| map_layer_id required | integer Id of an existing MapLayer on this Map |
| lat required | number <float> Latitude (-90..90) |
| lng required | number <float> Longitude (-180..180) |
| map_feature_ids | Array of integers Optional MapFeature ids; each must reference a feature on this Map |
{- "map_layer_id": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_feature_ids": [
- 0
]
}{- "map_path_node": {
- "id": 0,
- "map_layer_id": 0,
- "lat": "string",
- "lng": "string",
- "map_feature_ids": [
- 0
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPathNode |
{- "map_path_node": {
- "id": 0,
- "map_layer_id": 0,
- "lat": "string",
- "lng": "string",
- "map_feature_ids": [
- 0
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPathNode |
| map_layer_id | integer Id of an existing MapLayer on this Map |
| lat | number <float> Latitude (-90..90) |
| lng | number <float> Longitude (-180..180) |
| map_feature_ids | Array of integers MapFeature ids; each must reference a feature on this Map. Pass [] to clear. |
{- "map_layer_id": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_feature_ids": [
- 0
]
}{- "map_path_node": {
- "id": 0,
- "map_layer_id": 0,
- "lat": "string",
- "lng": "string",
- "map_feature_ids": [
- 0
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPathNode |
| map_layer_id | integer Id of an existing MapLayer on this Map |
| lat | number <float> Latitude (-90..90) |
| lng | number <float> Longitude (-180..180) |
| map_feature_ids | Array of integers MapFeature ids; each must reference a feature on this Map. Pass [] to clear. |
{- "map_layer_id": 0,
- "lat": 0.1,
- "lng": 0.1,
- "map_feature_ids": [
- 0
]
}{- "map_path_node": {
- "id": 0,
- "map_layer_id": 0,
- "lat": "string",
- "lng": "string",
- "map_feature_ids": [
- 0
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| layer_id | integer Optional MapLayer id; restricts results to paths whose nodes both belong to this layer |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Sort field; one of id, created_at, updated_at, cost |
| sort_direction | string Enum: "ASC" "DESC" Sort direction |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "map_paths": [
- {
- "id": 0,
- "start_node_id": 0,
- "end_node_id": 0,
- "cost": 0,
- "cost_override": true,
- "accessible": true,
- "direction": "bidirectional",
- "linestring": [
- [
- 0.1
]
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| map_id required | integer ID of the Map |
| start_node_id required | integer Id of an existing MapPathNode on this Map |
| end_node_id required | integer Id of an existing MapPathNode on this Map; must differ from start_node_id |
Array of numbers or Array of numbers or null | |
integer or null | |
boolean or null | |
boolean or null | |
string or null |
{- "start_node_id": 0,
- "end_node_id": 0,
- "linestring": [
- [
- 0.1
]
], - "cost": 0,
- "cost_override": true,
- "accessible": true,
- "direction": "bidirectional"
}{- "map_path": {
- "id": 0,
- "start_node_id": 0,
- "end_node_id": 0,
- "cost": 0,
- "cost_override": true,
- "accessible": true,
- "direction": "bidirectional",
- "linestring": [
- [
- 0.1
]
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPath |
{- "map_path": {
- "id": 0,
- "start_node_id": 0,
- "end_node_id": 0,
- "cost": 0,
- "cost_override": true,
- "accessible": true,
- "direction": "bidirectional",
- "linestring": [
- [
- 0.1
]
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPath |
| start_node_id | integer Id of an existing MapPathNode on this Map |
| end_node_id | integer Id of an existing MapPathNode on this Map |
Array of numbers or Array of numbers or null | |
integer or null | |
boolean or null | |
boolean or null | |
string or null |
{- "start_node_id": 0,
- "end_node_id": 0,
- "linestring": [
- [
- 0.1
]
], - "cost": 0,
- "cost_override": true,
- "accessible": true,
- "direction": "bidirectional"
}{- "map_path": {
- "id": 0,
- "start_node_id": 0,
- "end_node_id": 0,
- "cost": 0,
- "cost_override": true,
- "accessible": true,
- "direction": "bidirectional",
- "linestring": [
- [
- 0.1
]
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPath |
| start_node_id | integer Id of an existing MapPathNode on this Map |
| end_node_id | integer Id of an existing MapPathNode on this Map |
Array of numbers or Array of numbers or null | |
integer or null | |
boolean or null | |
boolean or null | |
string or null |
{- "start_node_id": 0,
- "end_node_id": 0,
- "linestring": [
- [
- 0.1
]
], - "cost": 0,
- "cost_override": true,
- "accessible": true,
- "direction": "bidirectional"
}{- "map_path": {
- "id": 0,
- "start_node_id": 0,
- "end_node_id": 0,
- "cost": 0,
- "cost_override": true,
- "accessible": true,
- "direction": "bidirectional",
- "linestring": [
- [
- 0.1
]
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPath to split |
| node_id required | integer Id of an existing MapPathNode on this Map to split the path at |
{- "node_id": 0
}{- "map_paths": [
- {
- "id": 0,
- "start_node_id": 0,
- "end_node_id": 0,
- "cost": 0,
- "cost_override": true,
- "accessible": true,
- "direction": "bidirectional",
- "linestring": [
- [
- 0.1
]
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| map_id required | integer ID of the Map |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| q | string Name search query |
| sort_field | string Sort field; one of id, name, created_at, updated_at |
| sort_direction | string Enum: "ASC" "DESC" Sort direction |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "map_pois": [
- {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "title": "string",
- "description": "string",
- "item_id": 0,
- "item_type": "Collection",
- "header_media_item_id": 0,
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| map_id required | integer ID of the Map |
| name required | string |
string or null | |
string or null | |
integer or null | |
string or null | |
integer or null | |
integer or null |
{- "name": "string",
- "title": "string",
- "description": "string",
- "item_id": 0,
- "item_type": "Collection",
- "header_media_item_id": 0,
- "icon_media_item_id": 0
}{- "map_poi": {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "title": "string",
- "description": "string",
- "item_id": 0,
- "item_type": "Collection",
- "header_media_item_id": 0,
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPOI |
{- "map_poi": {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "title": "string",
- "description": "string",
- "item_id": 0,
- "item_type": "Collection",
- "header_media_item_id": 0,
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPOI |
| name | string |
string or null | |
string or null | |
integer or null | |
string or null | |
integer or null | |
integer or null |
{- "name": "string",
- "title": "string",
- "description": "string",
- "item_id": 0,
- "item_type": "Collection",
- "header_media_item_id": 0,
- "icon_media_item_id": 0
}{- "map_poi": {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "title": "string",
- "description": "string",
- "item_id": 0,
- "item_type": "Collection",
- "header_media_item_id": 0,
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| map_id required | integer ID of the Map |
| id required | integer ID of the MapPOI |
| name | string |
string or null | |
string or null | |
integer or null | |
string or null | |
integer or null | |
integer or null |
{- "name": "string",
- "title": "string",
- "description": "string",
- "item_id": 0,
- "item_type": "Collection",
- "header_media_item_id": 0,
- "icon_media_item_id": 0
}{- "map_poi": {
- "id": 0,
- "map_id": 0,
- "name": "string",
- "title": "string",
- "description": "string",
- "item_id": 0,
- "item_type": "Collection",
- "header_media_item_id": 0,
- "icon_media_item_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| collection_id | integer Filter to map routes belonging to this Collection. Provide at most one of collection_id or story_section_id; sending both returns 422. |
| story_section_id | integer Filter to map routes belonging to this StorySection. Provide at most one of collection_id or story_section_id; sending both returns 422. |
| 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
}, - "map_routes": [
- {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "collection_id": 0,
- "map_id": 0,
- "layer_id": 0,
- "geojson": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| geojson required | string GeoJSON FeatureCollection string or GPX XML string. Required. |
integer or null | |
integer or null | |
integer or null | |
integer or null |
{- "geojson": "string",
- "collection_id": 0,
- "story_section_id": 0,
- "map_id": 0,
- "layer_id": 0
}{- "map_route": {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "collection_id": 0,
- "map_id": 0,
- "layer_id": 0,
- "geojson": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the MapRoute to retrieve |
{- "map_route": {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "collection_id": 0,
- "map_id": 0,
- "layer_id": 0,
- "geojson": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the MapRoute to update |
| geojson required | string GeoJSON FeatureCollection string or GPX XML string. Required and the only mutable field. |
{- "geojson": "string"
}{- "map_route": {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "collection_id": 0,
- "map_id": 0,
- "layer_id": 0,
- "geojson": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the MapRoute to update |
| geojson required | string GeoJSON FeatureCollection string or GPX XML string. Required and the only mutable field. |
{- "geojson": "string"
}{- "map_route": {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "collection_id": 0,
- "map_id": 0,
- "layer_id": 0,
- "geojson": { },
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}Calls an external elevation service (Stadia Maps) and mutates the stored geojson by attaching elevation (z) values to each coordinate. May fail with 502 if the upstream is unavailable. Side effect: the route's geojson is permanently modified.
| id required | integer ID of the MapRoute to enrich with elevation |
{- "map_route": {
- "id": 0,
- "linked_id": 0,
- "linked_type": "Collection",
- "collection_id": 0,
- "map_id": 0,
- "layer_id": 0,
- "geojson": { },
- "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 Name search query |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "maps": [
- {
- "id": 0,
- "account_id": 0,
- "name": "string",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| name required | string |
{- "name": "string"
}{- "map": {
- "id": 0,
- "account_id": 0,
- "name": "string",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the Map to retrieve |
{- "map": {
- "id": 0,
- "account_id": 0,
- "name": "string",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the Map to update |
| name | string |
{- "name": "string"
}{- "map": {
- "id": 0,
- "account_id": 0,
- "name": "string",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the Map to update |
| name | string |
{- "name": "string"
}{- "map": {
- "id": 0,
- "account_id": 0,
- "name": "string",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the Map |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "string"
}
]
}| id required | integer ID of the Map |
| start_node_id required | integer ID of the starting MapPathNode; must belong to this map |
| end_node_id required | integer ID of the ending MapPathNode; must belong to this map |
| accessible_only | boolean When true, restrict to accessible paths only |
{- "node_ids": [
- 0
], - "total_cost": 0,
- "nodes": [
- {
- "id": 0,
- "map_layer_id": 0,
- "lat": "string",
- "lng": "string",
- "map_feature_ids": [
- 0
], - "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 |
| q | string Name search query |
| 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 |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "marketing_lists": [
- {
- "id": 0,
- "name": "string",
- "subscriber_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}MarketingList
| name required | string Name of the marketing list |
{- "name": "string"
}{- "marketing_list": {
- "id": 0,
- "name": "string",
- "subscriber_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the marketing list |
{- "marketing_list": {
- "id": 0,
- "name": "string",
- "subscriber_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the marketing list |
MarketingList
string or null |
{- "name": "string"
}{- "marketing_list": {
- "id": 0,
- "name": "string",
- "subscriber_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the marketing list |
MarketingList
string or null |
{- "name": "string"
}{- "marketing_list": {
- "id": 0,
- "name": "string",
- "subscriber_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the marketing list |
Person to subscribe
| person_id | integer |
{- "person_id": 0
}{- "marketing_list": {
- "id": 0,
- "name": "string",
- "subscriber_count": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| id required | integer ID of the marketing list |
Person to unsubscribe
| person_id | integer |
{- "person_id": 0
}{- "marketing_list": {
- "id": 0,
- "name": "string",
- "subscriber_count": 0,
- "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
}, - "media_items": [
- {
- "id": 0,
- "translated_languages": [
- "alq"
], - "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "compress_media": true,
- "allow_cropping_media": true,
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": {
- "en": "English text",
- "fr": "Texte français"
}, - "attribution": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "mappable": true,
- "georeferenced": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}MediaItem
| id required | integer |
| translated_languages required | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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 |
| compress_media | boolean Whether to compress media |
| allow_cropping_media | boolean Whether to prefer uncropped media |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
| mappable | boolean Whether the image is used as a map |
| georeferenced | boolean Whether the mappable image is georeferenced |
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",
- "compress_media": true,
- "allow_cropping_media": true,
- "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",
- "compress_media": true,
- "allow_cropping_media": true,
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": {
- "en": "English text",
- "fr": "Texte français"
}, - "attribution": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "mappable": true,
- "georeferenced": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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",
- "compress_media": true,
- "allow_cropping_media": true,
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": {
- "en": "English text",
- "fr": "Texte français"
}, - "attribution": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "mappable": true,
- "georeferenced": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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 |
| compress_media | boolean Whether to compress media |
| allow_cropping_media | boolean Whether to prefer uncropped media |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
| mappable | boolean Whether the image is used as a map |
| georeferenced | boolean Whether the mappable image is georeferenced |
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",
- "compress_media": true,
- "allow_cropping_media": true,
- "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",
- "compress_media": true,
- "allow_cropping_media": true,
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": {
- "en": "English text",
- "fr": "Texte français"
}, - "attribution": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "mappable": true,
- "georeferenced": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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 |
| compress_media | boolean Whether to compress media |
| allow_cropping_media | boolean Whether to prefer uncropped media |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
| mappable | boolean Whether the image is used as a map |
| georeferenced | boolean Whether the mappable image is georeferenced |
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",
- "compress_media": true,
- "allow_cropping_media": true,
- "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",
- "compress_media": true,
- "allow_cropping_media": true,
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": {
- "en": "English text",
- "fr": "Texte français"
}, - "attribution": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "mappable": true,
- "georeferenced": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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",
- "compress_media": true,
- "allow_cropping_media": true,
- "primary_language": "alq",
- "file_uploaded_file_id": 0,
- "type": "image",
- "caption": {
- "en": "English text",
- "fr": "Texte français"
}, - "attribution": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "mappable": true,
- "georeferenced": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the MediaItem |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "string"
}
]
}| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Enum: "id" "given_name" "family_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 (name or email) |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "people": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "given_name": "string",
- "family_name": "string",
- "date_of_birth": "string",
- "gender": "male",
- "pronouns": "string",
- "notes": "string",
- "email_addresses": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "phone_numbers": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "addresses": [
- {
- "id": 0,
- "kind": "string",
- "preferred": true,
- "address_line1": "string",
- "address_line2": "string",
- "locality": "string",
- "administrative_area": "string",
- "postal_code": "string",
- "country_code": "string"
}
], - "field_values": [
- {
- "custom_field_id": 0,
- "value": "string"
}
]
}
]
}Person
string or null | |
string or null | |
string or null | |
string or null | |
string or null | |
string or null | |
Array of objects or null | |
Array of objects or null | |
Array of objects or null | |
Array of objects or null |
{- "given_name": "string",
- "family_name": "string",
- "date_of_birth": "string",
- "gender": "male",
- "pronouns": "string",
- "notes": "string",
- "email_addresses": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true,
- "_destroy": true
}
], - "phone_numbers": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true,
- "_destroy": true
}
], - "addresses": [
- {
- "id": 0,
- "kind": "home",
- "preferred": true,
- "address_line1": "string",
- "address_line2": "string",
- "locality": "string",
- "administrative_area": "string",
- "postal_code": "string",
- "country_code": "string",
- "_destroy": true
}
], - "field_values": [
- {
- "custom_field_id": 0,
- "value": "string"
}
]
}{- "person": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "given_name": "string",
- "family_name": "string",
- "date_of_birth": "string",
- "gender": "male",
- "pronouns": "string",
- "notes": "string",
- "email_addresses": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "phone_numbers": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "addresses": [
- {
- "id": 0,
- "kind": "string",
- "preferred": true,
- "address_line1": "string",
- "address_line2": "string",
- "locality": "string",
- "administrative_area": "string",
- "postal_code": "string",
- "country_code": "string"
}
], - "field_values": [
- {
- "custom_field_id": 0,
- "value": "string"
}
]
}
}| id required | integer ID of the person |
{- "person": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "given_name": "string",
- "family_name": "string",
- "date_of_birth": "string",
- "gender": "male",
- "pronouns": "string",
- "notes": "string",
- "email_addresses": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "phone_numbers": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "addresses": [
- {
- "id": 0,
- "kind": "string",
- "preferred": true,
- "address_line1": "string",
- "address_line2": "string",
- "locality": "string",
- "administrative_area": "string",
- "postal_code": "string",
- "country_code": "string"
}
], - "field_values": [
- {
- "custom_field_id": 0,
- "value": "string"
}
]
}
}| id required | integer ID of the person |
Person
string or null | |
string or null | |
string or null | |
string or null | |
string or null | |
string or null | |
Array of objects or null | |
Array of objects or null | |
Array of objects or null | |
Array of objects or null |
{- "given_name": "string",
- "family_name": "string",
- "date_of_birth": "string",
- "gender": "male",
- "pronouns": "string",
- "notes": "string",
- "email_addresses": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true,
- "_destroy": true
}
], - "phone_numbers": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true,
- "_destroy": true
}
], - "addresses": [
- {
- "id": 0,
- "kind": "home",
- "preferred": true,
- "address_line1": "string",
- "address_line2": "string",
- "locality": "string",
- "administrative_area": "string",
- "postal_code": "string",
- "country_code": "string",
- "_destroy": true
}
], - "field_values": [
- {
- "custom_field_id": 0,
- "value": "string"
}
]
}{- "person": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "given_name": "string",
- "family_name": "string",
- "date_of_birth": "string",
- "gender": "male",
- "pronouns": "string",
- "notes": "string",
- "email_addresses": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "phone_numbers": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "addresses": [
- {
- "id": 0,
- "kind": "string",
- "preferred": true,
- "address_line1": "string",
- "address_line2": "string",
- "locality": "string",
- "administrative_area": "string",
- "postal_code": "string",
- "country_code": "string"
}
], - "field_values": [
- {
- "custom_field_id": 0,
- "value": "string"
}
]
}
}| id required | integer ID of the person |
Person
string or null | |
string or null | |
string or null | |
string or null | |
string or null | |
string or null | |
Array of objects or null | |
Array of objects or null | |
Array of objects or null | |
Array of objects or null |
{- "given_name": "string",
- "family_name": "string",
- "date_of_birth": "string",
- "gender": "male",
- "pronouns": "string",
- "notes": "string",
- "email_addresses": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true,
- "_destroy": true
}
], - "phone_numbers": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true,
- "_destroy": true
}
], - "addresses": [
- {
- "id": 0,
- "kind": "home",
- "preferred": true,
- "address_line1": "string",
- "address_line2": "string",
- "locality": "string",
- "administrative_area": "string",
- "postal_code": "string",
- "country_code": "string",
- "_destroy": true
}
], - "field_values": [
- {
- "custom_field_id": 0,
- "value": "string"
}
]
}{- "person": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "given_name": "string",
- "family_name": "string",
- "date_of_birth": "string",
- "gender": "male",
- "pronouns": "string",
- "notes": "string",
- "email_addresses": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "phone_numbers": [
- {
- "id": 0,
- "value": "string",
- "label": "string",
- "preferred": true
}
], - "addresses": [
- {
- "id": 0,
- "kind": "string",
- "preferred": true,
- "address_line1": "string",
- "address_line2": "string",
- "locality": "string",
- "administrative_area": "string",
- "postal_code": "string",
- "country_code": "string"
}
], - "field_values": [
- {
- "custom_field_id": 0,
- "value": "string"
}
]
}
}| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| sort_field | string Enum: "id" "created_at" "updated_at" Field to sort by |
| sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Direction to sort by |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "products": [
- {
- "id": 0,
- "project_id": 0,
- "project_name": "string",
- "item_type": "string",
- "item_id": 0,
- "item_name": "string",
- "active": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "code_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "code_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "web_price_amount": 0.1,
- "web_price_currency": "string",
- "ios_price_tier": 0,
- "android_price": { },
- "store_identifier": "string",
- "ota_listing": {
- "id": 0,
- "primary_language": "string",
- "translated_languages": [
- "string"
], - "product_id": 0,
- "bokun_id": 0,
- "bokun_settings": { },
- "bokun_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_inclusions": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_exclusions": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_what_to_bring": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_know_before": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_ticket_message": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_keywords": {
- "en": "English text",
- "fr": "Texte français"
}, - "created_at": "string",
- "updated_at": "string"
}, - "created_at": "string",
- "updated_at": "string"
}
]
}| id required | integer ID of the Product to retrieve |
{- "product": {
- "id": 0,
- "project_id": 0,
- "project_name": "string",
- "item_type": "string",
- "item_id": 0,
- "item_name": "string",
- "active": true,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "code_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "code_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "web_price_amount": 0.1,
- "web_price_currency": "string",
- "ios_price_tier": 0,
- "android_price": { },
- "store_identifier": "string",
- "ota_listing": {
- "id": 0,
- "primary_language": "string",
- "translated_languages": [
- "string"
], - "product_id": 0,
- "bokun_id": 0,
- "bokun_settings": { },
- "bokun_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_inclusions": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_exclusions": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_what_to_bring": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_know_before": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_ticket_message": {
- "en": "English text",
- "fr": "Texte français"
}, - "bokun_keywords": {
- "en": "English text",
- "fr": "Texte français"
}, - "created_at": "string",
- "updated_at": "string"
}, - "created_at": "string",
- "updated_at": "string"
}
}| project_id required | integer ID of the project |
| 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
}, - "tabs": [
- {
- "id": 0,
- "project_id": 0,
- "item_type": "Collection",
- "item_id": 0,
- "icon": "string",
- "custom_icon": true,
- "position": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
]
}| project_id required | integer ID of the project |
Array of strings or any | |
Array of integers or any | |
Array of strings or any | |
Array of booleans or any |
{- "item_type": [
- "string"
], - "item_id": [
- 0
], - "icon": [
- "string"
], - "custom_icon": [
- true
]
}{- "tab": {
- "id": 0,
- "project_id": 0,
- "item_type": "Collection",
- "item_id": 0,
- "icon": "string",
- "custom_icon": true,
- "position": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| project_id required | integer ID of the project |
required | Array of Array of objects or any |
{- "positions": [
- [
- {
- "id": 0,
- "position": 0
}
]
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| project_id required | integer ID of the project |
| id required | integer ID of the tab |
{- "tab": {
- "id": 0,
- "project_id": 0,
- "item_type": "Collection",
- "item_id": 0,
- "icon": "string",
- "custom_icon": true,
- "position": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| project_id required | integer ID of the project |
| id required | integer ID of the tab |
Array of strings or any | |
Array of booleans or any | |
Array of integers or any |
{- "icon": [
- "string"
], - "custom_icon": [
- true
], - "position": [
- 0
]
}{- "tab": {
- "id": 0,
- "project_id": 0,
- "item_type": "Collection",
- "item_id": 0,
- "icon": "string",
- "custom_icon": true,
- "position": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z"
}
}| project_id required | integer ID of the project |
| id required | integer ID of the tab |
Array of strings or any | |
Array of booleans or any | |
Array of integers or any |
{- "icon": [
- "string"
], - "custom_icon": [
- true
], - "position": [
- 0
]
}{- "tab": {
- "id": 0,
- "project_id": 0,
- "item_type": "Collection",
- "item_id": 0,
- "icon": "string",
- "custom_icon": true,
- "position": 0,
- "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 |
| 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,
- "account_id": 0,
- "projectable_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "projectable_type": "Project::App",
- "name": "string",
- "app_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "primary_language_code": "alq",
- "additional_language_codes": [
- "alq"
], - "theme_id": 0,
- "badge_group_ids": [
- 0
], - "subdomain": "string",
- "show_in_app_catalogue": true,
- "published_on_android": true,
- "published_on_ios": true,
- "published_on_web": true,
- "tags": [
- "string"
], - "settings": {
- "social_sharing_enabled": true,
- "location_manager_enabled": true,
- "distance_unit": "string",
- "linked_items_enabled": true,
- "location_enabled": true,
- "bluetooth_enabled": true,
- "keypad_enabled": true,
- "keypad_digits": 0,
- "pin_code": 0,
- "qr_enabled": true,
- "search_enabled": true,
- "audio_enabled": true,
- "favorites_enabled": true,
- "badges_on_profile_enabled": true,
- "app_review_enabled": true,
- "app_review_threshold": 0,
- "code_lock": true,
- "speaker_enabled": true,
- "persist_language_switcher": true,
- "beta_features": {
- "new_audio_player": true,
- "new_theming_system": true
}
}, - "background_image_media_item_id": 0,
- "code_background_media_item_id": 0,
- "qr_code_logo_media_item_id": 0,
- "icon_media_item_id": 0,
- "loading_media_item_id": 0,
- "colors": {
- "property1": "string",
- "property2": "string"
}
}
]
}Project
| name required | string |
| projectable_type required | string Enum: "Project::App" "Project::Kiosk" "Project::Signage" |
| primary_language_code required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
| additional_language_codes | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
string or null | |
integer or null | |
| badge_group_ids | Array of integers |
| show_in_app_catalogue | boolean |
| published_on_android | boolean |
| published_on_ios | boolean |
| published_on_web | boolean |
| tags | Array of strings (TagList) Array of tags to help orgainse and search |
object (ProjectSettings) Common project settings | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
object | |
integer or null | |
integer or null | |
object (KioskProjectSettings) Kiosk-project keybinding/settings configuration | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (SignageProjectSettings) Signage-project settings | |
object |
{- "name": "string",
- "projectable_type": "Project::App",
- "primary_language_code": "alq",
- "additional_language_codes": [
- "alq"
], - "app_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "subdomain": "string",
- "theme_id": 0,
- "badge_group_ids": [
- 0
], - "show_in_app_catalogue": true,
- "published_on_android": true,
- "published_on_ios": true,
- "published_on_web": true,
- "tags": [
- "string"
], - "settings": {
- "social_sharing_enabled": true,
- "location_manager_enabled": true,
- "distance_unit": "string",
- "linked_items_enabled": true,
- "location_enabled": true,
- "bluetooth_enabled": true,
- "keypad_enabled": true,
- "keypad_digits": 0,
- "pin_code": 0,
- "qr_enabled": true,
- "search_enabled": true,
- "audio_enabled": true,
- "favorites_enabled": true,
- "badges_on_profile_enabled": true,
- "app_review_enabled": true,
- "app_review_threshold": 0,
- "code_lock": true,
- "speaker_enabled": true,
- "persist_language_switcher": true,
- "beta_features": {
- "new_audio_player": true,
- "new_theming_system": true
}
}, - "background_image_media_item_id": 0,
- "code_background_media_item_id": 0,
- "qr_code_logo_media_item_id": 0,
- "icon_media_item_id": 0,
- "loading_media_item_id": 0,
- "colors": {
- "property1": "string",
- "property2": "string"
}, - "screensaver_media_item_id": 0,
- "initial_screen_id": 0,
- "kiosk_settings": {
- "screensaver_enabled": true,
- "keybindings_enabled": true,
- "persist_language_switcher": true,
- "back_button_location": "string",
- "language_switcher_location": "string",
- "left_command_keybinding": "string",
- "right_command_keybinding": "string",
- "up_command_keybinding": "string",
- "down_command_keybinding": "string",
- "escape_command_keybinding": "string",
- "enter_command_keybinding": "string",
- "volume_command_keybinding": "string"
}, - "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "start_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "signage_settings": {
- "language_switcher_enabled": true,
- "sync_displays_enabled": true,
- "current_language_toast_timeout": 0,
- "menu_command_keybinding": "string"
}, - "language_keybindings": {
- "property1": "string",
- "property2": "string"
}
}{- "project": {
- "id": 0,
- "account_id": 0,
- "projectable_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "projectable_type": "Project::App",
- "name": "string",
- "app_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "primary_language_code": "alq",
- "additional_language_codes": [
- "alq"
], - "theme_id": 0,
- "badge_group_ids": [
- 0
], - "subdomain": "string",
- "show_in_app_catalogue": true,
- "published_on_android": true,
- "published_on_ios": true,
- "published_on_web": true,
- "tags": [
- "string"
], - "settings": {
- "social_sharing_enabled": true,
- "location_manager_enabled": true,
- "distance_unit": "string",
- "linked_items_enabled": true,
- "location_enabled": true,
- "bluetooth_enabled": true,
- "keypad_enabled": true,
- "keypad_digits": 0,
- "pin_code": 0,
- "qr_enabled": true,
- "search_enabled": true,
- "audio_enabled": true,
- "favorites_enabled": true,
- "badges_on_profile_enabled": true,
- "app_review_enabled": true,
- "app_review_threshold": 0,
- "code_lock": true,
- "speaker_enabled": true,
- "persist_language_switcher": true,
- "beta_features": {
- "new_audio_player": true,
- "new_theming_system": true
}
}, - "background_image_media_item_id": 0,
- "code_background_media_item_id": 0,
- "qr_code_logo_media_item_id": 0,
- "icon_media_item_id": 0,
- "loading_media_item_id": 0,
- "colors": {
- "property1": "string",
- "property2": "string"
}
}
}| id required | integer ID of the Project to retrieve |
{- "project": {
- "id": 0,
- "account_id": 0,
- "projectable_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "projectable_type": "Project::App",
- "name": "string",
- "app_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "primary_language_code": "alq",
- "additional_language_codes": [
- "alq"
], - "theme_id": 0,
- "badge_group_ids": [
- 0
], - "subdomain": "string",
- "show_in_app_catalogue": true,
- "published_on_android": true,
- "published_on_ios": true,
- "published_on_web": true,
- "tags": [
- "string"
], - "settings": {
- "social_sharing_enabled": true,
- "location_manager_enabled": true,
- "distance_unit": "string",
- "linked_items_enabled": true,
- "location_enabled": true,
- "bluetooth_enabled": true,
- "keypad_enabled": true,
- "keypad_digits": 0,
- "pin_code": 0,
- "qr_enabled": true,
- "search_enabled": true,
- "audio_enabled": true,
- "favorites_enabled": true,
- "badges_on_profile_enabled": true,
- "app_review_enabled": true,
- "app_review_threshold": 0,
- "code_lock": true,
- "speaker_enabled": true,
- "persist_language_switcher": true,
- "beta_features": {
- "new_audio_player": true,
- "new_theming_system": true
}
}, - "background_image_media_item_id": 0,
- "code_background_media_item_id": 0,
- "qr_code_logo_media_item_id": 0,
- "icon_media_item_id": 0,
- "loading_media_item_id": 0,
- "colors": {
- "property1": "string",
- "property2": "string"
}
}
}| id required | integer ID of the Project to update |
Project
| name | string |
| primary_language_code | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
| additional_language_codes | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
string or null | |
integer or null | |
| badge_group_ids | Array of integers |
| show_in_app_catalogue | boolean |
| published_on_android | boolean |
| published_on_ios | boolean |
| published_on_web | boolean |
| tags | Array of strings (TagList) Array of tags to help orgainse and search |
object (ProjectSettings) Common project settings | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
object | |
integer or null | |
integer or null | |
object (KioskProjectSettings) Kiosk-project keybinding/settings configuration | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (SignageProjectSettings) Signage-project settings | |
object |
{- "name": "string",
- "primary_language_code": "alq",
- "additional_language_codes": [
- "alq"
], - "app_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "subdomain": "string",
- "theme_id": 0,
- "badge_group_ids": [
- 0
], - "show_in_app_catalogue": true,
- "published_on_android": true,
- "published_on_ios": true,
- "published_on_web": true,
- "tags": [
- "string"
], - "settings": {
- "social_sharing_enabled": true,
- "location_manager_enabled": true,
- "distance_unit": "string",
- "linked_items_enabled": true,
- "location_enabled": true,
- "bluetooth_enabled": true,
- "keypad_enabled": true,
- "keypad_digits": 0,
- "pin_code": 0,
- "qr_enabled": true,
- "search_enabled": true,
- "audio_enabled": true,
- "favorites_enabled": true,
- "badges_on_profile_enabled": true,
- "app_review_enabled": true,
- "app_review_threshold": 0,
- "code_lock": true,
- "speaker_enabled": true,
- "persist_language_switcher": true,
- "beta_features": {
- "new_audio_player": true,
- "new_theming_system": true
}
}, - "background_image_media_item_id": 0,
- "code_background_media_item_id": 0,
- "qr_code_logo_media_item_id": 0,
- "icon_media_item_id": 0,
- "loading_media_item_id": 0,
- "colors": {
- "property1": "string",
- "property2": "string"
}, - "screensaver_media_item_id": 0,
- "initial_screen_id": 0,
- "kiosk_settings": {
- "screensaver_enabled": true,
- "keybindings_enabled": true,
- "persist_language_switcher": true,
- "back_button_location": "string",
- "language_switcher_location": "string",
- "left_command_keybinding": "string",
- "right_command_keybinding": "string",
- "up_command_keybinding": "string",
- "down_command_keybinding": "string",
- "escape_command_keybinding": "string",
- "enter_command_keybinding": "string",
- "volume_command_keybinding": "string"
}, - "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "start_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "signage_settings": {
- "language_switcher_enabled": true,
- "sync_displays_enabled": true,
- "current_language_toast_timeout": 0,
- "menu_command_keybinding": "string"
}, - "language_keybindings": {
- "property1": "string",
- "property2": "string"
}
}{- "project": {
- "id": 0,
- "account_id": 0,
- "projectable_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "projectable_type": "Project::App",
- "name": "string",
- "app_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "primary_language_code": "alq",
- "additional_language_codes": [
- "alq"
], - "theme_id": 0,
- "badge_group_ids": [
- 0
], - "subdomain": "string",
- "show_in_app_catalogue": true,
- "published_on_android": true,
- "published_on_ios": true,
- "published_on_web": true,
- "tags": [
- "string"
], - "settings": {
- "social_sharing_enabled": true,
- "location_manager_enabled": true,
- "distance_unit": "string",
- "linked_items_enabled": true,
- "location_enabled": true,
- "bluetooth_enabled": true,
- "keypad_enabled": true,
- "keypad_digits": 0,
- "pin_code": 0,
- "qr_enabled": true,
- "search_enabled": true,
- "audio_enabled": true,
- "favorites_enabled": true,
- "badges_on_profile_enabled": true,
- "app_review_enabled": true,
- "app_review_threshold": 0,
- "code_lock": true,
- "speaker_enabled": true,
- "persist_language_switcher": true,
- "beta_features": {
- "new_audio_player": true,
- "new_theming_system": true
}
}, - "background_image_media_item_id": 0,
- "code_background_media_item_id": 0,
- "qr_code_logo_media_item_id": 0,
- "icon_media_item_id": 0,
- "loading_media_item_id": 0,
- "colors": {
- "property1": "string",
- "property2": "string"
}
}
}| id required | integer ID of the Project to update |
Project
| name | string |
| primary_language_code | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
| additional_language_codes | Array of strings (ContentLanguage) Items Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
string or null | |
integer or null | |
| badge_group_ids | Array of integers |
| show_in_app_catalogue | boolean |
| published_on_android | boolean |
| published_on_ios | boolean |
| published_on_web | boolean |
| tags | Array of strings (TagList) Array of tags to help orgainse and search |
object (ProjectSettings) Common project settings | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
object | |
integer or null | |
integer or null | |
object (KioskProjectSettings) Kiosk-project keybinding/settings configuration | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (SignageProjectSettings) Signage-project settings | |
object |
{- "name": "string",
- "primary_language_code": "alq",
- "additional_language_codes": [
- "alq"
], - "app_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "subdomain": "string",
- "theme_id": 0,
- "badge_group_ids": [
- 0
], - "show_in_app_catalogue": true,
- "published_on_android": true,
- "published_on_ios": true,
- "published_on_web": true,
- "tags": [
- "string"
], - "settings": {
- "social_sharing_enabled": true,
- "location_manager_enabled": true,
- "distance_unit": "string",
- "linked_items_enabled": true,
- "location_enabled": true,
- "bluetooth_enabled": true,
- "keypad_enabled": true,
- "keypad_digits": 0,
- "pin_code": 0,
- "qr_enabled": true,
- "search_enabled": true,
- "audio_enabled": true,
- "favorites_enabled": true,
- "badges_on_profile_enabled": true,
- "app_review_enabled": true,
- "app_review_threshold": 0,
- "code_lock": true,
- "speaker_enabled": true,
- "persist_language_switcher": true,
- "beta_features": {
- "new_audio_player": true,
- "new_theming_system": true
}
}, - "background_image_media_item_id": 0,
- "code_background_media_item_id": 0,
- "qr_code_logo_media_item_id": 0,
- "icon_media_item_id": 0,
- "loading_media_item_id": 0,
- "colors": {
- "property1": "string",
- "property2": "string"
}, - "screensaver_media_item_id": 0,
- "initial_screen_id": 0,
- "kiosk_settings": {
- "screensaver_enabled": true,
- "keybindings_enabled": true,
- "persist_language_switcher": true,
- "back_button_location": "string",
- "language_switcher_location": "string",
- "left_command_keybinding": "string",
- "right_command_keybinding": "string",
- "up_command_keybinding": "string",
- "down_command_keybinding": "string",
- "escape_command_keybinding": "string",
- "enter_command_keybinding": "string",
- "volume_command_keybinding": "string"
}, - "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "start_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "signage_settings": {
- "language_switcher_enabled": true,
- "sync_displays_enabled": true,
- "current_language_toast_timeout": 0,
- "menu_command_keybinding": "string"
}, - "language_keybindings": {
- "property1": "string",
- "property2": "string"
}
}{- "project": {
- "id": 0,
- "account_id": 0,
- "projectable_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "projectable_type": "Project::App",
- "name": "string",
- "app_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "primary_language_code": "alq",
- "additional_language_codes": [
- "alq"
], - "theme_id": 0,
- "badge_group_ids": [
- 0
], - "subdomain": "string",
- "show_in_app_catalogue": true,
- "published_on_android": true,
- "published_on_ios": true,
- "published_on_web": true,
- "tags": [
- "string"
], - "settings": {
- "social_sharing_enabled": true,
- "location_manager_enabled": true,
- "distance_unit": "string",
- "linked_items_enabled": true,
- "location_enabled": true,
- "bluetooth_enabled": true,
- "keypad_enabled": true,
- "keypad_digits": 0,
- "pin_code": 0,
- "qr_enabled": true,
- "search_enabled": true,
- "audio_enabled": true,
- "favorites_enabled": true,
- "badges_on_profile_enabled": true,
- "app_review_enabled": true,
- "app_review_threshold": 0,
- "code_lock": true,
- "speaker_enabled": true,
- "persist_language_switcher": true,
- "beta_features": {
- "new_audio_player": true,
- "new_theming_system": true
}
}, - "background_image_media_item_id": 0,
- "code_background_media_item_id": 0,
- "qr_code_logo_media_item_id": 0,
- "icon_media_item_id": 0,
- "loading_media_item_id": 0,
- "colors": {
- "property1": "string",
- "property2": "string"
}
}
}| id required | integer ID of the Project to delete |
| language | string If supplied, removes only the translation for this language code (cannot be the project's primary_language_code) |
{- "project": {
- "id": 0,
- "account_id": 0,
- "projectable_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "projectable_type": "Project::App",
- "name": "string",
- "app_name": {
- "en": "English text",
- "fr": "Texte français"
}, - "primary_language_code": "alq",
- "additional_language_codes": [
- "alq"
], - "theme_id": 0,
- "badge_group_ids": [
- 0
], - "subdomain": "string",
- "show_in_app_catalogue": true,
- "published_on_android": true,
- "published_on_ios": true,
- "published_on_web": true,
- "tags": [
- "string"
], - "settings": {
- "social_sharing_enabled": true,
- "location_manager_enabled": true,
- "distance_unit": "string",
- "linked_items_enabled": true,
- "location_enabled": true,
- "bluetooth_enabled": true,
- "keypad_enabled": true,
- "keypad_digits": 0,
- "pin_code": 0,
- "qr_enabled": true,
- "search_enabled": true,
- "audio_enabled": true,
- "favorites_enabled": true,
- "badges_on_profile_enabled": true,
- "app_review_enabled": true,
- "app_review_threshold": 0,
- "code_lock": true,
- "speaker_enabled": true,
- "persist_language_switcher": true,
- "beta_features": {
- "new_audio_player": true,
- "new_theming_system": true
}
}, - "background_image_media_item_id": 0,
- "code_background_media_item_id": 0,
- "qr_code_logo_media_item_id": 0,
- "icon_media_item_id": 0,
- "loading_media_item_id": 0,
- "colors": {
- "property1": "string",
- "property2": "string"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| question_id required | integer ID of the parent QuizQuestion |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| q | string Search query (matches answer_text) |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "answers": [
- {
- "id": 0,
- "quiz_question_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "correct": true,
- "answer_media_item_id": 0,
- "answer_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}| quiz_id required | integer ID of the parent Quiz |
| question_id required | integer ID of the parent QuizQuestion |
QuizQuestionAnswer
| position | integer |
| correct | boolean |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "position": 0,
- "correct": true,
- "answer_media_item_id": 0,
- "answer_text": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "answer": {
- "id": 0,
- "quiz_question_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "correct": true,
- "answer_media_item_id": 0,
- "answer_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| question_id required | integer ID of the parent QuizQuestion |
Positions to update
required | Array of objects Array of answer position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| quiz_id required | integer ID of the parent Quiz |
| question_id required | integer ID of the parent QuizQuestion |
| id required | integer ID of the QuizQuestionAnswer to retrieve |
{- "answer": {
- "id": 0,
- "quiz_question_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "correct": true,
- "answer_media_item_id": 0,
- "answer_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| question_id required | integer ID of the parent QuizQuestion |
| id required | integer ID of the QuizQuestionAnswer to update |
QuizQuestionAnswer
| position | integer |
| correct | boolean |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "position": 0,
- "correct": true,
- "answer_media_item_id": 0,
- "answer_text": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "answer": {
- "id": 0,
- "quiz_question_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "correct": true,
- "answer_media_item_id": 0,
- "answer_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| question_id required | integer ID of the parent QuizQuestion |
| id required | integer ID of the QuizQuestionAnswer to update |
QuizQuestionAnswer
| position | integer |
| correct | boolean |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "position": 0,
- "correct": true,
- "answer_media_item_id": 0,
- "answer_text": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "answer": {
- "id": 0,
- "quiz_question_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "correct": true,
- "answer_media_item_id": 0,
- "answer_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| question_id required | integer ID of the parent QuizQuestion |
| id required | integer ID of the QuizQuestionAnswer to delete |
| language | string Language locale to delete (deletes only that translation instead of the whole answer) |
{- "answer": {
- "id": 0,
- "quiz_question_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "correct": true,
- "answer_media_item_id": 0,
- "answer_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| question_id required | integer ID of the parent QuizQuestion |
| id required | integer ID of the QuizQuestionAnswer |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "string"
}
]
}| quiz_id required | integer ID of the parent Quiz |
| page | integer Page number |
| per_page | integer [ 1 .. 1000 ] Default: 30 Number of items per page, max 1000 |
| q | string Search query (matches name) |
{- "meta": {
- "page": 1,
- "pages": 10,
- "per_page": 30,
- "count": 305
}, - "questions": [
- {
- "id": 0,
- "quiz_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "question_type": "single_text_choice",
- "max_attempts": 0,
- "correct_image_media_item_id": 0,
- "incorrect_image_media_item_id": 0,
- "correct_audio_media_item_id": 0,
- "incorrect_audio_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "question": {
- "en": "English text",
- "fr": "Texte français"
}, - "correct_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "incorrect_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}| quiz_id required | integer ID of the parent Quiz |
QuizQuestion
| name | string |
| position | integer |
| question_type | string Enum: "single_text_choice" "single_image_choice" "multi_text_choice" "multi_image_choice" "free_text" |
| max_attempts | integer |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "position": 0,
- "question_type": "single_text_choice",
- "max_attempts": 0,
- "correct_image_media_item_id": 0,
- "incorrect_image_media_item_id": 0,
- "correct_audio_media_item_id": 0,
- "incorrect_audio_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "question": {
- "en": "English text",
- "fr": "Texte français"
}, - "correct_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "incorrect_text": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "question": {
- "id": 0,
- "quiz_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "question_type": "single_text_choice",
- "max_attempts": 0,
- "correct_image_media_item_id": 0,
- "incorrect_image_media_item_id": 0,
- "correct_audio_media_item_id": 0,
- "incorrect_audio_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "question": {
- "en": "English text",
- "fr": "Texte français"
}, - "correct_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "incorrect_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
Positions to update
required | Array of objects Array of question position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| quiz_id required | integer ID of the parent Quiz |
| id required | integer ID of the QuizQuestion to retrieve |
{- "question": {
- "id": 0,
- "quiz_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "question_type": "single_text_choice",
- "max_attempts": 0,
- "correct_image_media_item_id": 0,
- "incorrect_image_media_item_id": 0,
- "correct_audio_media_item_id": 0,
- "incorrect_audio_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "question": {
- "en": "English text",
- "fr": "Texte français"
}, - "correct_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "incorrect_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| id required | integer ID of the QuizQuestion to update |
QuizQuestion
| name | string |
| position | integer |
| question_type | string Enum: "single_text_choice" "single_image_choice" "multi_text_choice" "multi_image_choice" "free_text" |
| max_attempts | integer |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "position": 0,
- "question_type": "single_text_choice",
- "max_attempts": 0,
- "correct_image_media_item_id": 0,
- "incorrect_image_media_item_id": 0,
- "correct_audio_media_item_id": 0,
- "incorrect_audio_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "question": {
- "en": "English text",
- "fr": "Texte français"
}, - "correct_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "incorrect_text": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "question": {
- "id": 0,
- "quiz_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "question_type": "single_text_choice",
- "max_attempts": 0,
- "correct_image_media_item_id": 0,
- "incorrect_image_media_item_id": 0,
- "correct_audio_media_item_id": 0,
- "incorrect_audio_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "question": {
- "en": "English text",
- "fr": "Texte français"
}, - "correct_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "incorrect_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| id required | integer ID of the QuizQuestion to update |
QuizQuestion
| name | string |
| position | integer |
| question_type | string Enum: "single_text_choice" "single_image_choice" "multi_text_choice" "multi_image_choice" "free_text" |
| max_attempts | integer |
integer or null | |
integer or null | |
integer or null | |
integer or null | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "position": 0,
- "question_type": "single_text_choice",
- "max_attempts": 0,
- "correct_image_media_item_id": 0,
- "incorrect_image_media_item_id": 0,
- "correct_audio_media_item_id": 0,
- "incorrect_audio_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "question": {
- "en": "English text",
- "fr": "Texte français"
}, - "correct_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "incorrect_text": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "question": {
- "id": 0,
- "quiz_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "question_type": "single_text_choice",
- "max_attempts": 0,
- "correct_image_media_item_id": 0,
- "incorrect_image_media_item_id": 0,
- "correct_audio_media_item_id": 0,
- "incorrect_audio_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "question": {
- "en": "English text",
- "fr": "Texte français"
}, - "correct_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "incorrect_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| id required | integer ID of the QuizQuestion to delete |
| language | string Language locale to delete (deletes only that translation instead of the whole question) |
{- "question": {
- "id": 0,
- "quiz_id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "name": "string",
- "position": 0,
- "question_type": "single_text_choice",
- "max_attempts": 0,
- "correct_image_media_item_id": 0,
- "incorrect_image_media_item_id": 0,
- "correct_audio_media_item_id": 0,
- "incorrect_audio_media_item_id": 0,
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "question": {
- "en": "English text",
- "fr": "Texte français"
}, - "correct_text": {
- "en": "English text",
- "fr": "Texte français"
}, - "incorrect_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| quiz_id required | integer ID of the parent Quiz |
| id required | integer ID of the QuizQuestion |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "string"
}
]
}| 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
}, - "quizzes": [
- {
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}Quiz
| name required | string |
| primary_language required | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "primary_language": "alq",
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "quiz": {
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the Quiz to retrieve |
{- "quiz": {
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the Quiz to update |
Quiz
| name | string |
| primary_language | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "primary_language": "alq",
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "quiz": {
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the Quiz to update |
Quiz
| name | string |
| primary_language | string (ContentLanguage) Enum: "alq" "ar" "bg" "buc" "ca" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "name": "string",
- "primary_language": "alq",
- "title": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "quiz": {
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the Quiz to delete |
| language | string Language locale to delete (deletes only that translation instead of the whole quiz) |
{- "quiz": {
- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| id required | integer ID of the Quiz |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "string"
}
]
}| 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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "html": {
- "en": "English text",
- "fr": "Texte français"
}, - "css": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "type": "text",
- "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "body": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}
}| 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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "html": {
- "en": "English text",
- "fr": "Texte français"
}, - "css": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" "cs" "cy" "da" "de" "el" "en" "en-GB" "es" "eu" "fa" "fi" "fj" "fo" "fr" "ga" "haw" "he" "hi" "hmn" "hr" "ht" "hu" "hy" "id" "is" "it" "iu" "ja" "ka" "kk" "ko" "lkt" "lld" "lo" "lt" "lv" "mh" "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" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "html": {
- "en": "English text",
- "fr": "Texte français"
}, - "css": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "short_title": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_short_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "stqry_directory_full_description": {
- "en": "English text",
- "fr": "Texte français"
}, - "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 |
{- "screens": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "collections": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "media_items": [
- {
- "id": 0,
- "name": "string",
- "subtype_id": 0,
- "subtype_type": "string"
}
], - "project_tabs": [
- {
- "id": 0,
- "project_id": 0,
- "name": "string"
}
], - "quizzes": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_questions": [
- {
- "id": 0,
- "name": "string"
}
], - "quiz_answers": [
- {
- "id": 0,
- "name": "string"
}
], - "app_listings": [
- {
- "id": 0,
- "name": "string"
}
], - "in_app_purchases": [
- {
- "id": 0,
- "name": "string"
}
], - "products": [
- {
- "id": 0,
- "name": "string"
}
], - "map_layers": [
- {
- "id": 0,
- "name": "string"
}
], - "projects": [
- {
- "id": 0,
- "name": "string"
}
], - "badges": [
- {
- "id": 0,
- "name": "string"
}
], - "linked_items": [
- {
- "id": 0,
- "name": "string"
}
], - "playlist_items": [
- {
- "id": 0,
- "name": "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",
- "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 |
Positions to update
required | Array of objects Array of badge item position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| 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 |
| id required | integer ID of the StorySectionBadgeItem to retrieve |
{- "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 |
{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "url": {
- "en": "English text",
- "fr": "Texte français"
}, - "username": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}| 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 |
string or null | |
integer or null | |
| position | integer |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "url": {
- "en": "English text",
- "fr": "Texte français"
}, - "username": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "url": {
- "en": "English text",
- "fr": "Texte français"
}, - "username": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
Positions to update
required | Array of objects Array of link item position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| 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 |
string or null | |
integer or null | |
| position | integer |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "url": {
- "en": "English text",
- "fr": "Texte français"
}, - "username": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "url": {
- "en": "English text",
- "fr": "Texte français"
}, - "username": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
string or null | |
integer or null | |
| position | integer |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "url": {
- "en": "English text",
- "fr": "Texte français"
}, - "username": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "url": {
- "en": "English text",
- "fr": "Texte français"
}, - "username": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
| id required | integer ID of the StorySectionLinkItem to retrieve |
{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "url": {
- "en": "English text",
- "fr": "Texte français"
}, - "username": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
Positions to update
required | Array of objects Array of media item position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| 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 |
| id required | integer ID of the StorySectionMediaItem to retrieve |
{- "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 |
{- "items": [
- {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
StorySectionOpeningTimeItem
| position | integer |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "position": 0,
- "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
Positions to update
required | Array of objects Array of opening-time item position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| 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 |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "position": 0,
- "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "position": 0,
- "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
| id required | integer ID of the StorySectionOpeningTimeItem to retrieve |
{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "position": 0,
- "description": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}| 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 |
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": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
Positions to update
required | Array of objects Array of price item position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| 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 |
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": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
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": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
| id required | integer ID of the StorySectionPriceItem to retrieve |
{- "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": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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": {
- "en": "English text",
- "fr": "Texte français"
}, - "link_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}| 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 |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "social_network": "twitter",
- "position": 0,
- "username": {
- "en": "English text",
- "fr": "Texte français"
}, - "link_text": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "social_network": "twitter",
- "position": 0,
- "username": {
- "en": "English text",
- "fr": "Texte français"
}, - "link_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| screen_id required | integer ID of the parent Screen |
| story_section_id required | integer ID of the parent StorySection |
Positions to update
required | Array of objects Array of social item position updates |
{- "positions": [
- {
- "id": 0,
- "position": 0
}
]
}{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| 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 |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "social_network": "twitter",
- "position": 0,
- "username": {
- "en": "English text",
- "fr": "Texte français"
}, - "link_text": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "social_network": "twitter",
- "position": 0,
- "username": {
- "en": "English text",
- "fr": "Texte français"
}, - "link_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
{- "social_network": "twitter",
- "position": 0,
- "username": {
- "en": "English text",
- "fr": "Texte français"
}, - "link_text": {
- "en": "English text",
- "fr": "Texte français"
}
}{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "social_network": "twitter",
- "position": 0,
- "username": {
- "en": "English text",
- "fr": "Texte français"
}, - "link_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
| story_section_id required | integer ID of the parent StorySection |
| id required | integer ID of the StorySectionSocialItem to retrieve |
{- "item": {
- "id": 0,
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "social_network": "twitter",
- "position": 0,
- "username": {
- "en": "English text",
- "fr": "Texte français"
}, - "link_text": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "type": "text",
- "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "body": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}| 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 |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
| type | string Value: "text" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "type": "text",
- "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "type": "text",
- "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
| type | string Value: "text" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "type": "text",
- "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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 |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
| type | string Value: "text" |
object (TranslatedString) A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) | |
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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "time": {
- "en": "English text",
- "fr": "Texte français"
}
}
]
}{- "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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "type": "text",
- "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| 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": {
- "en": "English text",
- "fr": "Texte français"
}, - "hide": {
- "en": "English text",
- "fr": "Texte français"
}, - "type": "text",
- "subtitle": {
- "en": "English text",
- "fr": "Texte français"
}, - "body": {
- "en": "English text",
- "fr": "Texte français"
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
| badge_id required | integer ID of the parent Badge |
| 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
}, - "triggers": [
- {
- "id": 0,
- "badge_id": 0,
- "geofence": "off",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "trigger_type": "off",
- "triggerable_type": "QuizQuestion",
- "triggerable_id": 0,
- "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
}
}
]
}| badge_group_id required | integer ID of the parent BadgeGroup |
| badge_id required | integer ID of the parent Badge |
Trigger
| trigger_type | string Enum: "off" "quiz_question" "screen" "gps" "beacon" How the badge is awarded. 'screen'/'quiz_question' require a matching triggerable; 'gps'/'beacon' use the corresponding settings; 'off' disables the trigger. |
string or null | |
integer or null | |
GpsSettings (object) or null | |
BeaconSettings (object) or null |
{- "trigger_type": "off",
- "triggerable_type": "QuizQuestion",
- "triggerable_id": 0,
- "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
}
}{- "trigger": {
- "id": 0,
- "badge_id": 0,
- "geofence": "off",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "trigger_type": "off",
- "triggerable_type": "QuizQuestion",
- "triggerable_id": 0,
- "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
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
| badge_id required | integer ID of the parent Badge |
| id required | integer ID of the Trigger to retrieve |
{- "trigger": {
- "id": 0,
- "badge_id": 0,
- "geofence": "off",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "trigger_type": "off",
- "triggerable_type": "QuizQuestion",
- "triggerable_id": 0,
- "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
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
| badge_id required | integer ID of the parent Badge |
| id required | integer ID of the Trigger to update |
Trigger
| trigger_type | string Enum: "off" "quiz_question" "screen" "gps" "beacon" How the badge is awarded. 'screen'/'quiz_question' require a matching triggerable; 'gps'/'beacon' use the corresponding settings; 'off' disables the trigger. |
string or null | |
integer or null | |
GpsSettings (object) or null | |
BeaconSettings (object) or null |
{- "trigger_type": "off",
- "triggerable_type": "QuizQuestion",
- "triggerable_id": 0,
- "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
}
}{- "trigger": {
- "id": 0,
- "badge_id": 0,
- "geofence": "off",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "trigger_type": "off",
- "triggerable_type": "QuizQuestion",
- "triggerable_id": 0,
- "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
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
| badge_id required | integer ID of the parent Badge |
| id required | integer ID of the Trigger to update |
Trigger
| trigger_type | string Enum: "off" "quiz_question" "screen" "gps" "beacon" How the badge is awarded. 'screen'/'quiz_question' require a matching triggerable; 'gps'/'beacon' use the corresponding settings; 'off' disables the trigger. |
string or null | |
integer or null | |
GpsSettings (object) or null | |
BeaconSettings (object) or null |
{- "trigger_type": "off",
- "triggerable_type": "QuizQuestion",
- "triggerable_id": 0,
- "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
}
}{- "trigger": {
- "id": 0,
- "badge_id": 0,
- "geofence": "off",
- "created_at": "2017-07-21T17:32:28Z",
- "updated_at": "2017-07-21T17:32:28Z",
- "trigger_type": "off",
- "triggerable_type": "QuizQuestion",
- "triggerable_id": 0,
- "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
}
}
}| badge_group_id required | integer ID of the parent BadgeGroup |
| badge_id required | integer ID of the parent Badge |
| id required | integer ID of the Trigger to delete |
{- "errors": [
- {
- "code": 0,
- "message": "string"
}
]
}| 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": { }
}
}