packet
packet copied to clipboard
`packet admin list-projects` only returns 10 projects
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
I think this is being addressed in the SDK here . Once pagination is supported for projects I'll add support for it in the CLI .