AnsweredAssumed Answered

Canvase API, powershell, and link href data

Question asked by Bruce Harrison on Jul 27, 2016
Latest reply on Jul 28, 2016 by Alex Clement

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

Outcomes