cancel
Showing results for 
Search instead for 
Did you mean: 
kylerclaassen
Community Member

Some folders not showing through api call

Jump to solution

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. 

Labels (4)
Tags (3)
0 Kudos
1 Solution

Accepted Solutions
pennedav
Community Member

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?

View solution in original post

3 Replies
pennedav
Community Member

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?

View solution in original post

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

Tags (1)