Authorization: Bearer ********************curl --location --request POST 'https://api.eu-west-1.aworld.cloud/dashboard/v1/learning-groups' \
--header 'x-idempotency-key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "custom",
"title": "string",
"description": "string",
"image": "http://example.com",
"estimatedDuration": 0,
"origin": "CATALOG",
"legacyLearningGroupId": "string",
"learningGroupCatalogId": "string",
"defaultLang": "aa",
"completionRule": {
"==": [
1,
1
]
},
"outcomeRule": {
"==": [
1,
1
]
},
"startRule": {
"==": [
1,
1
]
},
"source": "string",
"parentId": "string",
"parentType": "learningPath",
"learningGroupId": "string",
"translations": [
{
"lang": "aa",
"title": "string",
"image": "http://example.com",
"description": "string"
}
],
"items": [],
"publish": false
}'{
"learningGroupId": "string",
"type": "custom",
"title": "string",
"description": "string",
"image": "http://example.com",
"estimatedDuration": 0,
"origin": "CATALOG",
"legacyLearningGroupId": "string",
"learningGroupCatalogId": "string",
"syncWithCatalog": true,
"defaultLang": "aa",
"langs": [
"aa"
],
"items": [],
"completionRule": {
"==": [
1,
1
]
},
"outcomeRule": {
"==": [
1,
1
]
},
"startRule": {
"==": [
1,
1
]
},
"source": "string",
"parentId": "string",
"parentType": "learningPath",
"accountId": "stringstri",
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"stage": "DRAFT"
}