Getting different machine list between REST API and UI

Any advice on why I’m getting a different machine list when looking at

The above shows machines for MY-ROLE. The below doesn’t show those machines.

Okay. I just found the issue. I’m new to Octopus REST API.

I needed to add ?Take= to get more than the default 20 machines. Also, I needed to pay attention to the TotalResults and the ItemsPerPage that were returned in the JSON.


Hi Peter,

Thanks for the update here! If you have any further questions at all, or get stuck with anything, please don’t hesitate to let me know. :slight_smile:

Best regards,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.