{ "opencollection": "1.0.0", "info": { "name": "Pulumi APIs AccessTokens Miscellaneous API", "version": "1.0.0" }, "items": [ { "info": { "name": "Miscellaneous", "type": "folder" }, "items": [ { "info": { "name": "Capabilities", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/capabilities" }, "docs": "Returns the set of capabilities that the service supports." }, { "info": { "name": "Version", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/cli/version" }, "docs": "Returns version information about the CLI." }, { "info": { "name": "Token", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/oauth/token", "body": { "type": "json", "data": "{}" } }, "docs": "Exchanges an external identity provider token for a Pulumi access token using the OAuth 2.0 Token Exchange flow (RFC 8693).\n\nThe request body must include:\n- `audience`: a URN identifying the target org (e.g., `urn:pulumi:org:{ORG_NAME}`)\n- `grant_type`: must be `urn:ietf:params:oauth:grant-type:token-exchange`\n- `subject_token`: the OIDC identity token from the external provider\n- `subject_token_type`: must be `urn:ietf:params:oauth:token-type:id_token`\n- `requested_token_type`: one of `urn:pul" }, { "info": { "name": "FetchRestSpecification", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/openapi/pulumi-spec.json" }, "docs": "Returns the OpenAPI v3 specification for the service." } ] } ], "bundled": true }