How do you return more than 30 results when getting the releases for a specific project?
(Invoke-RestMethod -Uri "$octopusURL/api/$($space.Id)/projects/$($project.Id)/releases" -Headers $headers).items
How do you return more than 30 results when getting the releases for a specific project?
(Invoke-RestMethod -Uri "$octopusURL/api/$($space.Id)/projects/$($project.Id)/releases" -Headers $headers).items
Hey @adam_deslauriers,
Thanks for reaching out on our support forum!
The API results are paginated, so you could try adding a ?take=1234 to your URL to grab more.
I hope this helps. Please let me know if you have additional questions.
Thanks,
Brent
That worked. Thank you!
Awesome! Glad that did the trick. Let me know if anything else comes up.
Brent
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.