At a high level: I am trying to use the course-import endpoint to upload a SCORM package zip file.
In the weeds: I am able to hit other Brightspace APIs (including successfully authenticating) using Postman, but I am getting "400" errors when trying to import a course zip file using Brightspace's course-import API endpoint.
I'm hitting the endpoint here:
https://docs.valence.desire2learn.com/res/course.html#post--d2l-api-le-(version)-import-(orgUnitId)-imports- I configured Postman to use the "simple file upload" approach specified in the docs (earlier link as well as
https://docs.valence.desire2learn.com/basic/fileupload.html#simple-uploads).
This is the response I'm getting:
{
"type":
http://docs.valence.desire2learn.com/res/apiprop.html#invalid-parameters,
"title": "Invalid Parameters",
"status": 400,
"detail": "Request has missing or invalid parameters."
}
Are there any examples of how to properly make these calls?