graph LR
BitbucketUnifiedClient["BitbucketUnifiedClient"]
BitbucketBaseComponent["BitbucketBaseComponent"]
BitbucketCloudBaseComponent["BitbucketCloudBaseComponent"]
AtlassianRESTAPIClient["AtlassianRESTAPIClient"]
BitbucketServerGlobalPermissionsManager["BitbucketServerGlobalPermissionsManager"]
BitbucketServerProjectManagement["BitbucketServerProjectManagement"]
BitbucketServerCommonPermissionsManager["BitbucketServerCommonPermissionsManager"]
BitbucketCloudWorkspaceManagement["BitbucketCloudWorkspaceManagement"]
BitbucketCloudProjectManagement["BitbucketCloudProjectManagement"]
BitbucketCloudPermissionManagement["BitbucketCloudPermissionManagement"]
BitbucketCloudMemberManagement["BitbucketCloudMemberManagement"]
BitbucketCloudCommonDataModels["BitbucketCloudCommonDataModels"]
BitbucketUnifiedClient -- "inherits from" --> BitbucketBaseComponent
BitbucketCloudBaseComponent -- "inherits from" --> BitbucketBaseComponent
BitbucketUnifiedClient -- "uses" --> BitbucketCloudBaseComponent
BitbucketServerGlobalPermissionsManager -- "inherits from" --> BitbucketBaseComponent
BitbucketServerProjectManagement -- "inherits from" --> BitbucketBaseComponent
BitbucketServerCommonPermissionsManager -- "inherits from" --> BitbucketBaseComponent
BitbucketCloudWorkspaceManagement -- "inherits from" --> BitbucketCloudBaseComponent
BitbucketCloudProjectManagement -- "inherits from" --> BitbucketCloudBaseComponent
BitbucketCloudPermissionManagement -- "inherits from" --> BitbucketCloudBaseComponent
BitbucketCloudMemberManagement -- "inherits from" --> BitbucketCloudBaseComponent
BitbucketCloudCommonDataModels -- "inherits from" --> BitbucketCloudBaseComponent
BitbucketBaseComponent -- "uses" --> AtlassianRESTAPIClient
BitbucketUnifiedClient -- "uses" --> AtlassianRESTAPIClient
BitbucketUnifiedClient -- "manages" --> BitbucketServerGlobalPermissionsManager
BitbucketUnifiedClient -- "manages" --> BitbucketServerProjectManagement
BitbucketUnifiedClient -- "uses" --> BitbucketCloudWorkspaceManagement
BitbucketCloudBaseComponent -- "uses" --> AtlassianRESTAPIClient
BitbucketServerGlobalPermissionsManager -- "uses" --> AtlassianRESTAPIClient
BitbucketServerProjectManagement -- "uses" --> AtlassianRESTAPIClient
BitbucketServerCommonPermissionsManager -- "uses" --> AtlassianRESTAPIClient
BitbucketCloudWorkspaceManagement -- "uses" --> AtlassianRESTAPIClient
BitbucketCloudWorkspaceManagement -- "manages" --> BitbucketCloudProjectManagement
BitbucketCloudWorkspaceManagement -- "manages" --> BitbucketCloudPermissionManagement
BitbucketCloudWorkspaceManagement -- "manages" --> BitbucketCloudMemberManagement
BitbucketCloudProjectManagement -- "uses" --> AtlassianRESTAPIClient
BitbucketCloudPermissionManagement -- "uses" --> AtlassianRESTAPIClient
BitbucketCloudMemberManagement -- "uses" --> AtlassianRESTAPIClient
BitbucketCloudCommonDataModels -- "uses" --> AtlassianRESTAPIClient
This graph illustrates the architecture of the Bitbucket API Client subsystem, which provides a unified interface for interacting with both Bitbucket Server and Bitbucket Cloud APIs. It details the core client, base components for common and platform-specific functionalities, and specialized managers for global permissions, project management, workspace management, and common data models, all relying on a low-level REST API client for communication.
Provides a unified interface for interacting with both Bitbucket Server and Bitbucket Cloud APIs, covering functionalities related to projects, repositories, branches, tags, pull requests, webhooks, users, groups, and various administrative and permission management tasks across both Bitbucket platforms.
Related Classes/Methods:
atlassian.bitbucket.Bitbucket(full file reference)atlassian.bitbucket.server.Server(full file reference)atlassian.bitbucket.cloud.Cloud(full file reference)
This foundational component provides common functionalities and attributes shared across different Bitbucket API clients, such as data updating, time format checking, and generic paged data retrieval. It serves as a base class for more specific Bitbucket implementations.
Related Classes/Methods:
This component extends the core Bitbucket base functionalities with features specific to the Bitbucket Cloud environment, such as handling cloud-specific links and paged data structures.
Related Classes/Methods:
A fundamental utility component responsible for executing all HTTP requests (GET, POST, PUT, DELETE) to Atlassian APIs and handling URL construction. It acts as the low-level communication layer for all higher-level API clients.
Related Classes/Methods:
Manages global-level permissions for Bitbucket Server, allowing administrators to define and control access rights for users and groups across the entire Bitbucket instance.
Related Classes/Methods:
atlassian.bitbucket.server.globalPermissions.GlobalPermissions(6:103)atlassian.bitbucket.server.globalPermissions.Groups(106:111)atlassian.bitbucket.server.globalPermissions.Users(114:119)atlassian.bitbucket.server.globalPermissions.PermissionBase(122:153)atlassian.bitbucket.server.globalPermissions.Group(156:164)atlassian.bitbucket.server.globalPermissions.User(167:198)
Provides functionalities for managing projects within Bitbucket Server, including operations such as creating, retrieving, updating, and deleting projects, as well as handling project-specific permissions.
Related Classes/Methods:
atlassian.bitbucket.server.projects.Projects(full file reference)atlassian.bitbucket.server.projects.Project(full file reference)
Offers a shared set of functionalities for managing permissions in Bitbucket Server, applicable to both projects and repositories, enabling the assignment and revocation of read, write, and administrative access.
Related Classes/Methods:
atlassian.bitbucket.server.common.permissions.Permissions(6:107)atlassian.bitbucket.server.common.permissions.Groups(110:115)atlassian.bitbucket.server.common.permissions.Users(118:123)atlassian.bitbucket.server.common.permissions.PermissionBase(126:161)atlassian.bitbucket.server.common.permissions.Group(164:173)atlassian.bitbucket.server.common.permissions.User(176:220)
Manages workspaces in Bitbucket Cloud, providing methods to list, retrieve, and check the existence of workspaces. It also serves as an entry point for managing projects, members, and permissions associated with a specific workspace.
Related Classes/Methods:
atlassian.bitbucket.cloud.workspaces.Workspaces(full file reference)atlassian.bitbucket.cloud.workspaces.Workspace(full file reference)
Focuses on project-related operations within Bitbucket Cloud workspaces, allowing for the creation, retrieval, updating, and deletion of projects.
Related Classes/Methods:
atlassian.bitbucket.cloud.workspaces.projects.Projects(9:120)atlassian.bitbucket.cloud.workspaces.projects.Project(123:215)
Handles the administration of permissions for Bitbucket Cloud workspaces and repositories, enabling the assignment and management of access rights for users and groups.
Related Classes/Methods:
atlassian.bitbucket.cloud.workspaces.permissions.Permissions(7:52)atlassian.bitbucket.cloud.workspaces.permissions.WorkspaceMembership(55:97)atlassian.bitbucket.cloud.workspaces.permissions.RepositoryPermission(100:124)
Manages members within Bitbucket Cloud workspaces, providing functionalities to list and retrieve details of workspace members.
Related Classes/Methods:
atlassian.bitbucket.cloud.workspaces.members.WorkspaceMembers(6:39)atlassian.bitbucket.cloud.workspaces.members.WorkspaceMember(42:64)
Defines the data structures for common entities in Bitbucket Cloud, such as users, participants in pull requests, build statuses, and comments, facilitating consistent data representation across the API.
Related Classes/Methods: