Is there a Canvas REST API that can be used to Publish a course or Unpublish a Course?
Hey @gibbonsd ,
When creating a course using the course api you can set the state of the course. You can also use the course update api (Courses - Canvas LMS REST API Documentation ) where you can set course[event] parameter to offer, which published the course.
The code I have written auto publishes the course upon creation and then I use the #unpublished courses report to find courses that have been unpublished by the instructor and go publish them for the instructor 5 days out from the start.
Hope this helps.
Brian
You will want to go to this link Canvancements - Canvas Enhancements It is the best place to look for these type of things.
Rendering bug here: Canvas - Instructure Community Seems to only appear in Edge; fine in Chrome and Firefox https://us.v-cdn.net/6038536/uploads/W3BKB9LY5FCV/recording-2026-04-08-144351.mp4
I have a developer key in our Test instance: How would I use this in a local program to make a REST API call? Looking at https://developerdocs.instructure.com/services/canvas/oauth2/file.developer_keys: Developer keys are OAuth2 client ID and secret pairs stored in Canvas that allow third-party applications to request…
I'm building a tool for my institution that imports grades from another LTI tool into Canvas so instructors can automate late assignment policies not otherwise supported by Canvas. I'm trying to use the LTIv1.3 ID which is readily available on the LTI-side as a link to the student record on Canvas, but I can't find the ID…
How can one track Canvas Media use without having the reports available from Canvas Studio? Checking API endpoints and the Data 2 schema, there do not seem to be dedicated Canvas Media endpoints. Am I missing some? A method I've considered is using the body field of the wiki_pages table, as this contains the html code of…
Hello, I'm trying to utilize an API call to pull completed certificates and was hoping to download and store the certs as a backup. I can successfully run the API call but it will not allow me to view the certificate unless I access the URL while signed into an account where it's "my" cert. Is there a permissions setting…