Canvas API get ALL Outcome Objects in a course at the same time

Jump to solution
marchermon
Community Explorer

Trying to create our own SBG gradebook and would love to call all of the outcome objects in a course at the same time. It looks as if I can only call one at a time if I want the full amount of information about that object. Thought I could make the outcome object call with a list of outcomes as a parameter but it looks like only one at a time? Any suggestions would be great!

api/v1/outcomes/110

0 Likes
1 Solution
cstrikwerda
Instructure
Instructure

@marchermon Thanks for posting in the Community.

Outcomes API doesn't have a course context, so you'll need to view these in the API at the account level. "context_type": "Account"
https://canvas.instructure.com/doc/api/outcomes.html#method.outcomes_api.show

This seems to be a limitation of the way outcomes are shown in the api and not associated to the course. 

Members of our Product and Engineering team want to hear from you if there is anything that would make your experience with Canvas better. Feel free to submit your suggestions to our Ideas Page here: https://community.canvaslms.com/t5/Idea-Conversations/idb-p/ideas

How Idea Conversations work in our Community:
https://community.canvaslms.com/t5/Community/How-do-idea-conversations-work-in-the-Instructure-Commu...

View solution in original post