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"
}
}
|
artifact_id
required
|
integer
ID of the Artifact |
{
-
"artifact_items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
]
}
|
artifact_id
required
|
integer
ID of the Artifact |
Artifact item
|
item_type
required
|
string
Enum:
"Project"
"Collection"
"Screen"
|
|
item_id
required
|
integer
|
| priority |
integer
|
{
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0
}
{
-
"artifact_item":
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
artifact_id
required
|
integer
ID of the Artifact |
|
id
required
|
integer
ID of the ArtifactItem |
{
-
"artifact_item":
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
artifact_id
required
|
integer
ID of the Artifact |
|
id
required
|
integer
ID of the ArtifactItem |
Artifact item
| item_type |
string
Enum:
"Project"
"Collection"
"Screen"
|
| item_id |
integer
|
| priority |
integer
|
{
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0
}
{
-
"artifact_item":
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
artifact_id
required
|
integer
ID of the Artifact |
|
id
required
|
integer
ID of the ArtifactItem |
Artifact item
| item_type |
string
Enum:
"Project"
"Collection"
"Screen"
|
| item_id |
integer
|
| priority |
integer
|
{
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0
}
{
-
"artifact_item":
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
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 |
| artifact_type |
string
Enum:
"markdown"
"pdf"
"url"
"faq"
"stqry_content"
Filter by artifact type |
| status |
string
Enum:
"draft"
"in_review"
"approved"
Filter by approval status |
| include_archived |
boolean
Include archived artifacts, which are hidden by default |
{
-
"meta":
{
-
"page":
1,
-
"pages":
10,
-
"per_page":
30,
-
"count":
305
},
-
"artifacts":
[
-
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only": true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id": 0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
]
}
Artifact
| name |
string
|
| artifact_type |
string
Enum:
"markdown"
"pdf"
"url"
"faq"
"stqry_content"
|
| 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" }) |
|
|
object (TranslatedString)
A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
|
|
string or null
|
|
|
integer or null
|
|
| refresh_policy |
string
Enum:
"manual"
"daily"
"weekly"
|
|
object
(GuardrailOverrides)
Per-artifact guardrail overrides; null values inherit the institution config |
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
}
}
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Artifact to retrieve |
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Artifact to update |
Artifact
| name |
string
|
| artifact_type |
string
Enum:
"markdown"
"pdf"
"url"
"faq"
"stqry_content"
|
| 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" }) |
|
|
object (TranslatedString)
A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
|
|
string or null
|
|
|
integer or null
|
|
| refresh_policy |
string
Enum:
"manual"
"daily"
"weekly"
|
|
object
(GuardrailOverrides)
Per-artifact guardrail overrides; null values inherit the institution config |
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
}
}
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Artifact to update |
Artifact
| name |
string
|
| artifact_type |
string
Enum:
"markdown"
"pdf"
"url"
"faq"
"stqry_content"
|
| 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" }) |
|
|
object (TranslatedString)
A locale map of translated strings keyed by language code (e.g. { "en": "Hello", "fr": "Bonjour" }) |
|
|
string or null
|
|
|
integer or null
|
|
| refresh_policy |
string
Enum:
"manual"
"daily"
"weekly"
|
|
object
(GuardrailOverrides)
Per-artifact guardrail overrides; null values inherit the institution config |
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
}
}
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Artifact to delete |
| language |
string
Delete only this translation instead of the whole artifact |
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Artifact to approve |
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Artifact to attach the document to |
| language |
string
Language to attach the document for; defaults to the primary language |
PDF file to attach
|
document
required
|
string
<binary>
PDF file |
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Artifact to remove the document from |
| language |
string
Language to remove the document for; defaults to the primary language |
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Artifact to submit |
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Artifact to unapprove |
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"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
},
-
"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"
}
]
}
| days |
integer
[ 1 .. 365 ]
Default:
30
Period in days (max 365) |
| project_id |
integer
Restrict to one project |
| screen_id |
integer
Restrict to one screen |
{
-
"chat_analytics":
{
-
"period":
{ },
-
"engagement":
{ },
-
"languages":
{ },
-
"modes":
{ },
-
"feedback":
{ },
-
"cost":
{ },
-
"top_questions":
[
-
{
-
"question_key":
"string",
-
"question":
"string",
-
"asks":
0,
-
"refusals":
0,
-
"last_asked_at":
"2017-07-21T17:32:28Z"
}
],
-
"content_gaps":
[
-
{
-
"id":
0,
-
"question":
"string",
-
"question_key":
"string",
-
"locale":
"string",
-
"occurrences":
0,
-
"project_id":
0,
-
"collection_id":
0,
-
"screen_id":
0,
-
"status":
"open",
-
"artifact_id":
0,
-
"resolved_by_id":
0,
-
"resolved_at":
"2017-07-21T17:32:28Z",
-
"first_seen_at":
"2017-07-21T17:32:28Z",
-
"last_seen_at":
"2017-07-21T17:32:28Z"
}
],
-
"dead_ends":
{ }
}
}
| per_page |
integer
[ 1 .. 100 ]
How many to return, max 100 |
| project_id |
integer
Restrict to one project |
| screen_id |
integer
Restrict to one screen |
{
-
"content_gaps":
[
-
{
-
"id":
0,
-
"question":
"string",
-
"question_key":
"string",
-
"locale":
"string",
-
"occurrences":
0,
-
"project_id":
0,
-
"collection_id":
0,
-
"screen_id":
0,
-
"status":
"open",
-
"artifact_id":
0,
-
"resolved_by_id":
0,
-
"resolved_at":
"2017-07-21T17:32:28Z",
-
"first_seen_at":
"2017-07-21T17:32:28Z",
-
"last_seen_at":
"2017-07-21T17:32:28Z"
}
]
}
| days |
integer
[ 1 .. 365 ]
Default:
30
Period in days (max 365) |
| per_page |
integer
[ 1 .. 100 ]
How many to return, max 100 |
| project_id |
integer
Restrict to one project |
| screen_id |
integer
Restrict to one screen |
{
-
"questions":
[
-
{
-
"question_key":
"string",
-
"question":
"string",
-
"asks":
0,
-
"refusals":
0,
-
"last_asked_at":
"2017-07-21T17:32:28Z"
}
]
}
|
id
required
|
integer
ID of the content gap |
{
-
"content_gap":
{
-
"id":
0,
-
"question":
"string",
-
"question_key":
"string",
-
"locale":
"string",
-
"occurrences":
0,
-
"project_id":
0,
-
"collection_id":
0,
-
"screen_id":
0,
-
"status":
"open",
-
"artifact_id":
0,
-
"resolved_by_id":
0,
-
"resolved_at":
"2017-07-21T17:32:28Z",
-
"first_seen_at":
"2017-07-21T17:32:28Z",
-
"last_seen_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the content gap |
Draft options
| artifact_type |
string
Enum:
"markdown"
"pdf"
"url"
"faq"
"stqry_content"
Defaults to faq |
{
-
"artifact_type":
"markdown"
}
{
-
"artifact":
{
-
"name":
"string",
-
"artifact_type":
"markdown",
-
"primary_language":
"alq",
-
"title":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"body":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_url":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"source_type":
"string",
-
"source_id":
0,
-
"refresh_policy":
"manual",
-
"guardrail_overrides":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"string",
-
"do_not_say":
"string",
-
"curated_locales_only":
true
},
-
"id":
0,
-
"status":
"draft",
-
"archived":
true,
-
"version":
0,
-
"default_priority":
0,
-
"translated_languages":
[
-
"alq"
],
-
"snapshot_digest":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"snapshot_fetched_at":
{
-
"en":
"English text",
-
"fr":
"Texte français"
},
-
"document_languages":
[
-
"alq"
],
-
"approved_by_id":
0,
-
"approved_at":
"2017-07-21T17:32:28Z",
-
"items":
[
-
{
-
"id":
0,
-
"artifact_id":
0,
-
"item_type":
"Project",
-
"item_id":
0,
-
"priority":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
{
-
"chat_guardrail_config":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"simple",
-
"cultural_care":
"string",
-
"safety_local":
"string",
-
"refusal":
"string",
-
"do_not_say":
"string",
-
"enabled_locales":
[
-
"alq"
],
-
"curated_locales":
[
-
"alq"
],
-
"lengths":
{ },
-
"machine_translation_enabled":
true,
-
"citations_enabled":
true,
-
"community_content_enabled":
true,
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
Guardrail policy
| persona |
string
|
| voice |
string
|
| reading_level |
string
Enum:
"simple"
"plain"
"standard"
"advanced"
|
| cultural_care |
string
|
| safety_local |
string
|
| refusal |
string
|
| do_not_say |
string
|
| enabled_locales |
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"
|
| curated_locales |
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"
|
| lengths |
object
|
| machine_translation_enabled |
boolean
|
| citations_enabled |
boolean
|
| community_content_enabled |
boolean
|
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"simple",
-
"cultural_care":
"string",
-
"safety_local":
"string",
-
"refusal":
"string",
-
"do_not_say":
"string",
-
"enabled_locales":
[
-
"alq"
],
-
"curated_locales":
[
-
"alq"
],
-
"lengths":
{ },
-
"machine_translation_enabled":
true,
-
"citations_enabled":
true,
-
"community_content_enabled":
true
}
{
-
"chat_guardrail_config":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"simple",
-
"cultural_care":
"string",
-
"safety_local":
"string",
-
"refusal":
"string",
-
"do_not_say":
"string",
-
"enabled_locales":
[
-
"alq"
],
-
"curated_locales":
[
-
"alq"
],
-
"lengths":
{ },
-
"machine_translation_enabled":
true,
-
"citations_enabled":
true,
-
"community_content_enabled":
true,
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
Guardrail policy
| persona |
string
|
| voice |
string
|
| reading_level |
string
Enum:
"simple"
"plain"
"standard"
"advanced"
|
| cultural_care |
string
|
| safety_local |
string
|
| refusal |
string
|
| do_not_say |
string
|
| enabled_locales |
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"
|
| curated_locales |
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"
|
| lengths |
object
|
| machine_translation_enabled |
boolean
|
| citations_enabled |
boolean
|
| community_content_enabled |
boolean
|
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"simple",
-
"cultural_care":
"string",
-
"safety_local":
"string",
-
"refusal":
"string",
-
"do_not_say":
"string",
-
"enabled_locales":
[
-
"alq"
],
-
"curated_locales":
[
-
"alq"
],
-
"lengths":
{ },
-
"machine_translation_enabled":
true,
-
"citations_enabled":
true,
-
"community_content_enabled":
true
}
{
-
"chat_guardrail_config":
{
-
"persona":
"string",
-
"voice":
"string",
-
"reading_level":
"simple",
-
"cultural_care":
"string",
-
"safety_local":
"string",
-
"refusal":
"string",
-
"do_not_say":
"string",
-
"enabled_locales":
[
-
"alq"
],
-
"curated_locales":
[
-
"alq"
],
-
"lengths":
{ },
-
"machine_translation_enabled":
true,
-
"citations_enabled":
true,
-
"community_content_enabled":
true,
-
"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:
"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 to delete |
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
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,
-
"chat_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"
"single_page"
|
|
map_view_enabled
required
|
boolean
|
|
search_enabled
required
|
boolean
|
|
keypad_enabled
required
|
boolean
|
|
qr_enabled
required
|
boolean
|
| chat_enabled |
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,
-
"chat_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,
-
"chat_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,
-
"chat_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"
"single_page"
|
|
map_view_enabled
required
|
boolean
|
|
search_enabled
required
|
boolean
|
|
keypad_enabled
required
|
boolean
|
|
qr_enabled
required
|
boolean
|
| chat_enabled |
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,
-
"chat_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,
-
"chat_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"
"single_page"
|
|
map_view_enabled
required
|
boolean
|
|
search_enabled
required
|
boolean
|
|
keypad_enabled
required
|
boolean
|
|
qr_enabled
required
|
boolean
|
| chat_enabled |
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,
-
"chat_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,
-
"chat_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,
-
"chat_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,
-
"chat_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 (matches name) |
| project_id |
integer
Only displays assigned to this project |
| display_type |
string
Enum:
"signage"
"kiosk"
Only displays of this type |
| sort_field |
string
Enum:
"id"
"name"
"created_at"
"updated_at"
Field to sort by |
| sort_direction |
string
Enum:
"ASC"
"DESC"
Sort direction |
{
-
"meta":
{
-
"page":
1,
-
"pages":
10,
-
"per_page":
30,
-
"count":
305
},
-
"displays":
[
-
{
-
"id":
0,
-
"account_id":
0,
-
"project_id":
0,
-
"name":
"string",
-
"display_type":
"signage",
-
"timezone":
"string",
-
"launch_mode":
"player",
-
"displayable_type":
"Schedule",
-
"displayable_id":
0,
-
"location_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0,
-
"serve":
true
},
-
"cue_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0
},
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
]
}
|
id
required
|
integer
ID of the Display to retrieve |
{
-
"display":
{
-
"id":
0,
-
"account_id":
0,
-
"project_id":
0,
-
"name":
"string",
-
"display_type":
"signage",
-
"timezone":
"string",
-
"launch_mode":
"player",
-
"displayable_type":
"Schedule",
-
"displayable_id":
0,
-
"location_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0,
-
"serve":
true
},
-
"cue_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0
},
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Display to configure |
Display configuration
|
string or null
|
|
|
integer or null
|
|
| launch_mode |
string
Enum:
"player"
"controller"
Which half of driver mode this device is |
|
DisplayLocationSettings (object) or null
|
|
|
DisplayCueSettings (object) or null
|
{
-
"displayable_type":
"Schedule",
-
"displayable_id":
0,
-
"launch_mode":
"player",
-
"location_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0,
-
"serve":
true
},
-
"cue_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0
}
}
{
-
"display":
{
-
"id":
0,
-
"account_id":
0,
-
"project_id":
0,
-
"name":
"string",
-
"display_type":
"signage",
-
"timezone":
"string",
-
"launch_mode":
"player",
-
"displayable_type":
"Schedule",
-
"displayable_id":
0,
-
"location_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0,
-
"serve":
true
},
-
"cue_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0
},
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z"
}
}
|
id
required
|
integer
ID of the Display to configure |
Display configuration
|
string or null
|
|
|
integer or null
|
|
| launch_mode |
string
Enum:
"player"
"controller"
Which half of driver mode this device is |
|
DisplayLocationSettings (object) or null
|
|
|
DisplayCueSettings (object) or null
|
{
-
"displayable_type":
"Schedule",
-
"displayable_id":
0,
-
"launch_mode":
"player",
-
"location_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0,
-
"serve":
true
},
-
"cue_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0
}
}
{
-
"display":
{
-
"id":
0,
-
"account_id":
0,
-
"project_id":
0,
-
"name":
"string",
-
"display_type":
"signage",
-
"timezone":
"string",
-
"launch_mode":
"player",
-
"displayable_type":
"Schedule",
-
"displayable_id":
0,
-
"location_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
0,
-
"serve":
true
},
-
"cue_settings":
{
-
"mode":
"none",
-
"url":
"string",
-
"poll_interval_s":
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 |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
| 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
},
-
"geo_cues":
[
-
{
-
"id":
0,
-
"geo_program_id":
0,
-
"cues":
[
-
null
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"kind":
"group",
-
"label":
"string",
-
"duration":
0,
-
"playable_type":
"Playlist",
-
"playable_id":
0,
-
"parent_id":
0,
-
"position":
0
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
GeoCue
| kind |
string
Enum:
"group"
"cue"
A group holds cues and plays nothing; a cue plays its playable |
| label |
string
|
| duration |
integer
Seconds the content holds for. Only read for content with no length of its own, such as an image; a video or playlist carries its own, and a group plays nothing. Defaults to 30. |
|
string or null
|
|
|
integer or null
|
|
|
integer or null
|
|
| position |
integer
|
{
-
"kind":
"group",
-
"label":
"string",
-
"duration":
0,
-
"playable_type":
"Playlist",
-
"playable_id":
0,
-
"parent_id":
0,
-
"position":
0
}
{
-
"geo_cue":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"cues":
[
-
null
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"kind":
"group",
-
"label":
"string",
-
"duration":
0,
-
"playable_type":
"Playlist",
-
"playable_id":
0,
-
"parent_id":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
| parent_id |
integer
Reorder within this group. Omit to reorder the top-level list. |
Positions to update
|
required
|
Array of objects
Array of zone position updates |
{
-
"positions":
[
-
{
-
"id":
0,
-
"position":
0
}
]
}
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoCue to retrieve |
{
-
"geo_cue":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"cues":
[
-
null
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"kind":
"group",
-
"label":
"string",
-
"duration":
0,
-
"playable_type":
"Playlist",
-
"playable_id":
0,
-
"parent_id":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoCue to update |
GeoCue
| kind |
string
Enum:
"group"
"cue"
A group holds cues and plays nothing; a cue plays its playable |
| label |
string
|
| duration |
integer
Seconds the content holds for. Only read for content with no length of its own, such as an image; a video or playlist carries its own, and a group plays nothing. Defaults to 30. |
|
string or null
|
|
|
integer or null
|
|
|
integer or null
|
|
| position |
integer
|
{
-
"kind":
"group",
-
"label":
"string",
-
"duration":
0,
-
"playable_type":
"Playlist",
-
"playable_id":
0,
-
"parent_id":
0,
-
"position":
0
}
{
-
"geo_cue":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"cues":
[
-
null
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"kind":
"group",
-
"label":
"string",
-
"duration":
0,
-
"playable_type":
"Playlist",
-
"playable_id":
0,
-
"parent_id":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoCue to update |
GeoCue
| kind |
string
Enum:
"group"
"cue"
A group holds cues and plays nothing; a cue plays its playable |
| label |
string
|
| duration |
integer
Seconds the content holds for. Only read for content with no length of its own, such as an image; a video or playlist carries its own, and a group plays nothing. Defaults to 30. |
|
string or null
|
|
|
integer or null
|
|
|
integer or null
|
|
| position |
integer
|
{
-
"kind":
"group",
-
"label":
"string",
-
"duration":
0,
-
"playable_type":
"Playlist",
-
"playable_id":
0,
-
"parent_id":
0,
-
"position":
0
}
{
-
"geo_cue":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"cues":
[
-
null
],
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"kind":
"group",
-
"label":
"string",
-
"duration":
0,
-
"playable_type":
"Playlist",
-
"playable_id":
0,
-
"parent_id":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoCue to delete |
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
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
},
-
"geo_programs":
[
-
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0,
-
"interrupt_mode":
"replace",
-
"map_location_marker_media_item_id": 0
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
GeoProgram
| name |
string
|
| position |
integer
|
| interrupt_mode |
string
Enum:
"replace"
"skip"
"queue"
How a trigger interrupts ambient playback |
|
integer or null
|
{
-
"name":
"string",
-
"position":
0,
-
"interrupt_mode":
"replace",
-
"map_location_marker_media_item_id":
0
}
{
-
"geo_program":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0,
-
"interrupt_mode":
"replace",
-
"map_location_marker_media_item_id": 0
}
}
|
project_id
required
|
integer
ID of the parent Project |
Positions to update
|
required
|
Array of objects
Array of geo program position updates |
{
-
"positions":
[
-
{
-
"id":
0,
-
"position":
0
}
]
}
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the GeoProgram to retrieve |
{
-
"geo_program":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0,
-
"interrupt_mode":
"replace",
-
"map_location_marker_media_item_id": 0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the GeoProgram to update |
GeoProgram
| name |
string
|
| position |
integer
|
| interrupt_mode |
string
Enum:
"replace"
"skip"
"queue"
How a trigger interrupts ambient playback |
|
integer or null
|
{
-
"name":
"string",
-
"position":
0,
-
"interrupt_mode":
"replace",
-
"map_location_marker_media_item_id":
0
}
{
-
"geo_program":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0,
-
"interrupt_mode":
"replace",
-
"map_location_marker_media_item_id": 0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the GeoProgram to update |
GeoProgram
| name |
string
|
| position |
integer
|
| interrupt_mode |
string
Enum:
"replace"
"skip"
"queue"
How a trigger interrupts ambient playback |
|
integer or null
|
{
-
"name":
"string",
-
"position":
0,
-
"interrupt_mode":
"replace",
-
"map_location_marker_media_item_id":
0
}
{
-
"geo_program":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0,
-
"interrupt_mode":
"replace",
-
"map_location_marker_media_item_id": 0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the GeoProgram to delete |
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
| 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
},
-
"geo_triggers":
[
-
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"triggerable_type":
"Playlist",
-
"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
},
-
"cooldown_s":
0,
-
"locked":
true,
-
"duration":
0,
-
"position":
0
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
GeoTrigger
| triggerable_type |
string
Enum:
"Playlist"
"MediaItem"
|
| triggerable_id |
integer
Playlist in the same project, or MediaItem in the same account. An unresolvable reference is rejected with 422. |
|
GpsSettings (object) or null
|
|
| cooldown_s |
integer
Seconds before the trigger may fire again. 0 means no cooldown. |
| locked |
boolean
Locks the record against being dragged on the builder's map. Editor-only: its geometry is still editable by typing, and the players never read it. |
| duration |
integer
Seconds the content holds for. Only read for content with no length of its own, such as an image; a video or playlist carries its own. Defaults to 30. |
| position |
integer
|
{
-
"triggerable_type":
"Playlist",
-
"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
},
-
"cooldown_s":
0,
-
"locked":
true,
-
"duration":
0,
-
"position":
0
}
{
-
"geo_trigger":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"triggerable_type":
"Playlist",
-
"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
},
-
"cooldown_s":
0,
-
"locked":
true,
-
"duration":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
Positions to update
|
required
|
Array of objects
Array of zone position updates |
{
-
"positions":
[
-
{
-
"id":
0,
-
"position":
0
}
]
}
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoTrigger to retrieve |
{
-
"geo_trigger":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"triggerable_type":
"Playlist",
-
"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
},
-
"cooldown_s":
0,
-
"locked":
true,
-
"duration":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoTrigger to update |
GeoTrigger
| triggerable_type |
string
Enum:
"Playlist"
"MediaItem"
|
| triggerable_id |
integer
Playlist in the same project, or MediaItem in the same account. An unresolvable reference is rejected with 422. |
|
GpsSettings (object) or null
|
|
| cooldown_s |
integer
Seconds before the trigger may fire again. 0 means no cooldown. |
| locked |
boolean
Locks the record against being dragged on the builder's map. Editor-only: its geometry is still editable by typing, and the players never read it. |
| duration |
integer
Seconds the content holds for. Only read for content with no length of its own, such as an image; a video or playlist carries its own. Defaults to 30. |
| position |
integer
|
{
-
"triggerable_type":
"Playlist",
-
"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
},
-
"cooldown_s":
0,
-
"locked":
true,
-
"duration":
0,
-
"position":
0
}
{
-
"geo_trigger":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"triggerable_type":
"Playlist",
-
"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
},
-
"cooldown_s":
0,
-
"locked":
true,
-
"duration":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoTrigger to update |
GeoTrigger
| triggerable_type |
string
Enum:
"Playlist"
"MediaItem"
|
| triggerable_id |
integer
Playlist in the same project, or MediaItem in the same account. An unresolvable reference is rejected with 422. |
|
GpsSettings (object) or null
|
|
| cooldown_s |
integer
Seconds before the trigger may fire again. 0 means no cooldown. |
| locked |
boolean
Locks the record against being dragged on the builder's map. Editor-only: its geometry is still editable by typing, and the players never read it. |
| duration |
integer
Seconds the content holds for. Only read for content with no length of its own, such as an image; a video or playlist carries its own. Defaults to 30. |
| position |
integer
|
{
-
"triggerable_type":
"Playlist",
-
"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
},
-
"cooldown_s":
0,
-
"locked":
true,
-
"duration":
0,
-
"position":
0
}
{
-
"geo_trigger":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"triggerable_type":
"Playlist",
-
"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
},
-
"cooldown_s":
0,
-
"locked":
true,
-
"duration":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoTrigger to delete |
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
| 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
},
-
"geo_zones":
[
-
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"shape":
"polygon",
-
"geojson":
{ },
-
"gps_settings":
{
-
"radius":
0,
-
"angle":
0,
-
"altitude_max":
0,
-
"altitude_min":
0,
-
"geofence_lat":
0.1,
-
"geofence_lng":
0.1,
-
"geofence_content":
true
},
-
"live_map":
true,
-
"locked":
true,
-
"map_settings":
{
-
"zoom_levels":
[
-
{
-
"zoom":
0.1,
-
"duration_s": 0
}
]
},
-
"ambient_type":
"Playlist",
-
"ambient_id":
0,
-
"position":
0
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
GeoZone
| shape |
string
Enum:
"polygon"
"circle"
|
|
object or null
|
|
|
GpsSettings (object) or null
|
|
| live_map |
boolean
A live-map zone draws the vehicle instead of playing content, and must not set an ambient reference |
| locked |
boolean
Locks the record against being dragged on the builder's map. Editor-only: its geometry is still editable by typing, and the players never read it. |
|
GeoZoneMapSettings (object) or null
|
|
|
string or null
|
|
|
integer or null
|
|
| position |
integer
|
{
-
"shape":
"polygon",
-
"geojson":
{ },
-
"gps_settings":
{
-
"radius":
0,
-
"angle":
0,
-
"altitude_max":
0,
-
"altitude_min":
0,
-
"geofence_lat":
0.1,
-
"geofence_lng":
0.1,
-
"geofence_content":
true
},
-
"live_map":
true,
-
"locked":
true,
-
"map_settings":
{
-
"zoom_levels":
[
-
{
-
"zoom":
0.1,
-
"duration_s":
0
}
]
},
-
"ambient_type":
"Playlist",
-
"ambient_id":
0,
-
"position":
0
}
{
-
"geo_zone":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"shape":
"polygon",
-
"geojson":
{ },
-
"gps_settings":
{
-
"radius":
0,
-
"angle":
0,
-
"altitude_max":
0,
-
"altitude_min":
0,
-
"geofence_lat":
0.1,
-
"geofence_lng":
0.1,
-
"geofence_content":
true
},
-
"live_map":
true,
-
"locked":
true,
-
"map_settings":
{
-
"zoom_levels":
[
-
{
-
"zoom":
0.1,
-
"duration_s":
0
}
]
},
-
"ambient_type":
"Playlist",
-
"ambient_id":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
Positions to update
|
required
|
Array of objects
Array of zone position updates |
{
-
"positions":
[
-
{
-
"id":
0,
-
"position":
0
}
]
}
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoZone to retrieve |
{
-
"geo_zone":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"shape":
"polygon",
-
"geojson":
{ },
-
"gps_settings":
{
-
"radius":
0,
-
"angle":
0,
-
"altitude_max":
0,
-
"altitude_min":
0,
-
"geofence_lat":
0.1,
-
"geofence_lng":
0.1,
-
"geofence_content":
true
},
-
"live_map":
true,
-
"locked":
true,
-
"map_settings":
{
-
"zoom_levels":
[
-
{
-
"zoom":
0.1,
-
"duration_s":
0
}
]
},
-
"ambient_type":
"Playlist",
-
"ambient_id":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoZone to update |
GeoZone
| shape |
string
Enum:
"polygon"
"circle"
|
|
object or null
|
|
|
GpsSettings (object) or null
|
|
| live_map |
boolean
A live-map zone draws the vehicle instead of playing content, and must not set an ambient reference |
| locked |
boolean
Locks the record against being dragged on the builder's map. Editor-only: its geometry is still editable by typing, and the players never read it. |
|
GeoZoneMapSettings (object) or null
|
|
|
string or null
|
|
|
integer or null
|
|
| position |
integer
|
{
-
"shape":
"polygon",
-
"geojson":
{ },
-
"gps_settings":
{
-
"radius":
0,
-
"angle":
0,
-
"altitude_max":
0,
-
"altitude_min":
0,
-
"geofence_lat":
0.1,
-
"geofence_lng":
0.1,
-
"geofence_content":
true
},
-
"live_map":
true,
-
"locked":
true,
-
"map_settings":
{
-
"zoom_levels":
[
-
{
-
"zoom":
0.1,
-
"duration_s":
0
}
]
},
-
"ambient_type":
"Playlist",
-
"ambient_id":
0,
-
"position":
0
}
{
-
"geo_zone":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"shape":
"polygon",
-
"geojson":
{ },
-
"gps_settings":
{
-
"radius":
0,
-
"angle":
0,
-
"altitude_max":
0,
-
"altitude_min":
0,
-
"geofence_lat":
0.1,
-
"geofence_lng":
0.1,
-
"geofence_content":
true
},
-
"live_map":
true,
-
"locked":
true,
-
"map_settings":
{
-
"zoom_levels":
[
-
{
-
"zoom":
0.1,
-
"duration_s":
0
}
]
},
-
"ambient_type":
"Playlist",
-
"ambient_id":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoZone to update |
GeoZone
| shape |
string
Enum:
"polygon"
"circle"
|
|
object or null
|
|
|
GpsSettings (object) or null
|
|
| live_map |
boolean
A live-map zone draws the vehicle instead of playing content, and must not set an ambient reference |
| locked |
boolean
Locks the record against being dragged on the builder's map. Editor-only: its geometry is still editable by typing, and the players never read it. |
|
GeoZoneMapSettings (object) or null
|
|
|
string or null
|
|
|
integer or null
|
|
| position |
integer
|
{
-
"shape":
"polygon",
-
"geojson":
{ },
-
"gps_settings":
{
-
"radius":
0,
-
"angle":
0,
-
"altitude_max":
0,
-
"altitude_min":
0,
-
"geofence_lat":
0.1,
-
"geofence_lng":
0.1,
-
"geofence_content":
true
},
-
"live_map":
true,
-
"locked":
true,
-
"map_settings":
{
-
"zoom_levels":
[
-
{
-
"zoom":
0.1,
-
"duration_s":
0
}
]
},
-
"ambient_type":
"Playlist",
-
"ambient_id":
0,
-
"position":
0
}
{
-
"geo_zone":
{
-
"id":
0,
-
"geo_program_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"shape":
"polygon",
-
"geojson":
{ },
-
"gps_settings":
{
-
"radius":
0,
-
"angle":
0,
-
"altitude_max":
0,
-
"altitude_min":
0,
-
"geofence_lat":
0.1,
-
"geofence_lng":
0.1,
-
"geofence_content":
true
},
-
"live_map":
true,
-
"locked":
true,
-
"map_settings":
{
-
"zoom_levels":
[
-
{
-
"zoom":
0.1,
-
"duration_s":
0
}
]
},
-
"ambient_type":
"Playlist",
-
"ambient_id":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
geo_program_id
required
|
integer
ID of the parent GeoProgram |
|
id
required
|
integer
ID of the GeoZone to delete |
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
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"
}
}
|
map_id
required
|
integer
ID of the Map |
|
layer_id
required
|
integer
ID of the MapLayer |
|
id
required
|
integer
ID of the MapFeature |
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
| 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"
}
]
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
playlist_id
required
|
integer
ID of the parent Playlist |
| 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
},
-
"playlist_items":
[
-
{
-
"id":
0,
-
"playlist_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"item_type":
"MediaItem",
-
"item_id":
0,
-
"duration":
0,
-
"position":
0
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
playlist_id
required
|
integer
ID of the parent Playlist |
PlaylistItem
| item_type |
string
Value:
"MediaItem"
|
| item_id |
integer
MediaItem in the same account |
|
integer or null
|
|
| position |
integer
|
{
-
"item_type":
"MediaItem",
-
"item_id":
0,
-
"duration":
0,
-
"position":
0
}
{
-
"playlist_item":
{
-
"id":
0,
-
"playlist_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"item_type":
"MediaItem",
-
"item_id":
0,
-
"duration":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
playlist_id
required
|
integer
ID of the parent Playlist |
Positions to update
|
required
|
Array of objects
Array of playlist item position updates |
{
-
"positions":
[
-
{
-
"id":
0,
-
"position":
0
}
]
}
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
playlist_id
required
|
integer
ID of the parent Playlist |
|
id
required
|
integer
ID of the PlaylistItem to retrieve |
{
-
"playlist_item":
{
-
"id":
0,
-
"playlist_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"item_type":
"MediaItem",
-
"item_id":
0,
-
"duration":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
playlist_id
required
|
integer
ID of the parent Playlist |
|
id
required
|
integer
ID of the PlaylistItem to update |
PlaylistItem
| item_type |
string
Value:
"MediaItem"
|
| item_id |
integer
MediaItem in the same account |
|
integer or null
|
|
| position |
integer
|
{
-
"item_type":
"MediaItem",
-
"item_id":
0,
-
"duration":
0,
-
"position":
0
}
{
-
"playlist_item":
{
-
"id":
0,
-
"playlist_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"item_type":
"MediaItem",
-
"item_id":
0,
-
"duration":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
playlist_id
required
|
integer
ID of the parent Playlist |
|
id
required
|
integer
ID of the PlaylistItem to update |
PlaylistItem
| item_type |
string
Value:
"MediaItem"
|
| item_id |
integer
MediaItem in the same account |
|
integer or null
|
|
| position |
integer
|
{
-
"item_type":
"MediaItem",
-
"item_id":
0,
-
"duration":
0,
-
"position":
0
}
{
-
"playlist_item":
{
-
"id":
0,
-
"playlist_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"item_type":
"MediaItem",
-
"item_id":
0,
-
"duration":
0,
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
playlist_id
required
|
integer
ID of the parent Playlist |
|
id
required
|
integer
ID of the PlaylistItem to delete |
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
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 |
| q |
string
Search query (matches name) |
| sort_field |
string
Enum:
"id"
"name"
"created_at"
"updated_at"
Field to sort by |
| sort_direction |
string
Enum:
"ASC"
"DESC"
Sort direction |
{
-
"meta":
{
-
"page":
1,
-
"pages":
10,
-
"per_page":
30,
-
"count":
305
},
-
"playlists":
[
-
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
Playlist
| name |
string
|
{
-
"name":
"string"
}
{
-
"playlist":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string"
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the Playlist to retrieve |
{
-
"playlist":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string"
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the Playlist to update |
Playlist
| name |
string
|
{
-
"name":
"string"
}
{
-
"playlist":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string"
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the Playlist to update |
Playlist
| name |
string
|
{
-
"name":
"string"
}
{
-
"playlist":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"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"
"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_phoneline_prompts": 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_phoneline_prompts":
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_phoneline_prompts": 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_phoneline_prompts": 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_phoneline_prompts":
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_phoneline_prompts": 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_phoneline_prompts":
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_phoneline_prompts": 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_phoneline_prompts": 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"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
schedule_id
required
|
integer
ID of the parent Schedule |
| 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
},
-
"schedule_items":
[
-
{
-
"id":
0,
-
"schedule_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"schedulable_type":
"Playlist",
-
"schedulable_id":
0,
-
"start_date":
"string",
-
"end_date":
"string",
-
"start_time":
"string",
-
"end_time":
"string",
-
"all_day":
true,
-
"rrule":
"string",
-
"position":
0
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
schedule_id
required
|
integer
ID of the parent Schedule |
ScheduleItem
| schedulable_type |
string
Enum:
"Playlist"
"MediaItem"
|
| schedulable_id |
integer
Playlist in the same project, or MediaItem in the same account |
| start_date |
string
ISO-8601 date the item starts on |
|
string or null
|
|
|
string or null
|
|
|
string or null
|
|
| all_day |
boolean
|
|
string or null
|
|
| position |
integer
|
{
-
"schedulable_type":
"Playlist",
-
"schedulable_id":
0,
-
"start_date":
"string",
-
"end_date":
"string",
-
"start_time":
"string",
-
"end_time":
"string",
-
"all_day":
true,
-
"rrule":
"string",
-
"position":
0
}
{
-
"schedule_item":
{
-
"id":
0,
-
"schedule_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"schedulable_type":
"Playlist",
-
"schedulable_id":
0,
-
"start_date":
"string",
-
"end_date":
"string",
-
"start_time":
"string",
-
"end_time":
"string",
-
"all_day":
true,
-
"rrule":
"string",
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
schedule_id
required
|
integer
ID of the parent Schedule |
Positions to update
|
required
|
Array of objects
Array of schedule item position updates |
{
-
"positions":
[
-
{
-
"id":
0,
-
"position":
0
}
]
}
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
schedule_id
required
|
integer
ID of the parent Schedule |
|
id
required
|
integer
ID of the ScheduleItem to retrieve |
{
-
"schedule_item":
{
-
"id":
0,
-
"schedule_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"schedulable_type":
"Playlist",
-
"schedulable_id":
0,
-
"start_date":
"string",
-
"end_date":
"string",
-
"start_time":
"string",
-
"end_time":
"string",
-
"all_day":
true,
-
"rrule":
"string",
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
schedule_id
required
|
integer
ID of the parent Schedule |
|
id
required
|
integer
ID of the ScheduleItem to update |
ScheduleItem
| schedulable_type |
string
Enum:
"Playlist"
"MediaItem"
|
| schedulable_id |
integer
Playlist in the same project, or MediaItem in the same account |
| start_date |
string
ISO-8601 date the item starts on |
|
string or null
|
|
|
string or null
|
|
|
string or null
|
|
| all_day |
boolean
|
|
string or null
|
|
| position |
integer
|
{
-
"schedulable_type":
"Playlist",
-
"schedulable_id":
0,
-
"start_date":
"string",
-
"end_date":
"string",
-
"start_time":
"string",
-
"end_time":
"string",
-
"all_day":
true,
-
"rrule":
"string",
-
"position":
0
}
{
-
"schedule_item":
{
-
"id":
0,
-
"schedule_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"schedulable_type":
"Playlist",
-
"schedulable_id":
0,
-
"start_date":
"string",
-
"end_date":
"string",
-
"start_time":
"string",
-
"end_time":
"string",
-
"all_day":
true,
-
"rrule":
"string",
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
schedule_id
required
|
integer
ID of the parent Schedule |
|
id
required
|
integer
ID of the ScheduleItem to update |
ScheduleItem
| schedulable_type |
string
Enum:
"Playlist"
"MediaItem"
|
| schedulable_id |
integer
Playlist in the same project, or MediaItem in the same account |
| start_date |
string
ISO-8601 date the item starts on |
|
string or null
|
|
|
string or null
|
|
|
string or null
|
|
| all_day |
boolean
|
|
string or null
|
|
| position |
integer
|
{
-
"schedulable_type":
"Playlist",
-
"schedulable_id":
0,
-
"start_date":
"string",
-
"end_date":
"string",
-
"start_time":
"string",
-
"end_time":
"string",
-
"all_day":
true,
-
"rrule":
"string",
-
"position":
0
}
{
-
"schedule_item":
{
-
"id":
0,
-
"schedule_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"schedulable_type":
"Playlist",
-
"schedulable_id":
0,
-
"start_date":
"string",
-
"end_date":
"string",
-
"start_time":
"string",
-
"end_time":
"string",
-
"all_day":
true,
-
"rrule":
"string",
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
schedule_id
required
|
integer
ID of the parent Schedule |
|
id
required
|
integer
ID of the ScheduleItem to delete |
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
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 |
| q |
string
Search query (matches name) |
| sort_field |
string
Enum:
"id"
"name"
"created_at"
"updated_at"
Field to sort by |
| sort_direction |
string
Enum:
"ASC"
"DESC"
Sort direction |
{
-
"meta":
{
-
"page":
1,
-
"pages":
10,
-
"per_page":
30,
-
"count":
305
},
-
"schedules":
[
-
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
Schedule
| name |
string
|
| position |
integer
|
{
-
"name":
"string",
-
"position":
0
}
{
-
"schedule":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
Positions to update
|
required
|
Array of objects
Array of schedule position updates |
{
-
"positions":
[
-
{
-
"id":
0,
-
"position":
0
}
]
}
{
-
"errors":
[
-
{
-
"code":
0,
-
"message":
"string"
}
]
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the Schedule to retrieve |
{
-
"schedule":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the Schedule to update |
Schedule
| name |
string
|
| position |
integer
|
{
-
"name":
"string",
-
"position":
0
}
{
-
"schedule":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0
}
}
|
project_id
required
|
integer
ID of the parent Project |
|
id
required
|
integer
ID of the Schedule to update |
Schedule
| name |
string
|
| position |
integer
|
{
-
"name":
"string",
-
"position":
0
}
{
-
"schedule":
{
-
"id":
0,
-
"project_id":
0,
-
"created_at":
"2017-07-21T17:32:28Z",
-
"updated_at":
"2017-07-21T17:32:28Z",
-
"name":
"string",
-
"position":
0
}
}
| page |
integer
Page number |
| per_page |
integer
[ 1 .. 1000 ]
Default:
30
Number of items per page, max 1000 |
| sort_field |
string
Enum:
"id"
"name"
"created_at"
"updated_at"
Field to sort by |
| sort_direction |
string
Default:
"ASC"
Enum:
"ASC"
"DESC"
Direction to sort by |
| q |
string
Search query |
{
-
"meta":
{
-
"page":
1,
-
"pages":
10,
-
"per_page":
30,
-
"count":
305
},
-
"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",
-
"chat_enabled":
true,
-
"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"
|
| chat_enabled |
boolean
|
|
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",
-
"chat_enabled":
true,
-
"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",
-
"chat_enabled":
true,
-
"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",
-
"chat_enabled":
true,
-
"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"
|
| chat_enabled |
boolean
|
|
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",
-
"chat_enabled":
true,
-
"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",
-
"chat_enabled":
true,
-
"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"
|
| chat_enabled |
boolean
|
|
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",
-
"chat_enabled":
true,
-
"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",
-
"chat_enabled":
true,
-
"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",
-
"chat_enabled":
true,
-
"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
Composite icon string (icon_style_colour), e.g. 'globe_light_default'. Style is one of: default, regular, brands, duotone, light, solid; colour is a hex value without '#', or 'default'. Bare icon names are rejected with 422. |
|
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
Composite icon string (icon_style_colour), e.g. 'globe_light_default'. Style is one of: default, regular, brands, duotone, light, solid; colour is a hex value without '#', or 'default'. Bare icon names are rejected with 422. |
|
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
Composite icon string (icon_style_colour), e.g. 'globe_light_default'. Style is one of: default, regular, brands, duotone, light, solid; colour is a hex value without '#', or 'default'. Bare icon names are rejected with 422. |
|
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"
"invalid_file"
"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"
"invalid_file"
"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"
"invalid_file"
"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 download |
{
-
"download_url":
"string",
-
"expires_at":
"string"
}