packet icon indicating copy to clipboard operation
packet copied to clipboard

`packet admin list-projects` only returns 10 projects

Open vielmetti opened this issue 6 years ago • 1 comments

I'm managing a lot of projects, and I went to list them with packet admin list-projects. The command returns 10 projects, but I have many more than that.

https://www.packet.net/developers/api/projects/ defines the GET /projects API call with a per_page attribute, and that query defaults to 10 items per page, so that's my guess as what's going on.

per_page
integer in query
items per page, default to 10, max 1_000

vielmetti avatar May 01 '18 20:05 vielmetti