Skip to content

DrFaust92/bitbucket-go-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for bitbucket

Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

Installation

Put the package under your project folder and add the following in import:

import "./bitbucket"

Documentation for API Endpoints

All URIs are relative to https://api.bitbucket.org/2.0

Class Method HTTP request Description
AddonApi AddonDelete Delete /addon Delete an app
AddonApi AddonLinkersGet Get /addon/linkers List linkers for an app
AddonApi AddonLinkersLinkerKeyGet Get /addon/linkers/{linker_key} Get a linker for an app
AddonApi AddonLinkersLinkerKeyValuesDelete Delete /addon/linkers/{linker_key}/values Delete all linker values
AddonApi AddonLinkersLinkerKeyValuesGet Get /addon/linkers/{linker_key}/values List linker values for a linker
AddonApi AddonLinkersLinkerKeyValuesPost Post /addon/linkers/{linker_key}/values Create a linker value
AddonApi AddonLinkersLinkerKeyValuesPut Put /addon/linkers/{linker_key}/values Update a linker value
AddonApi AddonLinkersLinkerKeyValuesValueIdDelete Delete /addon/linkers/{linker_key}/values/{value_id} Delete a linker value
AddonApi AddonLinkersLinkerKeyValuesValueIdGet Get /addon/linkers/{linker_key}/values/{value_id} Get a linker value
AddonApi AddonPut Put /addon Update an installed app
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsGet Get /repositories/{workspace}/{repo_slug}/branch-restrictions List branch restrictions
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsIdDelete Delete /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} Delete a branch restriction rule
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsIdGet Get /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} Get a branch restriction rule
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsIdPut Put /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} Update a branch restriction rule
BranchRestrictionsApi RepositoriesWorkspaceRepoSlugBranchRestrictionsPost Post /repositories/{workspace}/{repo_slug}/branch-restrictions Create a branch restriction rule
BranchingModelApi RepositoriesWorkspaceRepoSlugBranchingModelGet Get /repositories/{workspace}/{repo_slug}/branching-model Get the branching model for a repository
BranchingModelApi RepositoriesWorkspaceRepoSlugBranchingModelSettingsGet Get /repositories/{workspace}/{repo_slug}/branching-model/settings Get the branching model config for a repository
BranchingModelApi RepositoriesWorkspaceRepoSlugBranchingModelSettingsPut Put /repositories/{workspace}/{repo_slug}/branching-model/settings Update the branching model config for a repository
BranchingModelApi RepositoriesWorkspaceRepoSlugEffectiveBranchingModelGet Get /repositories/{workspace}/{repo_slug}/effective-branching-model Get the effective, or currently applied, branching model for a repository
BranchingModelApi WorkspacesWorkspaceProjectsProjectKeyBranchingModelGet Get /workspaces/{workspace}/projects/{project_key}/branching-model Get the branching model for a project
BranchingModelApi WorkspacesWorkspaceProjectsProjectKeyBranchingModelSettingsGet Get /workspaces/{workspace}/projects/{project_key}/branching-model/settings Get the branching model config for a project
BranchingModelApi WorkspacesWorkspaceProjectsProjectKeyBranchingModelSettingsPut Put /workspaces/{workspace}/projects/{project_key}/branching-model/settings Update the branching model config for a project
CommitStatusesApi RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyGet Get /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key} Get a build status for a commit
CommitStatusesApi RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildKeyPut Put /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key} Update a build status for a commit
CommitStatusesApi RepositoriesWorkspaceRepoSlugCommitCommitStatusesBuildPost Post /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build Create a build status for a commit
CommitStatusesApi RepositoriesWorkspaceRepoSlugCommitCommitStatusesGet Get /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses List commit statuses for a commit
CommitStatusesApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/statuses List commit statuses for a pull request
CommitsApi BulkCreateOrUpdateAnnotations Post /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations Bulk create or update annotations
CommitsApi CreateOrUpdateAnnotation Put /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Create or update an annotation
CommitsApi CreateOrUpdateReport Put /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Create or update a report
CommitsApi DeleteAnnotation Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Delete an annotation
CommitsApi DeleteReport Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Delete a report
CommitsApi GetAnnotation Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Get an annotation
CommitsApi GetAnnotationsForReport Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations List annotations
CommitsApi GetReport Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Get a report
CommitsApi GetReportsForCommit Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports List reports
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitApproveDelete Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/approve Unapprove a commit
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitApprovePost Post /repositories/{workspace}/{repo_slug}/commit/{commit}/approve Approve a commit
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdDelete Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Delete a commit comment
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdGet Get /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Get a commit comment
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitCommentsCommentIdPut Put /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Update a commit comment
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitCommentsGet Get /repositories/{workspace}/{repo_slug}/commit/{commit}/comments List a commit's comments
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitCommentsPost Post /repositories/{workspace}/{repo_slug}/commit/{commit}/comments Create comment for a commit
CommitsApi RepositoriesWorkspaceRepoSlugCommitCommitGet Get /repositories/{workspace}/{repo_slug}/commit/{commit} Get a commit
CommitsApi RepositoriesWorkspaceRepoSlugCommitsGet Get /repositories/{workspace}/{repo_slug}/commits List commits
CommitsApi RepositoriesWorkspaceRepoSlugCommitsPost Post /repositories/{workspace}/{repo_slug}/commits List commits with include/exclude
CommitsApi RepositoriesWorkspaceRepoSlugCommitsRevisionGet Get /repositories/{workspace}/{repo_slug}/commits/{revision} List commits for revision
CommitsApi RepositoriesWorkspaceRepoSlugCommitsRevisionPost Post /repositories/{workspace}/{repo_slug}/commits/{revision} List commits for revision using include/exclude
CommitsApi RepositoriesWorkspaceRepoSlugDiffSpecGet Get /repositories/{workspace}/{repo_slug}/diff/{spec} Compare two commits
CommitsApi RepositoriesWorkspaceRepoSlugDiffstatSpecGet Get /repositories/{workspace}/{repo_slug}/diffstat/{spec} Compare two commit diff stats
CommitsApi RepositoriesWorkspaceRepoSlugMergeBaseRevspecGet Get /repositories/{workspace}/{repo_slug}/merge-base/{revspec} Get the common ancestor between two commits
CommitsApi RepositoriesWorkspaceRepoSlugPatchSpecGet Get /repositories/{workspace}/{repo_slug}/patch/{spec} Get a patch for two commits
DeploymentsApi CreateEnvironment Post /repositories/{workspace}/{repo_slug}/environments Create an environment
DeploymentsApi DeleteEnvironmentForRepository Delete /repositories/{workspace}/{repo_slug}/environments/{environment_uuid} Delete an environment
DeploymentsApi GetDeploymentForRepository Get /repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid} Get a deployment
DeploymentsApi GetDeploymentsForRepository Get /repositories/{workspace}/{repo_slug}/deployments List deployments
DeploymentsApi GetEnvironmentForRepository Get /repositories/{workspace}/{repo_slug}/environments/{environment_uuid} Get an environment
DeploymentsApi GetEnvironmentsForRepository Get /repositories/{workspace}/{repo_slug}/environments List environments
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysGet Get /repositories/{workspace}/{repo_slug}/deploy-keys List repository deploy keys
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysKeyIdDelete Delete /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} Delete a repository deploy key
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysKeyIdGet Get /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} Get a repository deploy key
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysKeyIdPut Put /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} Update a repository deploy key
DeploymentsApi RepositoriesWorkspaceRepoSlugDeployKeysPost Post /repositories/{workspace}/{repo_slug}/deploy-keys Add a repository deploy key
DeploymentsApi UpdateEnvironmentForRepository Post /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes Update an environment
DeploymentsApi WorkspacesWorkspaceProjectsProjectKeyDeployKeysGet Get /workspaces/{workspace}/projects/{project_key}/deploy-keys List project deploy keys
DeploymentsApi WorkspacesWorkspaceProjectsProjectKeyDeployKeysKeyIdDelete Delete /workspaces/{workspace}/projects/{project_key}/deploy-keys/{key_id} Delete a deploy key from a project
DeploymentsApi WorkspacesWorkspaceProjectsProjectKeyDeployKeysKeyIdGet Get /workspaces/{workspace}/projects/{project_key}/deploy-keys/{key_id} Get a project deploy key
DeploymentsApi WorkspacesWorkspaceProjectsProjectKeyDeployKeysPost Post /workspaces/{workspace}/projects/{project_key}/deploy-keys Create a project deploy key
DownloadsApi RepositoriesWorkspaceRepoSlugDownloadsFilenameDelete Delete /repositories/{workspace}/{repo_slug}/downloads/{filename} Delete a download artifact
DownloadsApi RepositoriesWorkspaceRepoSlugDownloadsFilenameGet Get /repositories/{workspace}/{repo_slug}/downloads/{filename} Get a download artifact link
DownloadsApi RepositoriesWorkspaceRepoSlugDownloadsGet Get /repositories/{workspace}/{repo_slug}/downloads List download artifacts
DownloadsApi RepositoriesWorkspaceRepoSlugDownloadsPost Post /repositories/{workspace}/{repo_slug}/downloads Upload a download artifact
IssueTrackerApi RepositoriesWorkspaceRepoSlugComponentsComponentIdGet Get /repositories/{workspace}/{repo_slug}/components/{component_id} Get a component for issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugComponentsGet Get /repositories/{workspace}/{repo_slug}/components List components
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesExportPost Post /repositories/{workspace}/{repo_slug}/issues/export Export issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesExportRepoNameIssuesTaskIdZipGet Get /repositories/{workspace}/{repo_slug}/issues/export/{repo_name}-issues-{task_id}.zip Check issue export status
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesGet Get /repositories/{workspace}/{repo_slug}/issues List issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesImportGet Get /repositories/{workspace}/{repo_slug}/issues/import Check issue import status
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesImportPost Post /repositories/{workspace}/{repo_slug}/issues/import Import issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments List attachments for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments/{path} Delete an attachment for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPathGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments/{path} Get attachment for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdAttachmentsPost Post /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments Upload an attachment to an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesChangeIdGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes/{change_id} Get issue change object
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes List changes on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdChangesPost Post /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes Modify the state of an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} Delete a comment on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} Get a comment on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsCommentIdPut Put /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} Update a comment on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments List comments on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdCommentsPost Post /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments Create a comment on an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id} Delete an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id} Get an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdPut Put /repositories/{workspace}/{repo_slug}/issues/{issue_id} Update an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote Remove vote for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdVoteGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote Check if current user voted for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdVotePut Put /repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote Vote for an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchDelete Delete /repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch Stop watching an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchGet Get /repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch Check if current user is watching a issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesIssueIdWatchPut Put /repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch Watch an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugIssuesPost Post /repositories/{workspace}/{repo_slug}/issues Create an issue
IssueTrackerApi RepositoriesWorkspaceRepoSlugMilestonesGet Get /repositories/{workspace}/{repo_slug}/milestones List milestones
IssueTrackerApi RepositoriesWorkspaceRepoSlugMilestonesMilestoneIdGet Get /repositories/{workspace}/{repo_slug}/milestones/{milestone_id} Get a milestone
IssueTrackerApi RepositoriesWorkspaceRepoSlugVersionsGet Get /repositories/{workspace}/{repo_slug}/versions List defined versions for issues
IssueTrackerApi RepositoriesWorkspaceRepoSlugVersionsVersionIdGet Get /repositories/{workspace}/{repo_slug}/versions/{version_id} Get a defined version for issues
PipelinesApi CreateDeploymentVariable Post /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables Create a variable for an environment
PipelinesApi CreatePipelineForRepository Post /repositories/{workspace}/{repo_slug}/pipelines Run a pipeline
PipelinesApi CreatePipelineVariableForTeam Post /teams/{username}/pipelines_config/variables Create a variable for a user
PipelinesApi CreatePipelineVariableForUser Post /users/{selected_user}/pipelines_config/variables Create a variable for a user
PipelinesApi CreatePipelineVariableForWorkspace Post /workspaces/{workspace}/pipelines-config/variables Create a variable for a workspace
PipelinesApi CreateRepositoryPipelineKnownHost Post /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts Create a known host
PipelinesApi CreateRepositoryPipelineSchedule Post /repositories/{workspace}/{repo_slug}/pipelines_config/schedules Create a schedule
PipelinesApi CreateRepositoryPipelineVariable Post /repositories/{workspace}/{repo_slug}/pipelines_config/variables Create a variable for a repository
PipelinesApi DeleteDeploymentVariable Delete /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid} Delete a variable for an environment
PipelinesApi DeletePipelineVariableForTeam Delete /teams/{username}/pipelines_config/variables/{variable_uuid} Delete a variable for a team
PipelinesApi DeletePipelineVariableForUser Delete /users/{selected_user}/pipelines_config/variables/{variable_uuid} Delete a variable for a user
PipelinesApi DeletePipelineVariableForWorkspace Delete /workspaces/{workspace}/pipelines-config/variables/{variable_uuid} Delete a variable for a workspace
PipelinesApi DeleteRepositoryPipelineCache Delete /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid} Delete a cache
PipelinesApi DeleteRepositoryPipelineCaches Delete /repositories/{workspace}/{repo_slug}/pipelines-config/caches Delete caches
PipelinesApi DeleteRepositoryPipelineKeyPair Delete /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair Delete SSH key pair
PipelinesApi DeleteRepositoryPipelineKnownHost Delete /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid} Delete a known host
PipelinesApi DeleteRepositoryPipelineSchedule Delete /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} Delete a schedule
PipelinesApi DeleteRepositoryPipelineVariable Delete /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} Delete a variable for a repository
PipelinesApi GetDeploymentVariables Get /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables List variables for an environment
PipelinesApi GetOIDCConfiguration Get /workspaces/{workspace}/pipelines-config/identity/oidc/.well-known/openid-configuration Get OpenID configuration for OIDC in Pipelines
PipelinesApi GetOIDCKeys Get /workspaces/{workspace}/pipelines-config/identity/oidc/keys.json Get keys for OIDC in Pipelines
PipelinesApi GetPipelineContainerLog Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid} Get the logs for the build container or a service container for a given step of a pipeline.
PipelinesApi GetPipelineForRepository Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid} Get a pipeline
PipelinesApi GetPipelineStepForRepository Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid} Get a step of a pipeline
PipelinesApi GetPipelineStepLogForRepository Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log Get log file for a step
PipelinesApi GetPipelineStepsForRepository Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps List steps for a pipeline
PipelinesApi GetPipelineTestReportTestCaseReasons Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases/{test_case_uuid}/test_case_reasons Get test case reasons (output) for a given test case in a step of a pipeline.
PipelinesApi GetPipelineTestReportTestCases Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases Get test cases for a given step of a pipeline.
PipelinesApi GetPipelineTestReports Get /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports Get a summary of test reports for a given step of a pipeline.
PipelinesApi GetPipelineVariableForTeam Get /teams/{username}/pipelines_config/variables/{variable_uuid} Get a variable for a team
PipelinesApi GetPipelineVariableForUser Get /users/{selected_user}/pipelines_config/variables/{variable_uuid} Get a variable for a user
PipelinesApi GetPipelineVariableForWorkspace Get /workspaces/{workspace}/pipelines-config/variables/{variable_uuid} Get variable for a workspace
PipelinesApi GetPipelineVariablesForTeam Get /teams/{username}/pipelines_config/variables List variables for an account
PipelinesApi GetPipelineVariablesForUser Get /users/{selected_user}/pipelines_config/variables List variables for a user
PipelinesApi GetPipelineVariablesForWorkspace Get /workspaces/{workspace}/pipelines-config/variables List variables for a workspace
PipelinesApi GetPipelinesForRepository Get /repositories/{workspace}/{repo_slug}/pipelines List pipelines
PipelinesApi GetRepositoryPipelineCacheContentURI Get /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}/content-uri Get cache content URI
PipelinesApi GetRepositoryPipelineCaches Get /repositories/{workspace}/{repo_slug}/pipelines-config/caches List caches
PipelinesApi GetRepositoryPipelineConfig Get /repositories/{workspace}/{repo_slug}/pipelines_config Get configuration
PipelinesApi GetRepositoryPipelineKnownHost Get /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid} Get a known host
PipelinesApi GetRepositoryPipelineKnownHosts Get /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts List known hosts
PipelinesApi GetRepositoryPipelineSchedule Get /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} Get a schedule
PipelinesApi GetRepositoryPipelineScheduleExecutions Get /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}/executions List executions of a schedule
PipelinesApi GetRepositoryPipelineSchedules Get /repositories/{workspace}/{repo_slug}/pipelines_config/schedules List schedules
PipelinesApi GetRepositoryPipelineSshKeyPair Get /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair Get SSH key pair
PipelinesApi GetRepositoryPipelineVariable Get /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} Get a variable for a repository
PipelinesApi GetRepositoryPipelineVariables Get /repositories/{workspace}/{repo_slug}/pipelines_config/variables List variables for a repository
PipelinesApi StopPipeline Post /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/stopPipeline Stop a pipeline
PipelinesApi UpdateDeploymentVariable Put /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid} Update a variable for an environment
PipelinesApi UpdatePipelineVariableForTeam Put /teams/{username}/pipelines_config/variables/{variable_uuid} Update a variable for a team
PipelinesApi UpdatePipelineVariableForUser Put /users/{selected_user}/pipelines_config/variables/{variable_uuid} Update a variable for a user
PipelinesApi UpdatePipelineVariableForWorkspace Put /workspaces/{workspace}/pipelines-config/variables/{variable_uuid} Update variable for a workspace
PipelinesApi UpdateRepositoryBuildNumber Put /repositories/{workspace}/{repo_slug}/pipelines_config/build_number Update the next build number
PipelinesApi UpdateRepositoryPipelineConfig Put /repositories/{workspace}/{repo_slug}/pipelines_config Update configuration
PipelinesApi UpdateRepositoryPipelineKeyPair Put /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair Update SSH key pair
PipelinesApi UpdateRepositoryPipelineKnownHost Put /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid} Update a known host
PipelinesApi UpdateRepositoryPipelineSchedule Put /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} Update a schedule
PipelinesApi UpdateRepositoryPipelineVariable Put /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} Update a variable for a repository
ProjectsApi WorkspacesWorkspaceProjectsPost Post /workspaces/{workspace}/projects Create a project in a workspace
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyDefaultReviewersGet Get /workspaces/{workspace}/projects/{project_key}/default-reviewers List the default reviewers in a project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyDefaultReviewersSelectedUserDelete Delete /workspaces/{workspace}/projects/{project_key}/default-reviewers/{selected_user} Remove the specific user from the project's default reviewers
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyDefaultReviewersSelectedUserGet Get /workspaces/{workspace}/projects/{project_key}/default-reviewers/{selected_user} Get a default reviewer
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyDefaultReviewersSelectedUserPut Put /workspaces/{workspace}/projects/{project_key}/default-reviewers/{selected_user} Add the specific user as a default reviewer for the project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyDelete Delete /workspaces/{workspace}/projects/{project_key} Delete a project for a workspace
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyGet Get /workspaces/{workspace}/projects/{project_key} Get a project for a workspace
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPermissionsConfigGroupsGet Get /workspaces/{workspace}/projects/{project_key}/permissions-config/groups List explicit group permissions for a project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPermissionsConfigGroupsGroupSlugDelete Delete /workspaces/{workspace}/projects/{project_key}/permissions-config/groups/{group_slug} Delete an explicit group permission for a project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPermissionsConfigGroupsGroupSlugGet Get /workspaces/{workspace}/projects/{project_key}/permissions-config/groups/{group_slug} Get an explicit group permission for a project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPermissionsConfigGroupsGroupSlugPut Put /workspaces/{workspace}/projects/{project_key}/permissions-config/groups/{group_slug} Update an explicit group permission for a project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPermissionsConfigUsersGet Get /workspaces/{workspace}/projects/{project_key}/permissions-config/users List explicit user permissions for a project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPermissionsConfigUsersSelectedUserIdDelete Delete /workspaces/{workspace}/projects/{project_key}/permissions-config/users/{selected_user_id} Delete an explicit user permission for a project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPermissionsConfigUsersSelectedUserIdGet Get /workspaces/{workspace}/projects/{project_key}/permissions-config/users/{selected_user_id} Get an explicit user permission for a project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPermissionsConfigUsersSelectedUserIdPut Put /workspaces/{workspace}/projects/{project_key}/permissions-config/users/{selected_user_id} Update an explicit user permission for a project
ProjectsApi WorkspacesWorkspaceProjectsProjectKeyPut Put /workspaces/{workspace}/projects/{project_key} Update a project for a workspace
PropertiesApi DeleteCommitHostedPropertyValue Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} Delete a commit application property
PropertiesApi DeletePullRequestHostedPropertyValue Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} Delete a pull request application property
PropertiesApi DeleteRepositoryHostedPropertyValue Delete /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} Delete a repository application property
PropertiesApi DeleteUserHostedPropertyValue Delete /users/{selected_user}/properties/{app_key}/{property_name} Delete a user application property
PropertiesApi GetCommitHostedPropertyValue Get /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} Get a commit application property
PropertiesApi GetPullRequestHostedPropertyValue Get /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} Get a pull request application property
PropertiesApi GetRepositoryHostedPropertyValue Get /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} Get a repository application property
PropertiesApi RetrieveUserHostedPropertyValue Get /users/{selected_user}/properties/{app_key}/{property_name} Get a user application property
PropertiesApi UpdateCommitHostedPropertyValue Put /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} Update a commit application property
PropertiesApi UpdatePullRequestHostedPropertyValue Put /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} Update a pull request application property
PropertiesApi UpdateRepositoryHostedPropertyValue Put /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} Update a repository application property
PropertiesApi UpdateUserHostedPropertyValue Put /users/{selected_user}/properties/{app_key}/{property_name} Update a user application property
PullrequestsApi GetPullrequestsForCommit Get /repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests List pull requests that contain a commit
PullrequestsApi PullrequestsSelectedUserGet Get /pullrequests/{selected_user} List pull requests for a user
PullrequestsApi RepositoriesWorkspaceRepoSlugDefaultReviewersGet Get /repositories/{workspace}/{repo_slug}/default-reviewers List default reviewers
PullrequestsApi RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameDelete Delete /repositories/{workspace}/{repo_slug}/default-reviewers/{target_username} Remove a user from the default reviewers
PullrequestsApi RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernameGet Get /repositories/{workspace}/{repo_slug}/default-reviewers/{target_username} Get a default reviewer
PullrequestsApi RepositoriesWorkspaceRepoSlugDefaultReviewersTargetUsernamePut Put /repositories/{workspace}/{repo_slug}/default-reviewers/{target_username} Add a user to the default reviewers
PullrequestsApi RepositoriesWorkspaceRepoSlugEffectiveDefaultReviewersGet Get /repositories/{workspace}/{repo_slug}/effective-default-reviewers List effective default reviewers
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsActivityGet Get /repositories/{workspace}/{repo_slug}/pullrequests/activity List a pull request activity log
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsGet Get /repositories/{workspace}/{repo_slug}/pullrequests List pull requests
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPost Post /repositories/{workspace}/{repo_slug}/pullrequests Create a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdActivityGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity List a pull request activity log
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApproveDelete Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve Unapprove a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdApprovePost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve Approve a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdDelete Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} Delete a comment on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} Get a comment on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdPut Put /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} Update a comment on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdResolveDelete Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}/resolve Reopen a comment thread
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsCommentIdResolvePost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}/resolve Resolve a comment thread
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments List comments on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommentsPost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments Create a comment on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdCommitsGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/commits List commits on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDeclinePost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/decline Decline a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diff List changes in a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdDiffstatGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat Get the diff stat for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id} Get a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergePost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge Merge a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdMergeTaskStatusTaskIdGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id} Get the merge task status for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPatchGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/patch Get the patch for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdPut Put /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id} Update a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesDelete Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes Remove change request for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdRequestChangesPost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes Request changes for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdStatusesGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/statuses List commit statuses for a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdTasksGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks List tasks on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdTasksPost Post /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks Create a task on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdTasksTaskIdDelete Delete /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id} Delete a task on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdTasksTaskIdGet Get /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id} Get a task on a pull request
PullrequestsApi RepositoriesWorkspaceRepoSlugPullrequestsPullRequestIdTasksTaskIdPut Put /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id} Update a task on a pull request
RefsApi RepositoriesWorkspaceRepoSlugRefsBranchesGet Get /repositories/{workspace}/{repo_slug}/refs/branches List open branches
RefsApi RepositoriesWorkspaceRepoSlugRefsBranchesNameDelete Delete /repositories/{workspace}/{repo_slug}/refs/branches/{name} Delete a branch
RefsApi RepositoriesWorkspaceRepoSlugRefsBranchesNameGet Get /repositories/{workspace}/{repo_slug}/refs/branches/{name} Get a branch
RefsApi RepositoriesWorkspaceRepoSlugRefsBranchesPost Post /repositories/{workspace}/{repo_slug}/refs/branches Create a branch
RefsApi RepositoriesWorkspaceRepoSlugRefsGet Get /repositories/{workspace}/{repo_slug}/refs List branches and tags
RefsApi RepositoriesWorkspaceRepoSlugRefsTagsGet Get /repositories/{workspace}/{repo_slug}/refs/tags List tags
RefsApi RepositoriesWorkspaceRepoSlugRefsTagsNameDelete Delete /repositories/{workspace}/{repo_slug}/refs/tags/{name} Delete a tag
RefsApi RepositoriesWorkspaceRepoSlugRefsTagsNameGet Get /repositories/{workspace}/{repo_slug}/refs/tags/{name} Get a tag
RefsApi RepositoriesWorkspaceRepoSlugRefsTagsPost Post /repositories/{workspace}/{repo_slug}/refs/tags Create a tag
ReportsApi BulkCreateOrUpdateAnnotations Post /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations Bulk create or update annotations
ReportsApi CreateOrUpdateAnnotation Put /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Create or update an annotation
ReportsApi CreateOrUpdateReport Put /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Create or update a report
ReportsApi DeleteAnnotation Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Delete an annotation
ReportsApi DeleteReport Delete /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Delete a report
ReportsApi GetAnnotation Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Get an annotation
ReportsApi GetAnnotationsForReport Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations List annotations
ReportsApi GetReport Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Get a report
ReportsApi GetReportsForCommit Get /repositories/{workspace}/{repo_slug}/commit/{commit}/reports List reports
RepositoriesApi RepositoriesGet Get /repositories List public repositories
RepositoriesApi RepositoriesWorkspaceGet Get /repositories/{workspace} List repositories in a workspace
RepositoriesApi RepositoriesWorkspaceRepoSlugDelete Delete /repositories/{workspace}/{repo_slug} Delete a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet Get /repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path} List commits that modified a file
RepositoriesApi RepositoriesWorkspaceRepoSlugForksGet Get /repositories/{workspace}/{repo_slug}/forks List repository forks
RepositoriesApi RepositoriesWorkspaceRepoSlugForksPost Post /repositories/{workspace}/{repo_slug}/forks Fork a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugGet Get /repositories/{workspace}/{repo_slug} Get a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksGet Get /repositories/{workspace}/{repo_slug}/hooks List webhooks for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksPost Post /repositories/{workspace}/{repo_slug}/hooks Create a webhook for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksUidDelete Delete /repositories/{workspace}/{repo_slug}/hooks/{uid} Delete a webhook for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksUidGet Get /repositories/{workspace}/{repo_slug}/hooks/{uid} Get a webhook for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugHooksUidPut Put /repositories/{workspace}/{repo_slug}/hooks/{uid} Update a webhook for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugOverrideSettingsGet Get /repositories/{workspace}/{repo_slug}/override-settings Retrieve the inheritance state for repository settings
RepositoriesApi RepositoriesWorkspaceRepoSlugOverrideSettingsPut Put /repositories/{workspace}/{repo_slug}/override-settings Set the inheritance state for repository settings
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGet Get /repositories/{workspace}/{repo_slug}/permissions-config/groups List explicit group permissions for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugDelete Delete /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug} Delete an explicit group permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugGet Get /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug} Get an explicit group permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigGroupsGroupSlugPut Put /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug} Update an explicit group permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigUsersGet Get /repositories/{workspace}/{repo_slug}/permissions-config/users List explicit user permissions for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdDelete Delete /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id} Delete an explicit user permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdGet Get /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id} Get an explicit user permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPermissionsConfigUsersSelectedUserIdPut Put /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id} Update an explicit user permission for a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPost Post /repositories/{workspace}/{repo_slug} Create a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugPut Put /repositories/{workspace}/{repo_slug} Update a repository
RepositoriesApi RepositoriesWorkspaceRepoSlugSrcCommitPathGet Get /repositories/{workspace}/{repo_slug}/src/{commit}/{path} Get file or directory contents
RepositoriesApi RepositoriesWorkspaceRepoSlugSrcGet Get /repositories/{workspace}/{repo_slug}/src Get the root directory of the main branch
RepositoriesApi RepositoriesWorkspaceRepoSlugSrcPost Post /repositories/{workspace}/{repo_slug}/src Create a commit by uploading a file
RepositoriesApi RepositoriesWorkspaceRepoSlugWatchersGet Get /repositories/{workspace}/{repo_slug}/watchers List repositories watchers
RepositoriesApi UserPermissionsRepositoriesGet Get /user/permissions/repositories List repository permissions for a user
SearchApi SearchAccount Get /users/{selected_user}/search/code Search for code in a user's repositories
SearchApi SearchTeam Get /teams/{username}/search/code Search for code in a team's repositories
SearchApi SearchWorkspace Get /workspaces/{workspace}/search/code Search for code in a workspace
SnippetsApi SnippetsGet Get /snippets List snippets
SnippetsApi SnippetsPost Post /snippets Create a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsCommentIdDelete Delete /snippets/{workspace}/{encoded_id}/comments/{comment_id} Delete a comment on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsCommentIdGet Get /snippets/{workspace}/{encoded_id}/comments/{comment_id} Get a comment on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsCommentIdPut Put /snippets/{workspace}/{encoded_id}/comments/{comment_id} Update a comment on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsGet Get /snippets/{workspace}/{encoded_id}/comments List comments on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommentsPost Post /snippets/{workspace}/{encoded_id}/comments Create a comment on a snippet
SnippetsApi SnippetsWorkspaceEncodedIdCommitsGet Get /snippets/{workspace}/{encoded_id}/commits List snippet changes
SnippetsApi SnippetsWorkspaceEncodedIdCommitsRevisionGet Get /snippets/{workspace}/{encoded_id}/commits/{revision} Get a previous snippet change
SnippetsApi SnippetsWorkspaceEncodedIdDelete Delete /snippets/{workspace}/{encoded_id} Delete a snippet
SnippetsApi SnippetsWorkspaceEncodedIdFilesPathGet Get /snippets/{workspace}/{encoded_id}/files/{path} Get a snippet's raw file at HEAD
SnippetsApi SnippetsWorkspaceEncodedIdGet Get /snippets/{workspace}/{encoded_id} Get a snippet
SnippetsApi SnippetsWorkspaceEncodedIdNodeIdDelete Delete /snippets/{workspace}/{encoded_id}/{node_id} Delete a previous revision of a snippet
SnippetsApi SnippetsWorkspaceEncodedIdNodeIdFilesPathGet Get /snippets/{workspace}/{encoded_id}/{node_id}/files/{path} Get a snippet's raw file
SnippetsApi SnippetsWorkspaceEncodedIdNodeIdGet Get /snippets/{workspace}/{encoded_id}/{node_id} Get a previous revision of a snippet
SnippetsApi SnippetsWorkspaceEncodedIdNodeIdPut Put /snippets/{workspace}/{encoded_id}/{node_id} Update a previous revision of a snippet
SnippetsApi SnippetsWorkspaceEncodedIdPut Put /snippets/{workspace}/{encoded_id} Update a snippet
SnippetsApi SnippetsWorkspaceEncodedIdRevisionDiffGet Get /snippets/{workspace}/{encoded_id}/{revision}/diff Get snippet changes between versions
SnippetsApi SnippetsWorkspaceEncodedIdRevisionPatchGet Get /snippets/{workspace}/{encoded_id}/{revision}/patch Get snippet patch between versions
SnippetsApi SnippetsWorkspaceEncodedIdWatchDelete Delete /snippets/{workspace}/{encoded_id}/watch Stop watching a snippet
SnippetsApi SnippetsWorkspaceEncodedIdWatchGet Get /snippets/{workspace}/{encoded_id}/watch Check if the current user is watching a snippet
SnippetsApi SnippetsWorkspaceEncodedIdWatchPut Put /snippets/{workspace}/{encoded_id}/watch Watch a snippet
SnippetsApi SnippetsWorkspaceEncodedIdWatchersGet Get /snippets/{workspace}/{encoded_id}/watchers List users watching a snippet
SnippetsApi SnippetsWorkspaceGet Get /snippets/{workspace} List snippets in a workspace
SnippetsApi SnippetsWorkspacePost Post /snippets/{workspace} Create a snippet for a workspace
SourceApi RepositoriesWorkspaceRepoSlugFilehistoryCommitPathGet Get /repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path} List commits that modified a file
SourceApi RepositoriesWorkspaceRepoSlugSrcCommitPathGet Get /repositories/{workspace}/{repo_slug}/src/{commit}/{path} Get file or directory contents
SourceApi RepositoriesWorkspaceRepoSlugSrcGet Get /repositories/{workspace}/{repo_slug}/src Get the root directory of the main branch
SourceApi RepositoriesWorkspaceRepoSlugSrcPost Post /repositories/{workspace}/{repo_slug}/src Create a commit by uploading a file
SshApi UsersSelectedUserSshKeysGet Get /users/{selected_user}/ssh-keys List SSH keys
SshApi UsersSelectedUserSshKeysKeyIdDelete Delete /users/{selected_user}/ssh-keys/{key_id} Delete a SSH key
SshApi UsersSelectedUserSshKeysKeyIdGet Get /users/{selected_user}/ssh-keys/{key_id} Get a SSH key
SshApi UsersSelectedUserSshKeysKeyIdPut Put /users/{selected_user}/ssh-keys/{key_id} Update a SSH key
SshApi UsersSelectedUserSshKeysPost Post /users/{selected_user}/ssh-keys Add a new SSH key
UsersApi UserEmailsEmailGet Get /user/emails/{email} Get an email address for current user
UsersApi UserEmailsGet Get /user/emails List email addresses for current user
UsersApi UserGet Get /user Get current user
UsersApi UsersSelectedUserGet Get /users/{selected_user} Get a user
WebhooksApi HookEventsGet Get /hook_events Get a webhook resource
WebhooksApi HookEventsSubjectTypeGet Get /hook_events/{subject_type} List subscribable webhook types
WebhooksApi RepositoriesWorkspaceRepoSlugHooksGet Get /repositories/{workspace}/{repo_slug}/hooks List webhooks for a repository
WebhooksApi RepositoriesWorkspaceRepoSlugHooksPost Post /repositories/{workspace}/{repo_slug}/hooks Create a webhook for a repository
WebhooksApi RepositoriesWorkspaceRepoSlugHooksUidDelete Delete /repositories/{workspace}/{repo_slug}/hooks/{uid} Delete a webhook for a repository
WebhooksApi RepositoriesWorkspaceRepoSlugHooksUidGet Get /repositories/{workspace}/{repo_slug}/hooks/{uid} Get a webhook for a repository
WebhooksApi RepositoriesWorkspaceRepoSlugHooksUidPut Put /repositories/{workspace}/{repo_slug}/hooks/{uid} Update a webhook for a repository
WebhooksApi WorkspacesWorkspaceHooksGet Get /workspaces/{workspace}/hooks List webhooks for a workspace
WebhooksApi WorkspacesWorkspaceHooksPost Post /workspaces/{workspace}/hooks Create a webhook for a workspace
WebhooksApi WorkspacesWorkspaceHooksUidDelete Delete /workspaces/{workspace}/hooks/{uid} Delete a webhook for a workspace
WebhooksApi WorkspacesWorkspaceHooksUidGet Get /workspaces/{workspace}/hooks/{uid} Get a webhook for a workspace
WebhooksApi WorkspacesWorkspaceHooksUidPut Put /workspaces/{workspace}/hooks/{uid} Update a webhook for a workspace
WorkspacesApi UserPermissionsWorkspacesGet Get /user/permissions/workspaces List workspaces for the current user
WorkspacesApi WorkspacesGet Get /workspaces List workspaces for user
WorkspacesApi WorkspacesWorkspaceGet Get /workspaces/{workspace} Get a workspace
WorkspacesApi WorkspacesWorkspaceHooksGet Get /workspaces/{workspace}/hooks List webhooks for a workspace
WorkspacesApi WorkspacesWorkspaceHooksPost Post /workspaces/{workspace}/hooks Create a webhook for a workspace
WorkspacesApi WorkspacesWorkspaceHooksUidDelete Delete /workspaces/{workspace}/hooks/{uid} Delete a webhook for a workspace
WorkspacesApi WorkspacesWorkspaceHooksUidGet Get /workspaces/{workspace}/hooks/{uid} Get a webhook for a workspace
WorkspacesApi WorkspacesWorkspaceHooksUidPut Put /workspaces/{workspace}/hooks/{uid} Update a webhook for a workspace
WorkspacesApi WorkspacesWorkspaceMembersGet Get /workspaces/{workspace}/members List users in a workspace
WorkspacesApi WorkspacesWorkspaceMembersMemberGet Get /workspaces/{workspace}/members/{member} Get user membership for a workspace
WorkspacesApi WorkspacesWorkspacePermissionsGet Get /workspaces/{workspace}/permissions List user permissions in a workspace
WorkspacesApi WorkspacesWorkspacePermissionsRepositoriesGet Get /workspaces/{workspace}/permissions/repositories List all repository permissions for a workspace
WorkspacesApi WorkspacesWorkspacePermissionsRepositoriesRepoSlugGet Get /workspaces/{workspace}/permissions/repositories/{repo_slug} List a repository permissions for a workspace
WorkspacesApi WorkspacesWorkspaceProjectsGet Get /workspaces/{workspace}/projects List projects in a workspace
WorkspacesApi WorkspacesWorkspaceProjectsProjectKeyGet Get /workspaces/{workspace}/projects/{project_key} Get a project for a workspace

Documentation For Models

Documentation For Authorization

api_key

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
	Key: "APIKEY",
	Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

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)

oauth2

  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://bitbucket.org/site/oauth2/authorize
  • Scopes:
  • email: Read your account's primary email address
  • account: Read your account information
  • account:write: Read and modify your account information
  • team: Read your team membership information
  • team:write: Read and modify your team membership information
  • repository: Read your repositories
  • repository:write: Read and modify your repositories
  • repository:admin: Administer your repositories
  • repository:delete: Delete your repositories
  • project: Read your workspace's project settings and read repositories contained within your workspace's projects
  • project:admin: Read and modify settings for projects in your workspace
  • pipeline: Access your repositories' build pipelines
  • pipeline:write: Access and rerun your repositories' build pipelines
  • pipeline:variable: Access your repositories' build pipelines and configure their variables
  • runner: Access your workspaces/repositories' runners
  • runner:write: Access and edit your workspaces/repositories' runners
  • pullrequest: Read your repositories and their pull requests
  • pullrequest:write: Read and modify your repositories and their pull requests
  • webhook: Read and modify your repositories' webhooks
  • issue: Read your repositories' issues
  • issue:write: Read and modify your repositories' issues
  • snippet: Read your snippets
  • snippet:write: Read and modify your snippets
  • wiki: Read and modify your repositories' wikis

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Author

[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages