curl --location --request PUT '/learning-groups/' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "custom",
"title": "string",
"description": "string",
"image": "http://example.com",
"estimatedDuration": 0,
"origin": "CATALOG",
"legacyLearningGroupId": "string",
"catalogWorkspaceId": "stringstri",
"catalogLearningGroupId": "string",
"defaultLang": "en",
"items": [],
"defaultLayoutId": "string",
"background": "string",
"textColor": "string",
"boxColor": "string",
"backgroundImage": "http://example.com",
"backgroundSize": "cover",
"backgroundPosition": "center",
"fontFamily": "string",
"contentJustify": "start",
"completionRule": {
"==": [
1,
1
]
},
"outcomeRule": {
"==": [
1,
1
]
},
"startRule": {
"==": [
1,
1
]
},
"source": "string",
"parentId": "string",
"parentType": "learningPath",
"translations": [
{
"lang": "en",
"title": "string",
"image": "http://example.com",
"description": "string"
}
]
}'{
"learningGroupId": "string",
"type": "custom",
"title": "string",
"description": "string",
"image": "http://example.com",
"estimatedDuration": 0,
"origin": "CATALOG",
"legacyLearningGroupId": "string",
"catalogWorkspaceId": "stringstri",
"catalogLearningGroupId": "string",
"defaultLang": "en",
"langs": [
"en"
],
"items": [],
"defaultLayoutId": "string",
"background": "string",
"textColor": "string",
"boxColor": "string",
"backgroundImage": "http://example.com",
"backgroundSize": "cover",
"backgroundPosition": "center",
"fontFamily": "string",
"contentJustify": "start",
"completionRule": {
"==": [
1,
1
]
},
"outcomeRule": {
"==": [
1,
1
]
},
"startRule": {
"==": [
1,
1
]
},
"source": "string",
"parentId": "string",
"parentType": "learningPath",
"accountId": "stringstri",
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"stage": "DRAFT"
}