AnsweredAssumed Answered

Publishing Module Item on POST

Question asked by Jason Edington on May 5, 2017
Latest reply on May 7, 2017 by Mu He

I am creating an app with PHP that puts our assignments into a specific module based on the assignment title.  I have almost completed it with one hang up. 


The script is creating the module item with these parameters:


Everything works but the "module_item[published]=true". No matter what I do the items are unpublished in the modules, and I'm not seeing the option in Canvas live API. 


I think I know the answer to this question, but I wanted to check with this great resource of knowledge before I do all of the extra work.  Does this mean that I have to pull from the API to first POST the module assignment and then pull from it again to get all of the Module items and do a PUT to update them?  Why wouldn't they have a way to publish the module items on POST?