Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
I did a topic earlier this school year about setting avatars through powershell. I have since got that mostly working. I can set most users pictures set through powershell, but some user's profile pictures folder exists but cannot be seen by either a cmd native (no alias) curl call, or a invoke-webrequest. It seems it can only display a certain range of folders and stops at C's. Is there a limit to how many folders can be transmitted in a GET request for a users folders? If so, is there a way around it? I am really stumped so if anyone has experience or ideas please let me know.
Thanks.
Solved! Go to Solution.
The results of most API calls returning items are going to be paginated. Have you eliminated that as the reason you're not seeing all the results you're expecting?
The results of most API calls returning items are going to be paginated. Have you eliminated that as the reason you're not seeing all the results you're expecting?
Pennedav,
That was exactly what I was looking for, thank you! I had been combing through the file documentation thinking I must have missed something.
Thanks.
@kylerclaassen Maybe you've already seen this, but here's a good resource about using the Canvas API.
Canvas APIs: Getting started, the practical ins and outs, gotchas, tips, and tricks
To participate in the Instructure Community, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.