Canvas API URLs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2021
10:19 PM
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.