I have to create a number of catalogs, each catalog will have 20-50 courses from my existing list of 400+ courses.
Has anyone found a way to do this either via CSV or API?
There is an api in the api explorer, POST /learn/v1/catalog/course/batch
that seems to be the one I’m after but i am not sure how to configures the JSON with a list of courses,
{
"items": m
{
"course_id": 0,
"catalog_id": 0,
"batch_item_id": "string"
}
]
}
BTW what is the “batch_item_id": "string"
I can do it individually with the POST /learn/v1/catalog/{catalog_id}/course/{course_id} 1 course at a time and it works fine.
any assistance gratefully received
Thanks
Gary