README ¶
Go API client for bitbucketv1
This is the reference document for the Atlassian Bitbucket REST API. The REST API is for developers who want to:
-
integrate Bitbucket with other applications;
-
create scripts that interact with Bitbucket; or
-
develop plugins that enhance the Bitbucket UI, using REST to interact with the backend.
You can read more about developing Bitbucket plugins in the Bitbucket Developer Documentation.
Overview
This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.
- API version: 8.14
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://jira.atlassian.com/projects/BSERV/summary
Installation
Install the following dependencies:
go get github.com/stretchr/testify/assert
go get golang.org/x/net/context
Put the package under your project folder and add the following in import:
import bitbucketv1 "github.com/GIT_USER_ID/GIT_REPO_ID"
To use a proxy, set the environment variable HTTP_PROXY
:
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
Configuration of Server URL
Default configuration comes with Servers
field that contains server objects as defined in the OpenAPI specification.
Select Server Configuration
For using other server than the one defined on index 0 set context value sw.ContextServerIndex
of type int
.
ctx := context.WithValue(context.Background(), bitbucketv1.ContextServerIndex, 1)
Templated Server URL
Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables
of type map[string]string
.
ctx := context.WithValue(context.Background(), bitbucketv1.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Note, enum values are always validated and all unused variables are silently ignored.
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
.
An operation is uniquely identified by "{classname}Service.{nickname}"
string.
Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ctx := context.WithValue(context.Background(), bitbucketv1.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), bitbucketv1.ContextOperationServerVariables, map[string]map[string]string{
"{classname}Service.{nickname}": {
"port": "8443",
},
})
Documentation for API Endpoints
All URIs are relative to http://example.com:7990/rest
Class | Method | HTTP request | Description |
---|---|---|---|
AuthenticationAPI | AddForProject | Post /keys/latest/projects/{projectKey}/ssh | Add project SSH key |
AuthenticationAPI | AddForRepository | Post /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh | Add repository SSH key |
AuthenticationAPI | AddSshKey | Post /ssh/latest/keys | Add SSH key for user |
AuthenticationAPI | CreateAccessToken1 | Put /access-tokens/latest/projects/{projectKey} | Create project HTTP token |
AuthenticationAPI | CreateAccessToken2 | Put /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug} | Create repository HTTP token |
AuthenticationAPI | CreateAccessToken3 | Put /access-tokens/latest/users/{userSlug} | Create personal HTTP token |
AuthenticationAPI | DeleteById | Delete /access-tokens/latest/projects/{projectKey}/{tokenId} | Delete a HTTP token |
AuthenticationAPI | DeleteById1 | Delete /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug}/{tokenId} | Delete a HTTP token |
AuthenticationAPI | DeleteById2 | Delete /access-tokens/latest/users/{userSlug}/{tokenId} | Delete a HTTP token |
AuthenticationAPI | DeleteSshKey | Delete /ssh/latest/keys/{keyId} | Remove SSH key |
AuthenticationAPI | DeleteSshKeys | Delete /ssh/latest/keys | Delete all user SSH key |
AuthenticationAPI | GetAllAccessTokens | Get /access-tokens/latest/projects/{projectKey} | Get project HTTP tokens |
AuthenticationAPI | GetAllAccessTokens1 | Get /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug} | Get repository HTTP tokens |
AuthenticationAPI | GetAllAccessTokens2 | Get /access-tokens/latest/users/{userSlug} | Get personal HTTP tokens |
AuthenticationAPI | GetById | Get /access-tokens/latest/projects/{projectKey}/{tokenId} | Get HTTP token by ID |
AuthenticationAPI | GetById1 | Get /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug}/{tokenId} | Get HTTP token by ID |
AuthenticationAPI | GetById2 | Get /access-tokens/latest/users/{userSlug}/{tokenId} | Get HTTP token by ID |
AuthenticationAPI | GetForProject | Get /keys/latest/projects/{projectKey}/ssh/{keyId} | Get project SSH key |
AuthenticationAPI | GetForProjects | Get /keys/latest/ssh/{keyId}/projects | Get project SSH keys |
AuthenticationAPI | GetForRepositories | Get /keys/latest/ssh/{keyId}/repos | Get repository SSH key |
AuthenticationAPI | GetForRepository | Get /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh | Get repository SSH keys |
AuthenticationAPI | GetForRepository1 | Get /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh/{keyId} | Get repository SSH key |
AuthenticationAPI | GetSshKey | Get /ssh/latest/keys/{keyId} | Get SSH key for user by keyId |
AuthenticationAPI | GetSshKeys | Get /ssh/latest/keys | Get SSH keys for user |
AuthenticationAPI | GetSshKeysForProject | Get /keys/latest/projects/{projectKey}/ssh | Get SSH key |
AuthenticationAPI | RevokeForProject | Delete /keys/latest/projects/{projectKey}/ssh/{keyId} | Revoke project SSH key |
AuthenticationAPI | RevokeForRepository | Delete /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh/{keyId} | Revoke repository SSH key |
AuthenticationAPI | RevokeMany | Delete /keys/latest/ssh/{keyId} | Revoke project SSH key |
AuthenticationAPI | SshSettings | Get /ssh/latest/settings | Get SSH settings |
AuthenticationAPI | UpdateAccessToken | Post /access-tokens/latest/projects/{projectKey}/{tokenId} | Update HTTP token |
AuthenticationAPI | UpdateAccessToken1 | Post /access-tokens/latest/projects/{projectKey}/repos/{repositorySlug}/{tokenId} | Update HTTP token |
AuthenticationAPI | UpdateAccessToken2 | Post /access-tokens/latest/users/{userSlug}/{tokenId} | Update HTTP token |
AuthenticationAPI | UpdatePermission | Put /keys/latest/projects/{projectKey}/ssh/{keyId}/permission/{permission} | Update project SSH key permission |
AuthenticationAPI | UpdatePermission1 | Put /keys/latest/projects/{projectKey}/repos/{repositorySlug}/ssh/{keyId}/permission/{permission} | Update repository SSH key permission |
BuildsAndDeploymentsAPI | Add | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/builds | Store a build status |
BuildsAndDeploymentsAPI | AddAnnotations | Post /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key}/annotations | Add Code Insights annotations |
BuildsAndDeploymentsAPI | CreateOrUpdateDeployment | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/deployments | Create or update a deployment |
BuildsAndDeploymentsAPI | CreateRequiredBuildsMergeCheck | Post /required-builds/latest/projects/{projectKey}/repos/{repositorySlug}/condition | Create a required builds merge check |
BuildsAndDeploymentsAPI | Delete | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/builds | Delete a specific build status |
BuildsAndDeploymentsAPI | Delete1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/deployments | Delete a deployment |
BuildsAndDeploymentsAPI | DeleteACodeInsightsReport | Delete /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key} | Delete a Code Insights report |
BuildsAndDeploymentsAPI | DeleteAnnotations | Delete /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key}/annotations | Delete Code Insights annotations |
BuildsAndDeploymentsAPI | DeleteRequiredBuildsMergeCheck | Delete /required-builds/latest/projects/{projectKey}/repos/{repositorySlug}/condition/{id} | Delete a required builds merge check |
BuildsAndDeploymentsAPI | Get | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/builds | Get a specific build status |
BuildsAndDeploymentsAPI | Get1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/deployments | Get a deployment |
BuildsAndDeploymentsAPI | GetACodeInsightsReport | Get /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key} | Get a Code Insights report |
BuildsAndDeploymentsAPI | GetAnnotations | Get /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key}/annotations | Get Code Insights annotations for a report |
BuildsAndDeploymentsAPI | GetAnnotations1 | Get /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/annotations | Get Code Insights annotations for a commit |
BuildsAndDeploymentsAPI | GetBuildStatusStats | Get /build-status/latest/commits/stats/{commitId} | Get build status statistics for commit |
BuildsAndDeploymentsAPI | GetMultipleBuildStatusStats | Post /build-status/latest/commits/stats | Get build status for multiple commits |
BuildsAndDeploymentsAPI | GetPageOfRequiredBuildsMergeChecks | Get /required-builds/latest/projects/{projectKey}/repos/{repositorySlug}/conditions | Get required builds merge checks |
BuildsAndDeploymentsAPI | GetReports | Get /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports | Get all Code Insights reports for a commit |
BuildsAndDeploymentsAPI | SetACodeInsightsReport | Put /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key} | Create a Code Insights report |
BuildsAndDeploymentsAPI | SetAnnotation | Put /insights/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/reports/{key}/annotations/{externalId} | Create or replace a Code Insights annotation |
BuildsAndDeploymentsAPI | UpdateRequiredBuildsMergeCheck | Put /required-builds/latest/projects/{projectKey}/repos/{repositorySlug}/condition/{id} | Update a required builds merge check |
CapabilitiesAPI | GetCapabilities | Get /api/latest/build/capabilities | Get build capabilities |
CapabilitiesAPI | GetCapabilities1 | Get /api/latest/deployment/capabilities | Get deployment capabilities |
DashboardAPI | GetPullRequestSuggestions | Get /api/latest/dashboard/pull-request-suggestions | Get pull request suggestions |
DashboardAPI | GetPullRequests1 | Get /api/latest/dashboard/pull-requests | Get pull requests for a user |
DefaultAPI | GetPullRequestCount | Get /api/latest/inbox/pull-requests/count | Get total number of pull requests in inbox |
DefaultAPI | GetPullRequests2 | Get /api/latest/inbox/pull-requests | Get pull requests in inbox |
DeprecatedAPI | AddBuildStatus | Post /build-status/latest/commits/{commitId} | Create build status for commit |
DeprecatedAPI | AddGroupToUser | Post /api/latest/admin/users/add-group | Add user to group |
DeprecatedAPI | AddUserToGroup | Post /api/latest/admin/groups/add-user | Add user to group |
DeprecatedAPI | Approve | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/approve | Approve pull request |
DeprecatedAPI | CountPullRequestTasks | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/tasks/count | Get pull request task count |
DeprecatedAPI | CreateTask | Post /api/latest/tasks | Create task |
DeprecatedAPI | DeleteTask | Delete /api/latest/tasks/{taskId} | Delete task |
DeprecatedAPI | GetBuildStatus | Get /build-status/latest/commits/{commitId} | Get build statuses for commit |
DeprecatedAPI | GetBuildStatusStats | Get /build-status/latest/commits/stats/{commitId} | Get build status statistics for commit |
DeprecatedAPI | GetDefaultBranch1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches/default | Get default branch |
DeprecatedAPI | GetLikers | Get /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/likes | Get comment likes |
DeprecatedAPI | GetLikers1 | Get /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/likes | Get pull request comment likes |
DeprecatedAPI | GetMultipleBuildStatusStats | Post /build-status/latest/commits/stats | Get build status for multiple commits |
DeprecatedAPI | GetPullRequestTasks | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/tasks | Get pull request tasks |
DeprecatedAPI | GetTask | Get /api/latest/tasks/{taskId} | Get task |
DeprecatedAPI | Like | Post /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/likes | Like a commit comment |
DeprecatedAPI | Like1 | Post /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/likes | Like a pull request comment |
DeprecatedAPI | OnAddonDisabled | Post /mirroring/latest/upstreamServers/{upstreamId}/addon/disabled | On disable of mirror addon |
DeprecatedAPI | OnAddonEnabled | Post /mirroring/latest/upstreamServers/{upstreamId}/addon/enabled | On enabled of mirror addon |
DeprecatedAPI | RemoveUserFromGroup | Post /api/latest/admin/groups/remove-user | Remove user from group |
DeprecatedAPI | SetDefaultBranch1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches/default | Update default branch |
DeprecatedAPI | SynchronizeRepositoryWithUpstream | Post /mirroring/latest/upstreamServers/{upstreamId}/repos/{upstreamRepoId}/synchronization | Get upstream settings |
DeprecatedAPI | SynchronizeWithUpstream | Post /mirroring/latest/upstreamServers/{upstreamId}/synchronization | Change upstream settings |
DeprecatedAPI | UnassignParticipantRole1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants | Unassign pull request participant |
DeprecatedAPI | Unlike | Delete /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/likes | Unlike a commit comment |
DeprecatedAPI | Unlike1 | Delete /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/likes | Unlike a pull request comment |
DeprecatedAPI | UpdateTask | Put /api/latest/tasks/{taskId} | Update task |
DeprecatedAPI | WithdrawApproval | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/approve | Unapprove pull request |
JiraIntegrationAPI | CreateIssue | Post /jira/latest/comments/{commentId}/issues | Create Jira Issue |
JiraIntegrationAPI | GetCommitsByIssueKey | Get /jira/latest/issues/{issueKey}/commits | Get changesets for issue key |
JiraIntegrationAPI | GetEnhancedEntityLinkForProject | Get /jira/latest/projects/{projectKey}/primary-enhanced-entitylink | Get entity link |
JiraIntegrationAPI | GetIssueKeysForPullRequest | Get /jira/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/issues | Get issues for a pull request |
MarkupAPI | Preview | Post /api/latest/markup/preview | Preview markdown render |
MirroringMirrorAPI | GetFarmNodes | Get /mirroring/latest/upstreamServers/{upstreamId}/farmNodes | Get farm nodes |
MirroringMirrorAPI | GetMirrorMode | Get /mirroring/latest/upstreamServers/{upstreamId}/settings/mode | Get mirror mode |
MirroringMirrorAPI | GetMirrorSettings | Get /mirroring/latest/upstreamServers/{upstreamId}/settings | Get upstream settings |
MirroringMirrorAPI | GetMirroredProjects | Get /mirroring/latest/upstreamServers/{upstreamId}/settings/projects | Get mirrored project IDs |
MirroringMirrorAPI | GetMirroredRepository | Get /mirroring/latest/upstreamServers/{upstreamId}/repos/{upstreamRepoId} | Get clone URLs |
MirroringMirrorAPI | GetRefChangesQueue | Get /mirroring/latest/supportInfo/refChangesQueue | Get items in ref changes queue |
MirroringMirrorAPI | GetRefChangesQueueCount | Get /mirroring/latest/supportInfo/refChangesQueue/count | Get total number of items in ref changes queue |
MirroringMirrorAPI | GetRepoSyncStatus | Get /mirroring/latest/supportInfo/repoSyncStatus | Get sync status of repositories |
MirroringMirrorAPI | GetSynchronizationProgress | Get /mirroring/latest/upstreamServers/{upstreamId}/progress | Get synchronization progress state |
MirroringMirrorAPI | GetUpstreamServer | Get /mirroring/latest/upstreamServers/{upstreamId} | Get upstream server by ID |
MirroringMirrorAPI | ListUpstreamServers | Get /mirroring/latest/upstreamServers | Get upstream servers |
MirroringMirrorAPI | OnAddonDisabled | Post /mirroring/latest/upstreamServers/{upstreamId}/addon/disabled | On disable of mirror addon |
MirroringMirrorAPI | OnAddonEnabled | Post /mirroring/latest/upstreamServers/{upstreamId}/addon/enabled | On enabled of mirror addon |
MirroringMirrorAPI | SetMirrorMode | Put /mirroring/latest/upstreamServers/{upstreamId}/settings/mode | Update mirror mode |
MirroringMirrorAPI | SetMirrorSettings | Put /mirroring/latest/upstreamServers/{upstreamId}/settings | Update upstream settings |
MirroringMirrorAPI | StartMirroringProject | Post /mirroring/latest/upstreamServers/{upstreamId}/settings/projects/{projectId} | Add project to be mirrored |
MirroringMirrorAPI | StartMirroringProjects | Post /mirroring/latest/upstreamServers/{upstreamId}/settings/projects | Add multiple projects to be mirrored |
MirroringMirrorAPI | StopMirroringProject | Delete /mirroring/latest/upstreamServers/{upstreamId}/settings/projects/{projectId} | Stop mirroring project |
MirroringMirrorAPI | StopMirroringProjects | Delete /mirroring/latest/upstreamServers/{upstreamId}/settings/projects | Stop mirroring projects |
MirroringMirrorAPI | SynchronizeRepositoryWithUpstream | Post /mirroring/latest/upstreamServers/{upstreamId}/repos/{upstreamRepoId}/synchronization | Get upstream settings |
MirroringMirrorAPI | SynchronizeWithUpstream | Post /mirroring/latest/upstreamServers/{upstreamId}/synchronization | Change upstream settings |
MirroringUpstreamAPI | Accept | Post /mirroring/latest/requests/{mirroringRequestId}/accept | Accept a mirroring request |
MirroringUpstreamAPI | AnalyticsSettings | Get /mirroring/latest/analyticsSettings | Get analytics settings from upstream |
MirroringUpstreamAPI | Authenticate | Post /mirroring/latest/authenticate | Authenticate on behalf of a user |
MirroringUpstreamAPI | DeleteMirroringRequest | Delete /mirroring/latest/requests/{mirroringRequestId} | Delete a mirroring request |
MirroringUpstreamAPI | DeletePreferredMirrorId | Delete /mirroring/latest/account/settings/preferred-mirror | Remove preferred mirror |
MirroringUpstreamAPI | GetAllContentHashes | Get /mirroring/latest/repos | Get content hashes for repositories |
MirroringUpstreamAPI | GetAllReposForProject | Get /mirroring/latest/projects/{projectId}/repos | Get hashes for repositories in project |
MirroringUpstreamAPI | GetAuthToken | Get /mirroring/latest/mirrorServers/{mirrorId}/token | Get mirror auth token |
MirroringUpstreamAPI | GetContentHashById | Get /mirroring/latest/repos/{repoId} | Get content hash for a repository |
MirroringUpstreamAPI | GetMirror | Get /mirroring/latest/mirrorServers/{mirrorId} | Get mirror by ID |
MirroringUpstreamAPI | GetMirroringRequest | Get /mirroring/latest/requests/{mirroringRequestId} | Get a mirroring request |
MirroringUpstreamAPI | GetPanelHtml | Get /mirroring/latest/mirrorServers/{mirrorId}/webPanels/config | Get HTML for remote-connect web-panel on mirror |
MirroringUpstreamAPI | GetPreferredMirrorId | Get /mirroring/latest/account/settings/preferred-mirror | Get preferred mirror |
MirroringUpstreamAPI | GetProjectById | Get /mirroring/latest/projects/{projectId} | Get project |
MirroringUpstreamAPI | GetRepositoryMirrors | Get /mirroring/latest/repos/{repoId}/mirrors | Get mirrors for repository |
MirroringUpstreamAPI | ListMirrors | Get /mirroring/latest/mirrorServers | Get all mirrors |
MirroringUpstreamAPI | ListRequests | Get /mirroring/latest/requests | Get mirroring requests |
MirroringUpstreamAPI | PublishEvent | Post /mirroring/latest/mirrorServers/{mirrorId}/events | Publish RepositoryMirrorEvent |
MirroringUpstreamAPI | Register | Post /mirroring/latest/requests | Create a mirroring request |
MirroringUpstreamAPI | Reject | Post /mirroring/latest/requests/{mirroringRequestId}/reject | Reject a mirroring request |
MirroringUpstreamAPI | Remove | Delete /mirroring/latest/mirrorServers/{mirrorId} | Delete mirror by ID |
MirroringUpstreamAPI | SetPreferredMirrorId | Post /mirroring/latest/account/settings/preferred-mirror | Set preferred mirror |
MirroringUpstreamAPI | Upgrade | Put /mirroring/latest/mirrorServers/{mirrorId} | Upgrade add-on for a mirror |
PermissionManagementAPI | AddGroupToUser | Post /api/latest/admin/users/add-group | Add user to group |
PermissionManagementAPI | AddUserToGroup | Post /api/latest/admin/groups/add-user | Add user to group |
PermissionManagementAPI | AddUserToGroups | Post /api/latest/admin/users/add-groups | Add user to groups |
PermissionManagementAPI | AddUsersToGroup | Post /api/latest/admin/groups/add-users | Add multiple users to group |
PermissionManagementAPI | ClearUserCaptchaChallenge | Delete /api/latest/admin/users/captcha | Clear CAPTCHA for user |
PermissionManagementAPI | CreateGroup | Post /api/latest/admin/groups | Create group |
PermissionManagementAPI | CreateUser | Post /api/latest/admin/users | Create user |
PermissionManagementAPI | DeleteGroup | Delete /api/latest/admin/groups | Remove group |
PermissionManagementAPI | DeleteUser | Delete /api/latest/admin/users | Remove user |
PermissionManagementAPI | EraseUser | Post /api/latest/admin/users/erasure | Erase user information |
PermissionManagementAPI | FindGroupsForUser | Get /api/latest/admin/users/more-members | Get groups for user |
PermissionManagementAPI | FindOtherGroupsForUser | Get /api/latest/admin/users/more-non-members | Find other groups for user |
PermissionManagementAPI | FindUsersInGroup | Get /api/latest/admin/groups/more-members | Get group members |
PermissionManagementAPI | FindUsersNotInGroup | Get /api/latest/admin/groups/more-non-members | Get members not in group |
PermissionManagementAPI | GetGroups | Get /api/latest/groups | Get group names |
PermissionManagementAPI | GetGroups1 | Get /api/latest/admin/groups | Get groups |
PermissionManagementAPI | GetGroupsWithAnyPermission | Get /api/latest/admin/permissions/groups | Get groups with a global permission |
PermissionManagementAPI | GetGroupsWithAnyPermission2 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/groups | Get groups with permission to repository |
PermissionManagementAPI | GetGroupsWithoutAnyPermission | Get /api/latest/admin/permissions/groups/none | Get groups with no global permission |
PermissionManagementAPI | GetGroupsWithoutAnyPermission2 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/groups/none | Get groups without repository permission |
PermissionManagementAPI | GetUserDirectories | Get /api/latest/admin/user-directories | Get directories |
PermissionManagementAPI | GetUsers1 | Get /api/latest/admin/users | Get users |
PermissionManagementAPI | GetUsersWithAnyPermission | Get /api/latest/admin/permissions/users | Get users with a global permission |
PermissionManagementAPI | GetUsersWithAnyPermission2 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/users | Get users with permission to repository |
PermissionManagementAPI | GetUsersWithoutAnyPermission | Get /api/latest/admin/permissions/users/none | Get users with no global permission |
PermissionManagementAPI | GetUsersWithoutPermission1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/users/none | Get users without repository permission |
PermissionManagementAPI | RemoveGroupFromUser | Post /api/latest/admin/users/remove-group | Remove user from group |
PermissionManagementAPI | RemoveUserFromGroup | Post /api/latest/admin/groups/remove-user | Remove user from group |
PermissionManagementAPI | RenameUser | Post /api/latest/admin/users/rename | Rename user |
PermissionManagementAPI | RevokePermissions1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions | Revoke all repository permissions for users and groups |
PermissionManagementAPI | RevokePermissionsForGroup | Delete /api/latest/admin/permissions/groups | Revoke all global permissions for group |
PermissionManagementAPI | RevokePermissionsForGroup2 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/groups | Revoke group repository permission |
PermissionManagementAPI | RevokePermissionsForUser | Delete /api/latest/admin/permissions/users | Revoke all global permissions for user |
PermissionManagementAPI | RevokePermissionsForUser2 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/users | Revoke user repository permission |
PermissionManagementAPI | SearchPermissions1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/search | Search repository permissions |
PermissionManagementAPI | SetPermissionForGroup | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/groups | Update group repository permission |
PermissionManagementAPI | SetPermissionForGroups | Put /api/latest/admin/permissions/groups | Update global permission for group |
PermissionManagementAPI | SetPermissionForUser | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/permissions/users | Update user repository permission |
PermissionManagementAPI | SetPermissionForUsers | Put /api/latest/admin/permissions/users | Update global permission for user |
PermissionManagementAPI | UpdateUserDetails | Put /api/latest/admin/users | Update user details |
PermissionManagementAPI | UpdateUserPassword | Put /api/latest/admin/users/credentials | Set password for user |
PermissionManagementAPI | ValidateErasable | Get /api/latest/admin/users/erasure | Check user removal |
ProjectAPI | Create3 | Post /api/latest/projects/{projectKey}/settings-restriction | Enforce project restriction |
ProjectAPI | CreateProject | Post /api/latest/projects | Create a new project |
ProjectAPI | CreateRepository | Post /api/latest/projects/{projectKey}/repos | Create repository |
ProjectAPI | CreateRestrictions | Post /branch-permissions/latest/projects/{projectKey}/restrictions | Create multiple ref restrictions |
ProjectAPI | CreateWebhook | Post /api/latest/projects/{projectKey}/webhooks | Create webhook |
ProjectAPI | Delete7 | Delete /api/latest/projects/{projectKey}/settings-restriction | Stop enforcing project restriction |
ProjectAPI | DeleteAutoDeclineSettings | Delete /api/latest/projects/{projectKey}/settings/auto-decline | Delete auto decline settings |
ProjectAPI | DeleteProject | Delete /api/latest/projects/{projectKey} | Delete project |
ProjectAPI | DeleteRepository | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug} | Delete repository |
ProjectAPI | DeleteRestriction | Delete /branch-permissions/latest/projects/{projectKey}/restrictions/{id} | Delete a ref restriction |
ProjectAPI | DeleteWebhook | Delete /api/latest/projects/{projectKey}/webhooks/{webhookId} | Delete webhook |
ProjectAPI | DisableHook | Delete /api/latest/projects/{projectKey}/settings/hooks/{hookKey}/enabled | Disable repository hook |
ProjectAPI | EnableHook | Put /api/latest/projects/{projectKey}/settings/hooks/{hookKey}/enabled | Enable repository hook |
ProjectAPI | FindWebhooks | Get /api/latest/projects/{projectKey}/webhooks | Find webhooks |
ProjectAPI | ForkRepository | Post /api/latest/projects/{projectKey}/repos/{repositorySlug} | Fork repository |
ProjectAPI | Get5 | Get /api/latest/projects/{projectKey}/settings-restriction | Get enforcing project setting |
ProjectAPI | GetAll | Get /api/latest/projects/{projectKey}/settings-restriction/all | Get all enforcing project settings |
ProjectAPI | GetAutoDeclineSettings | Get /api/latest/projects/{projectKey}/settings/auto-decline | Get auto decline settings |
ProjectAPI | GetAvatar | Get /api/latest/hooks/{hookKey}/avatar | Get project avatar |
ProjectAPI | GetConfigurations | Get /api/latest/projects/{projectKey}/hook-scripts | Get configured hook scripts |
ProjectAPI | GetDefaultBranch2 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/default-branch | Get repository default branch |
ProjectAPI | GetForkedRepositories | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/forks | Get repository forks |
ProjectAPI | GetGroupsWithAnyPermission1 | Get /api/latest/projects/{projectKey}/permissions/groups | Get groups with permission to project |
ProjectAPI | GetGroupsWithoutAnyPermission1 | Get /api/latest/projects/{projectKey}/permissions/groups/none | Get groups without project permission |
ProjectAPI | GetLatestInvocation | Get /api/latest/projects/{projectKey}/webhooks/{webhookId}/latest | Get last webhook invocation details |
ProjectAPI | GetProject | Get /api/latest/projects/{projectKey} | Get a project |
ProjectAPI | GetProjectAvatar | Get /api/latest/projects/{projectKey}/avatar.png | Get avatar for project |
ProjectAPI | GetProjects | Get /api/latest/projects | Get projects |
ProjectAPI | GetPullRequestSettings | Get /api/latest/projects/{projectKey}/settings/pull-requests/{scmId} | Get merge strategy |
ProjectAPI | GetRelatedRepositories | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/related | Get related repository |
ProjectAPI | GetRepositories | Get /api/latest/projects/{projectKey}/repos | Get repositories for project |
ProjectAPI | GetRepository | Get /api/latest/projects/{projectKey}/repos/{repositorySlug} | Get repository |
ProjectAPI | GetRepositoryHook | Get /api/latest/projects/{projectKey}/settings/hooks/{hookKey} | Get a repository hook |
ProjectAPI | GetRepositoryHooks | Get /api/latest/projects/{projectKey}/settings/hooks | Get repository hooks |
ProjectAPI | GetRestriction | Get /branch-permissions/latest/projects/{projectKey}/restrictions/{id} | Get a ref restriction |
ProjectAPI | GetRestrictions | Get /branch-permissions/latest/projects/{projectKey}/restrictions | Search for ref restrictions |
ProjectAPI | GetSettings | Get /api/latest/projects/{projectKey}/settings/hooks/{hookKey}/settings | Get repository hook settings |
ProjectAPI | GetStatistics | Get /api/latest/projects/{projectKey}/webhooks/{webhookId}/statistics | Get webhook statistics |
ProjectAPI | GetStatisticsSummary | Get /api/latest/projects/{projectKey}/webhooks/{webhookId}/statistics/summary | Get webhook statistics summary |
ProjectAPI | GetUsersWithAnyPermission1 | Get /api/latest/projects/{projectKey}/permissions/users | Get users with permission to project |
ProjectAPI | GetUsersWithoutPermission | Get /api/latest/projects/{projectKey}/permissions/users/none | Get users without project permission |
ProjectAPI | GetWebhook | Get /api/latest/projects/{projectKey}/webhooks/{webhookId} | Get webhook |
ProjectAPI | HasAllUserPermission | Get /api/latest/projects/{projectKey}/permissions/{permission}/all | Check default project permission |
ProjectAPI | ModifyAllUserPermission | Post /api/latest/projects/{projectKey}/permissions/{permission}/all | Grant project permission |
ProjectAPI | RemoveConfiguration | Delete /api/latest/projects/{projectKey}/hook-scripts/{scriptId} | Remove a hook script |
ProjectAPI | RetryCreateRepository | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/recreate | Retry repository creation |
ProjectAPI | RevokePermissions | Delete /api/latest/projects/{projectKey}/permissions | Revoke project permissions |
ProjectAPI | RevokePermissionsForGroup1 | Delete /api/latest/projects/{projectKey}/permissions/groups | Revoke group project permission |
ProjectAPI | RevokePermissionsForUser1 | Delete /api/latest/projects/{projectKey}/permissions/users | Revoke user project permission |
ProjectAPI | SearchPermissions | Get /api/latest/projects/{projectKey}/permissions/search | Search project permissions |
ProjectAPI | SetAutoDeclineSettings | Put /api/latest/projects/{projectKey}/settings/auto-decline | Create/Update auto decline settings |
ProjectAPI | SetConfiguration | Put /api/latest/projects/{projectKey}/hook-scripts/{scriptId} | Create/update a hook script |
ProjectAPI | SetDefaultBranch2 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/default-branch | Update default branch for repository |
ProjectAPI | SetPermissionForGroups1 | Put /api/latest/projects/{projectKey}/permissions/groups | Update group project permission |
ProjectAPI | SetPermissionForUsers1 | Put /api/latest/projects/{projectKey}/permissions/users | Update user project permission |
ProjectAPI | SetSettings | Put /api/latest/projects/{projectKey}/settings/hooks/{hookKey}/settings | Update repository hook settings |
ProjectAPI | StreamContributing | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/contributing | Get repository contributing guidelines |
ProjectAPI | StreamLicense | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/license | Get repository license |
ProjectAPI | StreamReadme | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/readme | Get repository readme |
ProjectAPI | TestWebhook | Post /api/latest/projects/{projectKey}/webhooks/test | Test webhook |
ProjectAPI | UpdateProject | Put /api/latest/projects/{projectKey} | Update project |
ProjectAPI | UpdatePullRequestSettings | Post /api/latest/projects/{projectKey}/settings/pull-requests/{scmId} | Update merge strategy |
ProjectAPI | UpdateRepository | Put /api/latest/projects/{projectKey}/repos/{repositorySlug} | Update repository |
ProjectAPI | UpdateWebhook | Put /api/latest/projects/{projectKey}/webhooks/{webhookId} | Update webhook |
ProjectAPI | UploadAvatar | Post /api/latest/projects/{projectKey}/avatar.png | Update project avatar |
PullRequestsAPI | ApplySuggestion | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/apply-suggestion | Apply pull request suggestion |
PullRequestsAPI | Approve | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/approve | Approve pull request |
PullRequestsAPI | AssignParticipantRole | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants | Assign pull request participant role |
PullRequestsAPI | CanMerge | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/merge | Test if pull request can be merged |
PullRequestsAPI | CanRebase | Get /git/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/rebase | Check PR rebase precondition |
PullRequestsAPI | Create | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests | Create pull request |
PullRequestsAPI | Create1 | Post /api/latest/projects/{projectKey}/settings/reviewer-groups | Create reviewer group |
PullRequestsAPI | Create2 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups | Create reviewer group |
PullRequestsAPI | CreateComment1 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments | Add new blocker comment |
PullRequestsAPI | CreateComment2 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments | Add pull request comment |
PullRequestsAPI | CreatePullRequestCondition | Post /default-reviewers/latest/projects/{projectKey}/condition | Create default reviewer |
PullRequestsAPI | CreatePullRequestCondition1 | Post /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/condition | Create default reviewers condition |
PullRequestsAPI | Decline | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/decline | Decline pull request |
PullRequestsAPI | Delete3 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId} | Delete pull request |
PullRequestsAPI | Delete4 | Delete /api/latest/projects/{projectKey}/settings/reviewer-groups/{id} | Delete reviewer group |
PullRequestsAPI | Delete5 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups/{id} | Delete reviewer group |
PullRequestsAPI | DeleteComment1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments/{commentId} | Delete pull request comment |
PullRequestsAPI | DeleteComment2 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} | Delete a pull request comment |
PullRequestsAPI | DeletePullRequestCondition | Delete /default-reviewers/latest/projects/{projectKey}/condition/{id} | Remove default reviewer |
PullRequestsAPI | DeletePullRequestCondition1 | Delete /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/condition/{id} | Delete a default reviewer condition |
PullRequestsAPI | DiscardReview | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/review | Discard pull request review |
PullRequestsAPI | FinishReview | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/review | Complete pull request review |
PullRequestsAPI | Get3 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId} | Get pull request |
PullRequestsAPI | GetActivities | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/activities | Get pull request activity |
PullRequestsAPI | GetComment1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments/{commentId} | Get pull request comment |
PullRequestsAPI | GetComment2 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} | Get a pull request comment |
PullRequestsAPI | GetComments1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments | Search pull request comments |
PullRequestsAPI | GetComments2 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments | Get pull request comments for path |
PullRequestsAPI | GetCommitMessageSuggestion | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/commit-message-suggestion | Get commit message suggestion |
PullRequestsAPI | GetCommits1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/commits | Get pull request commits |
PullRequestsAPI | GetMergeConfig | Get /api/latest/admin/pull-requests/{scmId} | Get merge strategies |
PullRequestsAPI | GetPage | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests | Get pull requests for repository |
PullRequestsAPI | GetPullRequestConditions | Get /default-reviewers/latest/projects/{projectKey}/conditions | Get default reviewers |
PullRequestsAPI | GetPullRequestConditions1 | Get /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/conditions | Get configured default reviewers |
PullRequestsAPI | GetPullRequests | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/pull-requests | Get repository pull requests containing commit |
PullRequestsAPI | GetReview | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/review | Get pull request comment thread |
PullRequestsAPI | GetReviewerGroup | Get /api/latest/projects/{projectKey}/settings/reviewer-groups/{id} | Get reviewer group |
PullRequestsAPI | GetReviewerGroup1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups/{id} | Get reviewer group |
PullRequestsAPI | GetReviewerGroups | Get /api/latest/projects/{projectKey}/settings/reviewer-groups | Get all reviewer groups |
PullRequestsAPI | GetReviewerGroups1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups | Get all reviewer groups |
PullRequestsAPI | GetReviewers | Get /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/reviewers | Get required reviewers for PR creation |
PullRequestsAPI | GetUsers | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups/{id}/users | Get reviewer group users |
PullRequestsAPI | ListParticipants | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants | Get pull request participants |
PullRequestsAPI | Merge | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/merge | Merge pull request |
PullRequestsAPI | React1 | Put /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/reactions/{emoticon} | React to a PR comment |
PullRequestsAPI | Rebase | Post /git/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/rebase | Rebase pull request |
PullRequestsAPI | Reopen | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/reopen | Re-open pull request |
PullRequestsAPI | Search | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/participants | Search pull request participants |
PullRequestsAPI | SetMergeConfig | Post /api/latest/admin/pull-requests/{scmId} | Update merge strategies |
PullRequestsAPI | StreamChanges1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/changes | Gets pull request changes |
PullRequestsAPI | StreamDiff2 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/diff/{path} | Stream a diff within a pull request |
PullRequestsAPI | StreamPatch1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}.patch | Stream pull request as patch |
PullRequestsAPI | StreamRawDiff2 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}.diff | Stream raw pull request diff |
PullRequestsAPI | UnReact1 | Delete /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}/reactions/{emoticon} | Remove a reaction from a PR comment |
PullRequestsAPI | UnassignParticipantRole | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} | Unassign pull request participant |
PullRequestsAPI | UnassignParticipantRole1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants | Unassign pull request participant |
PullRequestsAPI | Unwatch1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/watch | Stop watching pull request |
PullRequestsAPI | Update | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId} | Update pull request metadata |
PullRequestsAPI | Update1 | Put /api/latest/projects/{projectKey}/settings/reviewer-groups/{id} | Update reviewer group attributes |
PullRequestsAPI | Update2 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/reviewer-groups/{id} | Update reviewer group attributes |
PullRequestsAPI | UpdateComment1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/blocker-comments/{commentId} | Update pull request comment |
PullRequestsAPI | UpdateComment2 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId} | Update pull request comment |
PullRequestsAPI | UpdatePullRequestCondition | Put /default-reviewers/latest/projects/{projectKey}/condition/{id} | Update the default reviewer |
PullRequestsAPI | UpdatePullRequestCondition1 | Put /default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/condition/{id} | Update a default reviewer condition |
PullRequestsAPI | UpdateStatus | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug} | Change pull request status |
PullRequestsAPI | Watch1 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/watch | Watch pull request |
PullRequestsAPI | WithdrawApproval | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/approve | Unapprove pull request |
RepositoryAPI | AddLabel | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/labels | Add repository label |
RepositoryAPI | CreateBranch | Post /branch-utils/latest/projects/{projectKey}/repos/{repositorySlug}/branches | Create branch |
RepositoryAPI | CreateBranchForRepository | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches | Create branch |
RepositoryAPI | CreateComment | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments | Add a new commit comment |
RepositoryAPI | CreateRestrictions1 | Post /branch-permissions/latest/projects/{projectKey}/repos/{repositorySlug}/restrictions | Create multiple ref restrictions |
RepositoryAPI | CreateTag | Post /git/latest/projects/{projectKey}/repos/{repositorySlug}/tags | Create tag |
RepositoryAPI | CreateTagForRepository | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/tags | Create tag |
RepositoryAPI | CreateWebhook1 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks | Create webhook |
RepositoryAPI | DeleteAttachment | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId} | Delete an attachment |
RepositoryAPI | DeleteAttachmentMetadata | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId}/metadata | Delete attachment metadata |
RepositoryAPI | DeleteAutoDeclineSettings1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/auto-decline | Delete auto decline settings |
RepositoryAPI | DeleteBranch | Delete /branch-utils/latest/projects/{projectKey}/repos/{repositorySlug}/branches | Delete branch |
RepositoryAPI | DeleteComment | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId} | Delete a commit comment |
RepositoryAPI | DeleteRepositoryHook | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey} | Delete repository hook |
RepositoryAPI | DeleteRestriction1 | Delete /branch-permissions/latest/projects/{projectKey}/repos/{repositorySlug}/restrictions/{id} | Delete a ref restriction |
RepositoryAPI | DeleteTag | Delete /git/latest/projects/{projectKey}/repos/{repositorySlug}/tags/{name} | Delete tag |
RepositoryAPI | DeleteWebhook1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId} | Delete webhook |
RepositoryAPI | DisableHook1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey}/enabled | Disable repository hook |
RepositoryAPI | EditFile | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/browse/{path} | Edit file |
RepositoryAPI | EnableHook1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey}/enabled | Enable repository hook |
RepositoryAPI | FindBranches | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/ref-change-activities/branches | Get branches with ref change activities for repository |
RepositoryAPI | FindByCommit | Get /branch-utils/latest/projects/{projectKey}/repos/{repositorySlug}/branches/info/{commitId} | Get branch |
RepositoryAPI | FindWebhooks1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks | Find webhooks |
RepositoryAPI | GetAllLabelsForRepository | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/labels | Get repository labels |
RepositoryAPI | GetArchive | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/archive | Stream archive of repository |
RepositoryAPI | GetAttachment | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId} | Get an attachment |
RepositoryAPI | GetAttachmentMetadata | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId}/metadata | Get attachment metadata |
RepositoryAPI | GetAutoDeclineSettings1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/auto-decline | Get auto decline settings |
RepositoryAPI | GetBranches | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches | Find branches |
RepositoryAPI | GetChanges | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/changes | Get changes in commit |
RepositoryAPI | GetChanges1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/changes | Get changes made in commit |
RepositoryAPI | GetComment | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId} | Get a commit comment |
RepositoryAPI | GetComments | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments | Search for commit comments |
RepositoryAPI | GetCommit | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId} | Get commit by ID |
RepositoryAPI | GetCommits | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits | Get commits |
RepositoryAPI | GetConfigurations1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/hook-scripts | Get hook scripts |
RepositoryAPI | GetContent | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/browse | Get file content at revision |
RepositoryAPI | GetContent1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/browse/{path} | Get file content |
RepositoryAPI | GetDefaultBranch1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches/default | Get default branch |
RepositoryAPI | GetLatestInvocation1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId}/latest | Get last webhook invocation details |
RepositoryAPI | GetPullRequestSettings1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests | Get pull request settings |
RepositoryAPI | GetRefChangeActivity | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/ref-change-activities | Get ref change activity |
RepositoryAPI | GetRepositories1 | Get /api/latest/repos | Search for repositories |
RepositoryAPI | GetRepositoriesRecentlyAccessed | Get /api/latest/profile/recent/repos | Get recently accessed repositories |
RepositoryAPI | GetRepositoryHook1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey} | Get repository hook |
RepositoryAPI | GetRepositoryHooks1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks | Get repository hooks |
RepositoryAPI | GetRestriction1 | Get /branch-permissions/latest/projects/{projectKey}/repos/{repositorySlug}/restrictions/{id} | Get a ref restriction |
RepositoryAPI | GetRestrictions1 | Get /branch-permissions/latest/projects/{projectKey}/repos/{repositorySlug}/restrictions | Search for ref restrictions |
RepositoryAPI | GetSettings1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey}/settings | Get repository hook settings |
RepositoryAPI | GetStatistics1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId}/statistics | Get webhook statistics |
RepositoryAPI | GetStatisticsSummary1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId}/statistics/summary | Get webhook statistics summary |
RepositoryAPI | GetStatus | Get /sync/latest/projects/{projectKey}/repos/{repositorySlug} | Get synchronization status |
RepositoryAPI | GetTag | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/tags/{name} | Get tag |
RepositoryAPI | GetTags | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/tags | Find tag |
RepositoryAPI | GetWebhook1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId} | Get webhook |
RepositoryAPI | React | Put /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/reactions/{emoticon} | React to a comment |
RepositoryAPI | RemoveConfiguration1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/hook-scripts/{scriptId} | Remove a hook script |
RepositoryAPI | RemoveLabel | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/labels/{labelName} | Remove repository label |
RepositoryAPI | SaveAttachmentMetadata | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/attachments/{attachmentId}/metadata | Save attachment metadata |
RepositoryAPI | SearchWebhooks | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/search | Search webhooks |
RepositoryAPI | SetAutoDeclineSettings1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/auto-decline | Create auto decline settings |
RepositoryAPI | SetConfiguration1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/hook-scripts/{scriptId} | Create/update a hook script |
RepositoryAPI | SetDefaultBranch1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/branches/default | Update default branch |
RepositoryAPI | SetEnabled | Post /sync/latest/projects/{projectKey}/repos/{repositorySlug} | Disable synchronization |
RepositoryAPI | SetSettings1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/hooks/{hookKey}/settings | Update repository hook settings |
RepositoryAPI | Stream | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/last-modified | Stream files |
RepositoryAPI | Stream1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/last-modified/{path} | Stream files with last modified commit in path |
RepositoryAPI | StreamChanges | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/compare/changes | Compare commits |
RepositoryAPI | StreamCommits | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/compare/commits | Get accessible commits |
RepositoryAPI | StreamDiff | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/diff/{path} | Get diff between revisions |
RepositoryAPI | StreamDiff1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/compare/diff{path} | Get diff between commits |
RepositoryAPI | StreamFiles | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/files/{path} | Get files in directory |
RepositoryAPI | StreamFiles1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/files | Get files in directory |
RepositoryAPI | StreamPatch | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/patch | Get patch content at revision |
RepositoryAPI | StreamRaw | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/raw/{path} | Get raw content of a file at revision |
RepositoryAPI | StreamRawDiff | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/diff | Get raw diff for path |
RepositoryAPI | StreamRawDiff1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/diff/{path} | Get raw diff for path |
RepositoryAPI | Synchronize | Post /sync/latest/projects/{projectKey}/repos/{repositorySlug}/synchronize | Manual synchronization |
RepositoryAPI | TestWebhook1 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/test | Test webhook |
RepositoryAPI | UnReact | Delete /comment-likes/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId}/reactions/{emoticon} | Remove a reaction from comment |
RepositoryAPI | Unwatch | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/watch | Stop watching commit |
RepositoryAPI | Unwatch2 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/watch | Stop watching repository |
RepositoryAPI | UpdateComment | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/comments/{commentId} | Update a commit comment |
RepositoryAPI | UpdatePullRequestSettings1 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests | Update pull request settings |
RepositoryAPI | UpdateWebhook1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/webhooks/{webhookId} | Update webhook |
RepositoryAPI | Watch | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/watch | Watch commit |
RepositoryAPI | Watch2 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/watch | Watch repository |
SecurityAPI | AddKey | Post /gpg/latest/keys | Create a GPG key |
SecurityAPI | BulkAddExemptRepositories | Post /api/latest/secret-scanning/exempt | Bulk exempt repos from secret scanning |
SecurityAPI | CreateAllowlistRule | Post /api/latest/projects/{projectKey}/secret-scanning/allowlist | Create project secret scanning allowlist rule |
SecurityAPI | CreateAllowlistRule1 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist | Create repository secret scanning allowlist rule |
SecurityAPI | CreateRule | Post /api/latest/projects/{projectKey}/secret-scanning/rules | Create project secret scanning rule |
SecurityAPI | CreateRule1 | Post /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules | Create repository secret scanning rule |
SecurityAPI | CreateRule2 | Post /api/latest/secret-scanning/rules | Create global secret scanning rule |
SecurityAPI | DeleteAllowlistRule | Delete /api/latest/projects/{projectKey}/secret-scanning/allowlist/{id} | Delete a project secret scanning allowlist rule |
SecurityAPI | DeleteAllowlistRule1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist/{id} | Delete a repository secret scanning allowlist rule |
SecurityAPI | DeleteForUser | Delete /gpg/latest/keys | Delete all GPG keys for user |
SecurityAPI | DeleteKey | Delete /gpg/latest/keys/{fingerprintOrId} | Delete a GPG key |
SecurityAPI | DeleteRule | Delete /api/latest/projects/{projectKey}/secret-scanning/rules/{id} | Delete a project secret scanning rule |
SecurityAPI | DeleteRule1 | Delete /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules/{id} | Delete a repository secret scanning rule |
SecurityAPI | DeleteRule2 | Delete /api/latest/secret-scanning/rules/{id} | Delete a global secret scanning rule |
SecurityAPI | EditAllowlistRule | Put /api/latest/projects/{projectKey}/secret-scanning/allowlist/{id} | Edit an existing project secret scanning allowlist rule |
SecurityAPI | EditAllowlistRule1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist/{id} | Edit an existing repository secret scanning allowlist rule |
SecurityAPI | EditRule | Put /api/latest/projects/{projectKey}/secret-scanning/rules/{id} | Edit an existing project secret scanning rule |
SecurityAPI | EditRule1 | Put /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules/{id} | Edit an existing repository secret scanning rule |
SecurityAPI | EditRule2 | Put /api/latest/secret-scanning/rules/{id} | Edit a global secret scanning rule. |
SecurityAPI | FindExemptReposByScope | Get /api/latest/secret-scanning/exempt | Find all repos exempt from secret scan |
SecurityAPI | GetAllowlistRule | Get /api/latest/projects/{projectKey}/secret-scanning/allowlist/{id} | Get a project secret scanning allowlist rule |
SecurityAPI | GetAllowlistRule1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist/{id} | Get a repository secret scanning allowlist rule |
SecurityAPI | GetKeysForUser | Get /gpg/latest/keys | Get all GPG keys |
SecurityAPI | GetRule | Get /api/latest/projects/{projectKey}/secret-scanning/rules/{id} | Get a project secret scanning rule |
SecurityAPI | GetRule1 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules/{id} | Get a repository secret scanning rule |
SecurityAPI | GetRule2 | Get /api/latest/secret-scanning/rules/{id} | Get a global secret scanning rule |
SecurityAPI | Search1 | Get /api/latest/projects/{projectKey}/secret-scanning/rules | Find project secret scanning rules |
SecurityAPI | Search2 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/allowlist | Find repository secret scanning allowlist rules |
SecurityAPI | Search3 | Get /api/latest/projects/{projectKey}/repos/{repositorySlug}/secret-scanning/rules | Find repository secret scanning rules |
SecurityAPI | Search4 | Get /api/latest/secret-scanning/rules | Find global secret scanning rules |
SecurityAPI | SearchAllowlistRule | Get /api/latest/projects/{projectKey}/secret-scanning/allowlist | Find project secret scanning allowlist rules |
SystemMaintenanceAPI | CancelExportJob | Post /api/latest/migration/exports/{jobId}/cancel | Cancel export job |
SystemMaintenanceAPI | CancelImportJob | Post /api/latest/migration/imports/{jobId}/cancel | Cancel import job |
SystemMaintenanceAPI | CancelMeshMigrationJob | Post /api/latest/migration/mesh/{jobId}/cancel | Cancel Mesh migration job |
SystemMaintenanceAPI | ClearDefaultBranch | Delete /api/latest/admin/default-branch | Clear default branch |
SystemMaintenanceAPI | ClearSenderAddress | Delete /api/latest/admin/mail-server/sender-address | Update mail configuration |
SystemMaintenanceAPI | Connectivity | Get /api/latest/admin/git/mesh/diagnostics/connectivity | Generate Mesh connectivity report |
SystemMaintenanceAPI | CreateHookScript | Post /api/latest/hook-scripts | Create a new hook script |
SystemMaintenanceAPI | Delete2 | Delete /api/latest/admin/git/mesh/nodes/{id} | Delete Mesh node |
SystemMaintenanceAPI | Delete6 | Delete /api/latest/admin/rate-limit/settings/users/{userSlug} | Delete user specific rate limit settings |
SystemMaintenanceAPI | DeleteAvatar | Delete /api/latest/users/{userSlug}/avatar.png | Delete user avatar |
SystemMaintenanceAPI | DeleteBanner | Delete /api/latest/admin/banner | Delete announcement banner |
SystemMaintenanceAPI | DeleteHookScript | Delete /api/latest/hook-scripts/{scriptId} | Delete a hook script. |
SystemMaintenanceAPI | DeleteMailConfig | Delete /api/latest/admin/mail-server | Delete mail configuration |
SystemMaintenanceAPI | DismissRetentionConfigReviewNotification | Delete /audit/latest/notification-settings/retention-config-review | Dismiss retention config notification |
SystemMaintenanceAPI | Get2 | Get /api/latest/admin/license | Get license details |
SystemMaintenanceAPI | Get4 | Get /api/latest/admin/rate-limit/settings/users/{userSlug} | Get user specific rate limit settings |
SystemMaintenanceAPI | GetActiveMeshMigrationSummary | Get /api/latest/migration/mesh/summary | Get summary for Mesh migration job |
SystemMaintenanceAPI | GetAllMeshMigrationSummaries | Get /api/latest/migration/mesh/summaries | Get all Mesh migration job summaries |
SystemMaintenanceAPI | GetAllRateLimitSettings | Get /api/latest/admin/rate-limit/settings/users | Get rate limit settings for user |
SystemMaintenanceAPI | GetAllRegisteredMeshNodes | Get /api/latest/admin/git/mesh/nodes | Get all registered Mesh nodes |
SystemMaintenanceAPI | GetApplicationProperties | Get /api/latest/application-properties | Get application properties |
SystemMaintenanceAPI | GetBanner | Get /api/latest/admin/banner | Get announcement banner |
SystemMaintenanceAPI | GetControlPlanePublicKey | Get /api/latest/admin/git/mesh/config/control-plane.pem | Get the control plane PEM |
SystemMaintenanceAPI | GetDefaultBranch | Get /api/latest/admin/default-branch | Get the default branch |
SystemMaintenanceAPI | GetExportJob | Get /api/latest/migration/exports/{jobId} | Get export job details |
SystemMaintenanceAPI | GetExportJobMessages | Get /api/latest/migration/exports/{jobId}/messages | Get job messages |
SystemMaintenanceAPI | GetGlobalSettings | Get /admin | Get global SSH key settings |
SystemMaintenanceAPI | GetHistory | Get /api/latest/admin/rate-limit/history | Get rate limit history |
SystemMaintenanceAPI | GetHookScript | Get /api/latest/hook-scripts/{scriptId} | Get a hook script |
SystemMaintenanceAPI | GetImportJob | Get /api/latest/migration/imports/{jobId} | Get import job status |
SystemMaintenanceAPI | GetImportJobMessages | Get /api/latest/migration/imports/{jobId}/messages | Get import job messages |
SystemMaintenanceAPI | GetInformation | Get /api/latest/admin/cluster | Get cluster node information |
SystemMaintenanceAPI | GetLabel | Get /api/latest/labels/{labelName} | Get label |
SystemMaintenanceAPI | GetLabelables | Get /api/latest/labels/{labelName}/labeled | Get labelables for label |
SystemMaintenanceAPI | GetLabels | Get /api/latest/labels | Get all labels |
SystemMaintenanceAPI | GetLevel | Get /api/latest/logs/logger/{loggerName} | Get current log level |
SystemMaintenanceAPI | GetMailConfig | Get /api/latest/admin/mail-server | Get mail configuration |
SystemMaintenanceAPI | GetMeshMigrationJob | Get /api/latest/migration/mesh/{jobId} | Get Mesh migration job details |
SystemMaintenanceAPI | GetMeshMigrationJobMessages | Get /api/latest/migration/mesh/{jobId}/messages | Get Mesh migration job messages |
SystemMaintenanceAPI | GetMeshMigrationJobSummary | Get /api/latest/migration/mesh/{jobId}/summary | Get Mesh migration job summary |
SystemMaintenanceAPI | GetRegisteredMeshNodeById | Get /api/latest/admin/git/mesh/nodes/{id} | Get Mesh node |
SystemMaintenanceAPI | GetRepositoryArchivePolicy | Get /policies/latest/admin/repos/archive | Get repository archive policy |
SystemMaintenanceAPI | GetRepositoryDeletePolicy | Get /policies/latest/admin/repos/delete | Get repository delete policy |
SystemMaintenanceAPI | GetRootLevel | Get /api/latest/logs/rootLogger | Get root log level |
SystemMaintenanceAPI | GetSenderAddress | Get /api/latest/admin/mail-server/sender-address | Get server mail address |
SystemMaintenanceAPI | GetSettings2 | Get /api/latest/admin/rate-limit/settings | Get rate limit settings |
SystemMaintenanceAPI | GetSupportZip | Get /api/latest/admin/git/mesh/support-zips/{id} | Get support zip for node |
SystemMaintenanceAPI | GetSupportZips | Get /api/latest/admin/git/mesh/support-zips | Get support zips for all Mesh nodes |
SystemMaintenanceAPI | GetSupportedKeyTypes | Get /admin/supported-key-types | Get supported SSH key algorithms and lengths |
SystemMaintenanceAPI | GetUser | Get /api/latest/users/{userSlug} | Get user |
SystemMaintenanceAPI | GetUserSettings | Get /api/latest/users/{userSlug}/settings | Get user settings |
SystemMaintenanceAPI | GetUsers2 | Get /api/latest/users | Get all users |
SystemMaintenanceAPI | PreviewExport | Post /api/latest/migration/exports/preview | Preview export |
SystemMaintenanceAPI | PreviewMeshMigration | Post /api/latest/migration/mesh/preview | Preview Mesh migration |
SystemMaintenanceAPI | Read | Get /api/latest/hook-scripts/{scriptId}/content | Get hook script content |
SystemMaintenanceAPI | RegisterNewMeshNode | Post /api/latest/admin/git/mesh/nodes | Register new Mesh node |
SystemMaintenanceAPI | SearchMeshMigrationRepos | Get /api/latest/migration/mesh/repos | Find repositories by Mesh migration state |
SystemMaintenanceAPI | Set | Post /api/latest/admin/rate-limit/settings/users | Set rate limit settings for users |
SystemMaintenanceAPI | Set1 | Put /api/latest/admin/rate-limit/settings/users/{userSlug} | Set rate limit settings for user |
SystemMaintenanceAPI | SetBanner | Put /api/latest/admin/banner | Update/Set announcement banner |
SystemMaintenanceAPI | SetDefaultBranch | Put /api/latest/admin/default-branch | Update/Set default branch |
SystemMaintenanceAPI | SetLevel | Put /api/latest/logs/logger/{loggerName}/{levelName} | Set log level |
SystemMaintenanceAPI | SetMailConfig | Put /api/latest/admin/mail-server | Update mail configuration |
SystemMaintenanceAPI | SetRepositoryArchivePolicy | Put /policies/latest/admin/repos/archive | Update repository archive policy |
SystemMaintenanceAPI | SetRepositoryDeletePolicy | Put /policies/latest/admin/repos/delete | Update the repository delete policy |
SystemMaintenanceAPI | SetRootLevel | Put /api/latest/logs/rootLogger/{levelName} | Set root log level |
SystemMaintenanceAPI | SetSenderAddress | Put /api/latest/admin/mail-server/sender-address | Update server mail address |
SystemMaintenanceAPI | SetSettings2 | Put /api/latest/admin/rate-limit/settings | Set rate limit |
SystemMaintenanceAPI | StartExport | Post /api/latest/migration/exports | Start export job |
SystemMaintenanceAPI | StartImport | Post /api/latest/migration/imports | Start import job |
SystemMaintenanceAPI | StartMeshMigration | Post /api/latest/migration/mesh | Start Mesh migration job |
SystemMaintenanceAPI | UpdateGlobalSettings | Put /admin | Update global SSH key settings |
SystemMaintenanceAPI | UpdateHookScript | Put /api/latest/hook-scripts/{scriptId} | Update a hook script |
SystemMaintenanceAPI | UpdateLicense | Post /api/latest/admin/license | Update license |
SystemMaintenanceAPI | UpdateMeshNode | Put /api/latest/admin/git/mesh/nodes/{id} | Update Mesh node |
SystemMaintenanceAPI | UpdateSettings | Post /api/latest/users/{userSlug}/settings | Update user settings |
SystemMaintenanceAPI | UpdateUserDetails1 | Put /api/latest/users | Update user details |
SystemMaintenanceAPI | UpdateUserPassword1 | Put /api/latest/users/credentials | Set password |
SystemMaintenanceAPI | UploadAvatar1 | Post /api/latest/users/{userSlug}/avatar.png | Update user avatar |
Documentation For Models
- AddSshKeyRequest
- AdminPasswordUpdate
- ApplicationUser
- Context
- Credentials
- EnrichedRepository
- EnrichedRepositoryProperties
- EntityHolderRestPullRequestAutoMergeRequest
- EntityHolderRestPullRequestAutoMergeRequestEntity
- EntityHolderRestPullRequestDeclineRequest
- EntityHolderRestPullRequestDeclineRequestEntity
- EntityHolderRestPullRequestReopenRequest
- EntityHolderRestPullRequestReopenRequestEntity
- ExampleFiles
- ExampleJsonLastModifiedCallback
- ExamplePreviewMigration
- ExamplePutMultipartFormData
- ExampleRequirements
- ExampleSettings
- ExampleSettingsMap
- ExampleSocketAddress
- ExampleStatus
- FilePart
- FindByCommit200Response
- FindUsersInGroup200Response
- GetActivities200Response
- GetAll200Response
- GetAllAccessTokens200Response
- GetAllAccessTokens401Response
- GetAllMeshMigrationSummaries200Response
- GetAllRateLimitSettings200Response
- GetAllReposForProject200Response
- GetBranches200Response
- GetBuildStatus200Response
- GetChanges1200Response
- GetComments200Response
- GetCommits200Response
- GetCommitsByIssueKey200Response
- GetConfigurations200Response
- GetExportJobMessages200Response
- GetGroups1200Response
- GetGroups200Response
- GetGroupsWithAnyPermission200Response
- GetHistory200Response
- GetKeysForUser200Response
- GetLabelables200Response
- GetLabels200Response
- GetLikers200Response
- GetPageOfRequiredBuildsMergeChecks200Response
- GetProjects200Response
- GetPullRequestSuggestions200Response
- GetPullRequests1200Response
- GetRefChangeActivity200Response
- GetRepoSyncStatus200Response
- GetReports200Response
- GetRepositoriesRecentlyAccessed200Response
- GetRepositoryHooks1200Response
- GetRestrictions1200Response
- GetReviewerGroups1200Response
- GetSshKeys200Response
- GetSshKeysForProject200Response
- GetTags200Response
- GetUsersWithAnyPermission1200Response
- Group
- GroupAndUsers
- GroupPickerContext
- ListMirrors200Response
- ListParticipants200Response
- ListRequests200Response
- ListUpstreamServers200Response
- RepositoryHookDetails
- RestAccessToken
- RestAccessTokenRequest
- RestAggregateRejectCounter
- RestAnalyticsSettings
- RestAnnouncementBanner
- RestApplicationProperties
- RestApplicationUser
- RestApplicationUserWithPermissions
- RestApplySuggestionRequest
- RestApplySuggestionRequestCommentVersion
- RestApplySuggestionRequestPullRequestVersion
- RestApplySuggestionRequestSuggestionIndex
- RestAttachmentMetadata
- RestAuthenticationRequest
- RestAutoDeclineSettings
- RestAutoDeclineSettingsRequest
- RestAutoDeclineSettingsScope
- RestBearerTokenCredentials
- RestBitbucketLicense
- RestBitbucketLicenseStatus
- RestBranch
- RestBranchCreateRequest
- RestBranchDeleteRequest
- RestBuildCapabilities
- RestBuildStats
- RestBuildStatus
- RestBuildStatusSetRequest
- RestBuildStatusSetRequestTestResults
- RestBuildStatusTestResults
- RestBulkAddInsightAnnotationRequest
- RestBulkUserRateLimitSettingsUpdateRequest
- RestBulkUserRateLimitSettingsUpdateRequestSettings
- RestChange
- RestChangeConflict
- RestChangeConflictTheirChange
- RestChangeset
- RestChangesetChanges
- RestChangesetFromCommit
- RestChangesetToCommit
- RestChangesetToCommitCommitter
- RestClusterInformation
- RestClusterInformationLocalNode
- RestClusterNode
- RestClusterNodeAddress
- RestComment
- RestCommentJiraIssue
- RestCommentThreadDiffAnchor
- RestCommentThreadDiffAnchorPath
- RestCommentThreadDiffAnchorPullRequest
- RestCommit
- RestCommitMessageSuggestion
- RestConflict
- RestConflictChange
- RestConnectivitySummary
- RestCreateBranchRequest
- RestCreateTagRequest
- RestDefaultBranch
- RestDefaultReviewersRequest
- RestDeployment
- RestDeploymentEnvironment
- RestDeploymentSetRequest
- RestDetailedGroup
- RestDetailedInvocation
- RestDetailedInvocationEventScope
- RestDetailedUser
- RestDiff
- RestDiffHunk
- RestDiffLine
- RestDiffSegment
- RestEmoticon
- RestEnhancedEntityLink
- RestErasedUser
- RestErrorMessage
- RestErrors
- RestExportRequest
- RestExportRequestRepositoriesRequest
- RestFarmSynchronizationRequest
- RestGitTagCreateRequest
- RestGpgKey
- RestGpgSubKey
- RestHookScript
- RestHookScriptConfig
- RestHookScriptConfigScript
- RestHookScriptTriggers
- RestImportRequest
- RestInsightAnnotation
- RestInsightAnnotationsResponse
- RestInsightReport
- RestInsightReportData
- RestJiraIssue
- RestJob
- RestJobMessage
- RestJobProgress
- RestLabel
- RestLabelable
- RestLogLevel
- RestMailConfiguration
- RestMarkup
- RestMeshConnectivityReport
- RestMeshMigrationRequest
- RestMeshMigrationSummary
- RestMeshNode
- RestMigrationRepository
- RestMinimalCommit
- RestMinimalRef
- RestMirrorHashes
- RestMirrorRepositorySynchronizationStatus
- RestMirrorRepositorySynchronizationStatusHashes
- RestMirrorServer
- RestMirrorUpgradeRequest
- RestMirroredRepository
- RestMirroredRepositoryDescriptor
- RestMirroredRepositoryDescriptorMirrorServer
- RestMirroringRequest
- RestNamedLink
- RestNode
- RestNodeConnectivityReport
- RestNodeConnectivityReportNode
- RestNodeConnectivitySummary
- RestNodeConnectivitySummarySummary
- RestPageRestChange
- RestPath
- RestPermitted
- RestPermittedGroup
- RestPermittedGroupGroup
- RestPermittedUser
- RestPerson
- RestProgress
- RestProject
- RestProjectSettingsRestriction
- RestProjectSettingsRestrictionRequest
- RestProperties
- RestPullRequest
- RestPullRequestActivity
- RestPullRequestAssignParticipantRoleRequest
- RestPullRequestAssignParticipantRoleRequestUser
- RestPullRequestAssignStatusRequest
- RestPullRequestAutoMergeRequest
- RestPullRequestCommitMessageTemplate
- RestPullRequestCondition
- RestPullRequestConditionScope
- RestPullRequestDeclineRequest
- RestPullRequestDeleteRequest
- RestPullRequestFinishReviewRequest
- RestPullRequestFromRef
- RestPullRequestFromRefRepository
- RestPullRequestFromRefRepositoryOrigin
- RestPullRequestFromRefRepositoryProject
- RestPullRequestMergeConfig
- RestPullRequestMergeConfigCommitMessageTemplate
- RestPullRequestMergeConfigDefaultStrategy
- RestPullRequestMergeRequest
- RestPullRequestMergeStrategy
- RestPullRequestMergeability
- RestPullRequestParticipant
- RestPullRequestParticipantUser
- RestPullRequestRebaseRequest
- RestPullRequestRebaseResult
- RestPullRequestRebaseResultRefChange
- RestPullRequestRebaseResultRefChangeRef
- RestPullRequestRebaseability
- RestPullRequestRef
- RestPullRequestReopenRequest
- RestPullRequestSettings
- RestPullRequestSettingsMergeConfig
- RestPullRequestSuggestion
- RestPushRefChange
- RestRateLimitSettings
- RestRawAccessToken
- RestRefChange
- RestRefMatcher
- RestRefMatcherType
- RestRefRestriction
- RestRefSyncQueue
- RestRefSyncRequest
- RestRefSyncStatus
- RestRefSyncStatusOrphanedRefs
- RestRejectedRef
- RestRepositoriesExportRequest
- RestRepository
- RestRepositoryHook
- RestRepositoryHookVeto
- RestRepositoryMirrorEvent
- RestRepositoryPolicy
- RestRepositoryPullRequestSettings
- RestRepositoryPullRequestSettingsRequiredSuccessfulBuilds
- RestRepositoryRefChangeActivity
- RestRepositoryRefChangeActivityRefChange
- RestRepositorySelector
- RestRequiredBuildCondition
- RestRequiredBuildConditionRefMatcher
- RestRequiredBuildConditionSetRequest
- RestRestrictionRequest
- RestRestrictionRequestScope
- RestReviewerGroup
- RestScope
- RestScopesExample
- RestSecretScanningAllowlistRule
- RestSecretScanningAllowlistRuleSetRequest
- RestSecretScanningRule
- RestSecretScanningRuleScope
- RestSecretScanningRuleSetRequest
- RestSetInsightReportRequest
- RestSingleAddInsightAnnotationRequest
- RestSshAccessKey
- RestSshAccessKeyKey
- RestSshAccessKeyLocations
- RestSshCredentials
- RestSshKey
- RestSshKeySettings
- RestSshKeySettingsMaxExpiryDays
- RestSshKeyTypeRestriction
- RestSshKeyTypeRestrictionMinKeyLength
- RestSshSettings
- RestSyncProgress
- RestTag
- RestTestResults
- RestTokenBucketSettings
- RestUpstreamServer
- RestUpstreamSettings
- RestUserDirectory
- RestUserRateLimitSettings
- RestUserRateLimitSettingsUpdateRequest
- RestUserReaction
- RestUserReactionComment
- RestUserReactionCommentParent
- RestUserReactionCommentParentAnchor
- RestUserReactionCommentParentThreadResolver
- RestUserReactionEmoticon
- RestUsernamePasswordCredentials
- RestWebhook
- RestWebhookCredentials
- RestWebhookScope
- RevokeManyRequest
- Search2200Response
- Search3200Response
- SearchMeshMigrationRepos200Response
- SetBannerRequest
- SetDefaultBranchRequest
- SetMailConfigRequest
- SimpleSshKeyFingerprint
- StartMeshMigrationRequest
- StartMeshMigrationRequestMaxBytesPerSecond
- StreamDiff1200Response
- StreamFiles1200Response
- UpdatePullRequestCondition1Request
- UpdatePullRequestCondition1RequestSourceMatcher
- UpdatePullRequestCondition1RequestSourceMatcherType
- UserAndGroups
- UserPasswordUpdate
- UserPickerContext
- UserRename
- UserUpdate
Documentation For Authorization
Authentication schemes defined for the API:
basic
- Type: HTTP basic authentication
Example
auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
UserName: "username",
Password: "password",
})
r, err := client.Service.Operation(auth, args)
Documentation for Utility Methods
Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:
PtrBool
PtrInt
PtrInt32
PtrInt64
PtrFloat
PtrFloat32
PtrFloat64
PtrString
PtrTime
Author
Documentation ¶
There is no documentation for this package.