Open lukehoban opened 1 month ago
Tacking on to this:
CreateStack API is also undocumented
Isn't Delete Stack which we use for TTL also undocumented
Isn't Delete Stack which we use for TTL also undocumented
That's the deleteAfterDestroy
option in the deployment settings. But yes.
I thought that the API endpoint we used for deleteAfterDestroy
was yet o be documented and it was something that even non-deployments customers could use.
Customer wants to create team tokens via the REST api. Via reverse engineering, they found this endpoint:
/api/orgs/{orgName}/teams/{team}/tokens
They would like to have this in the official public API too.
Ideally we address https://github.com/pulumi/pulumi-cloud-requests/issues/100 imminently and deliver a "full" OpenAPI spec for the Pulumi Cloud REST API.
But in the meantime - using this issue to catalogue APIs that exist but are undocumented:
/orgs/{orgName}/policygroups
(GET)/orgs/{orgName}/policygroups/{policyGroup}
(GET)/orgs/{orgName}/policypacks
(GET)/orgs/{orgName}/policypacks/{policyPackName}/latest
(GET)/orgs/{orgName}/policypacks/{policyPackName}/versions/{version}
(GET)/orgs/{orgName}/policypacks/{policyPackName}/versions/{version}/schema
(GET)/orgs/{orgName}/policygroups
(POST)/orgs/{orgName}/policygroups/{policyGroup}
(PATCH, DELETE)/orgs/{orgName}/policypacks
(POST)/orgs/{orgName}/policypacks/{policyPackName}
(DELETE)/orgs/{orgName}/policypacks/{policyPackName}/latest
(POST)/orgs/{orgName}/policypacks/{policyPackName}/versions/{version}
(DELETE)/stacks/{orgName}/{projectName}/{stackName}/downstreamreferences
(GET)/stacks/{orgName}/{projectName}/{stackName}/metadata
(GET)/stacks/{orgName}/{projectName}/{stackName}/resources/count
(GET)/stacks/{orgName}/{projectName}/{stackName}/resources/latest
(GET)/stacks/{orgName}/{projectName}/{stackName}/resources/{version}
(GET)/stacks/{orgName}/{projectName}/{stackName}/policygroups
(GET)/stacks/{orgName}/{projectName}/{stackName}/policypacks
(GET)/api/orgs/{orgName}/teams/{team}/tokens
(POST)