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.
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…
https://api.badges.parchment.com/v2/users/{idOrEntityId} Hi. What type of ID should I be using to get the badges and pathway progress for a particular user? I have used all the SIS ID, or the ID as shown on the badger portal, but nothing is working. What kind of the ID does the API calls accept? please give an example.
Hello, We use PeopleSoft and developed an integration for retrieving grades from the Canvas API. It was working fine in dev and production but has since broken. The SSL handshake is failing according to this stack trace from the server : Apparently this can happen if the required certificates are missing, can anyone tell…
UI for weekly progression idea that rest in the Schedule tab of the **K-12 UI** of Canvas it's incomplete and I really would not take it and push it into instance but I am going to post it here because in the past people like @James && @robotcars || @Steve_25 have had terrific input in the past... maybe w/their eyes and…
I have a new React + Flask webapp. It has its own login for users to start using the app. I have added this as an external tool in Canvas. What I want initially is to see of canvas users can start using the webapp without having to login if they click on the external tool link in a canvas course. I have 2 methods…