Is there API access to upload files to a users Media Library? I can't find reference to it specifically but perhaps it's something that's been documented elsewhere. Thanks for any assistance you can provide: https://docs.valence.desire2learn.com/basic/fileupload.html
At the moment, it's only video and audio files that go into the media library. It would be interesting to know whether using the API to upload create a File Topic and upload a video using
POST /d2l/api/le/(version)/(orgUnitId)/content/modules/(moduleId)/structure/
will put the content into Media Library or into module files as per the legacy way.
I'm pretty confident it's not going to end up in the media library using that endpoint. The documentation you linked to requires a map to the eventual home for the file with this example file path: /content/enforced/orgunit_id-org_id/newfilename) Media Library has a different file location altogether, separate from the content area in a given course, and seemingly specific to the user, rather than to the course.
/content/enforced/
orgunit_id
-
org_id
/
newfilename
Ah good point. I think in that case it's pretty definite that there isn't a (documented) API for the media library.
Connect with our Known and Fixed Issue information to learn about improvements made to Brightspace.
Connect with leaders in pedagogy, accessibility, learning experience design and more
The Accessibility category serves as a single point of access to three avenues in Brightspace Community leading to the Accessibility Academy, Accessibility Library and Accessibility Discussions. These avenues offer courses and articles about accessibility to enhance accessibility knowledge and a group of accessibility enthusiasts to stay connected with.
Have questions about how to use Community? Stay tuned with updates, feedback opportunities and more for the Community here!
Connect with and ask questions on how to best use the Brightspace Product to transform the way your users learn!
Connect with product experts to learn more about tools frequently used by Brightspace Developers such as APIs and integrations!
Want to learn more about Brightspace Partners and Integrations? This is the place to be!
Stay up to date with product updates and announcements in this category.
Connect with our release information to learn about monthly improvements and updates to Brightspace.
Learn more about all the upskilling opportunities with courses and resources offered via the Brightspace Learning Center, Brightspace Guided Training and other training opportunities!