Authorization: Bearer ********************curl --location --request PUT 'https://api.eu-west-1.aworld.cloud/dashboard/v1/learning-paths/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"learningPathId": "string",
"origin": "CATALOG",
"learningPathCatalogId": "string",
"legacyLearningPathId": "string",
"syncWithCatalog": true,
"title": "string",
"description": "string",
"image": "http://example.com",
"estimatedDuration": 0,
"defaultLang": "aa",
"items": [],
"translations": [
{
"lang": "aa",
"title": "string",
"image": "http://example.com",
"description": "string"
}
]
}'{
"learningPathId": "string",
"origin": "CATALOG",
"learningPathCatalogId": "string",
"legacyLearningPathId": "string",
"syncWithCatalog": true,
"title": "string",
"description": "string",
"image": "http://example.com",
"estimatedDuration": 0,
"defaultLang": "aa",
"langs": [
"aa"
],
"items": [],
"activities": [
{
"itemId": "string",
"itemType": "activity",
"languages": [
"aa"
]
}
],
"completionRule": {
"==": [
1,
1
]
},
"outcomeRule": {
"==": [
1,
1
]
},
"startRule": {
"==": [
1,
1
]
},
"accountId": "stringstri",
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"stage": "DRAFT"
}