How to fetch all the project connected to octopus tenant and environment using Octopus api

usability
server
known
(Santoshuponi) #1

Hi Team,

I have requirement to get the list of all the application connected under xyz - environment and xyz - tenant.

Thanks
Shet

(Paul Calvert) #3

Hi @santoshuponi,

Thanks for getting in touch!

When interacting with the API we recommend making use of the octopus.client as it provides an intuitive way of retrieving information through tools such as PowerShell.

We have a repository of various scripts collected here: https://github.com/OctopusDeploy/OctopusDeploy-Api/tree/master/Octopus.Client/PowerShell

And full documentation for our API here: https://github.com/OctopusDeploy/OctopusDeploy-Api/wiki

These samples will help provide a good starting point for you to begin interacting with the API to achieve your specific aims.

We’re not able to write the scripts for you, but if you run into any specific problems or errors along the way we’re happy to help.

Best regards,
Paul