Canvas API URLs

JCardinal98
Community Member

Hi, I'm trying to use Canvas API request URLs to get some data, and I'm wondering how can I modify the URL to only receive certain fields instead of all of them? 

For example, the URL I'm working with is:

https://canvas.instructure.com/api/v1/courses/?enrollment_state=active

and I only want to see the names of each course in the response. I've tried adding ' &fields=name ' to the end of the above URL and it does not affect the results at all. Any suggestions would be appreciated.

Labels (1)
0 Likes