{ "opencollection": "1.0.0", "info": { "name": "Atlassian Admin Account Teams API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Teams", "type": "folder" }, "items": [ { "info": { "name": "Atlassian Get Variable for Team", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/teams/:username/pipelines_config/variables/:variable_uuid", "params": [ { "name": "username", "value": "", "type": "path", "description": "The account." }, { "name": "variable_uuid", "value": "", "type": "path", "description": "The UUID of the variable to retrieve." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This API operation retrieves detailed information about a specific pipeline variable configured at the team level in Bitbucket. By providing the Teams username and the unique identifier (UUID) of the variable, you can fetch the variable's configuration details including its name, value, security settings, and other metadata. This is particularly useful when you need to inspect or validate existing pipeline variables that are shared across all repositories within a team, allowing administrators t" }, { "info": { "name": "Atlassian Update Variable for Team", "type": "http" }, "http": { "method": "PUT", "url": "https://api.atlassian.com/teams/:username/pipelines_config/variables/:variable_uuid", "params": [ { "name": "username", "value": "", "type": "path", "description": "The account." }, { "name": "variable_uuid", "value": "", "type": "path", "description": "The UUID of the variable." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This API operation allows you to update an existing pipeline variable for a specific team in Atlassian Bitbucket. By making a PUT request to the endpoint with the Teams username and the variable's unique identifier (UUID), you can modify the variable's properties such as its value, security settings, or other configuration parameters. This is particularly useful for managing environment-specific settings, credentials, or other configuration values used in your Teams CI/CD pipelines without havin" }, { "info": { "name": "Atlassian Delete Variable for Team", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.atlassian.com/teams/:username/pipelines_config/variables/:variable_uuid", "params": [ { "name": "username", "value": "", "type": "path", "description": "The account." }, { "name": "variable_uuid", "value": "", "type": "path", "description": "The UUID of the variable to delete." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This API operation allows you to permanently remove a specific pipeline configuration variable from a Teams settings in Bitbucket. By sending a DELETE request to the endpoint with the Teams username and the unique identifier (UUID) of the variable you want to remove, you can delete variables that were previously configured for use in the Teams CI/CD pipelines. This is useful when cleaning up obsolete configuration values, removing sensitive information that's no longer needed, or managing the Te" }, { "info": { "name": "Atlassian Search for Code in Teams Repositories", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/teams/:username/search/code", "params": [ { "name": "username", "value": "", "type": "path", "description": "The account to search in; either the username or the UUID in curly braces" }, { "name": "search_query", "value": "", "type": "query", "description": "The search query" }, { "name": "page", "value": "", "type": "query", "description": "Which page of the search results to retrieve" }, { "name": "pagelen", "value": "", "type": "query", "description": "How many search results to retrieve per page" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This API operation allows you to search for code across all repositories belonging to a specific team in Bitbucket. By making a GET request to the endpoint with the team's username as a path parameter, you can perform code searches within the team's repository collection. The operation returns matching code snippets and their locations across the team's codebase, making it useful for finding specific code patterns, function definitions, or text strings across multiple repositories owned by the t" } ] } ], "bundled": true }