https://pulumi.com logo
#general
Title
# general
g

glamorous-printer-66548

10/24/2018, 2:21 AM
is there some (semi-)official docs of the app.pulumi.com API? I’m building a CLI tool to ease batch operations on multiple pulumi projects / stacks to create ephemeral environments etc. and I need to get a list of all stacks in the organization.
w

white-balloon-205

10/24/2018, 3:25 AM
Not currently documented, though you can see the API calls that the CLI currently makes at https://github.com/pulumi/pulumi/blob/master/pkg/backend/httpstate/client/client.go.
m

microscopic-florist-22719

10/24/2018, 6:16 AM
Indeed, if you’re writing your tooling in Go, you should be able to just import that package and use its exported methods to interact with the service’s API.
g

glamorous-printer-66548

10/24/2018, 7:54 AM
I’m writing my tooling in node using https://oclif.io/ 🙂 Pretty cool library / framework btw.