Octopus Rest API to Get the project list in particular environment

Hi team,

I am looking for octopus rest api which will give me list of projects in particular environment. supose i am having environment-A and Environment-B. and both the environment having multiple projects so i want to fetch the list of project which are the part of Environment-A. so can you please help me on this to get the octopus Rest API ?

Thanks
shubham

Hi Shubham,

Thanks for getting in touch!

Having looked at the Rest API, the simplest way to achieve this would be to use the Octopus Client:

While we don’t have a script to achieve what you are after, I will include some examples which you could tailor to suit your needs:

If you require any further assistance, please do reach out.

Kind regards,
Ziaul

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