Canvase API, powershell, and link href data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2016
09:23 AM
New to Canvas. Working with powershell and the Canvas APIs. For a first shot I used the Users API to experiment with. Just listing users on our test sandbox. As I understand it, if I set the per_page to something less than the number of users I have, I should see the next, previous, and/or the last http: reference. I'm using the invoke-restmethod powershell cmdlet with a token specified. It returns users as it should. However when I try to find the links, I get nothing.
Tried displaying $jsondata.Links.count and I see zero. If I use the same uri in firefox with the RESTclient plugin, I see the links as i would expect. Any idea what's going on?
Bruce