AppConfig.json Format
In depth learning on App Configs can be found in this course in Motive Academy.
Example format for AppConfig.json. Note that multiple cluster configurations can be defined in one file, however the current implementation of the SDK only recognizes the first cluster definition.
Motive Cloud
{
"clusters": [
{
"localizedTitle": {
"localizations": [
{
"cultureCode": "en",
"text": "US West"
}
]
},
"motiveCloudConfig": {
"url": "https://us-west-a.motivecloud.dev",
"identityUrl": "https://us-west-a.motivecloud.dev"
},
"name": "us-west-a"
},
{
"localizedTitle": {
"localizations": [
{
"cultureCode": "en",
"text": "Canada Central"
}
]
},
"motiveCloudConfig": {
"url": "https://ca-central-a.az.motivecloud.dev",
"identityUrl": "https://us-west-a.motivecloud.dev"
},
"name": "ca-central-a"
}
]
}
Legacy
{
"clusters":[
{
"localizedTitle":{
"localizations":[
{
"cultureCode":"en",
"text":"Motive Launch Server - US"
}
]
},
"identityServerConfig":{
"url":"https://id.storyflow.dev"
},
"launchServerConfig":{
"url":"https://ls-us.storyflow.dev",
"clientId": "abcdefg",
"clientSecret": "a big secret"
},
"storyflowAppConfig":{
"url":"https://app.storyflow.dev"
},
"storyflowApiConfig":{
"url":"https://api.storyflow.dev"
}
}
]
}