Does the Content endpoint in the REST API have a way to upload files and associate them with a lesson plan?
Further, is there a way to do CRUD on lesson plan elements like Instructor, Objectives, etc.?
Does the Content endpoint in the REST API have a way to upload files and associate them with a lesson plan?
Further, is there a way to do CRUD on lesson plan elements like Instructor, Objectives, etc.?
Thanks for the response Mark.
I want to be able to create a lesson plan (resource/x-bb-lesson-plan), upload arbitrary files and associate them with the lesson plan, and edit fields like "instructor", "objectives" etc.
As of now, I can create a document object (resource/x-bb-document) through the content endpoint, then edit the type directly in the postgres table course_contents to change the type to x-bb-lesson-plan. Obviously, this is not ideal. Beyond that, I am unable to edit the meta fields (I assume they're stored in another table or in the binary data field) nor upload files and associate (for the reasons you stated in your previous response).
Understood re: uploading files; however, is there a way to edit the meta fields or create x-bb-lesson-plan documents in a less hacky manner?
Thanks!
Hi Daniel,
Uploads are not currently supported via REST content endpoints.
Endpoints for managing binary Uploads and Downloads for Attempts and Content are in analysis and development. I do not have a specific target release date at this time and will return to this discussion when I have those details.
Please elaborate on your lesson plan question with a description of what you wish to accomplish.
Thank you!
cheers,
-m
Mark O'Neil
Senior Product Manager, Developer Platform
Product Management
Blackboard Inc.
Developer Platform
DevCon Milan
DevCon - BbWorld 2017