bitbucket-swagger-client

0.0.1 • Public • Published

bitbucket_api

BitbucketApi - JavaScript client for bitbucket_api 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. This SDK is automatically generated by the OpenAPI Generator project:

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install bitbucket_api --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your bitbucket_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

git

If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var BitbucketApi = require('bitbucket_api');
 
var defaultClient = BitbucketApi.ApiClient.instance;
// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY"
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['Authorization'] = "Token"
// Configure HTTP basic authorization: basic
var basic = defaultClient.authentications['basic'];
basic.username = 'YOUR USERNAME'
basic.password = 'YOUR PASSWORD'
// Configure OAuth2 access token for authorization: oauth2
var oauth2 = defaultClient.authentications['oauth2'];
oauth2.accessToken = "YOUR ACCESS TOKEN"
 
var api = new BitbucketApi.AddonApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addonDelete(callback);
 

Documentation for API Endpoints

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

Class Method HTTP request Description
BitbucketApi.AddonApi addonDelete DELETE /addon
BitbucketApi.AddonApi addonLinkersGet GET /addon/linkers
BitbucketApi.AddonApi addonLinkersLinkerKeyGet GET /addon/linkers/{linker_key}
BitbucketApi.AddonApi addonLinkersLinkerKeyValuesDelete DELETE /addon/linkers/{linker_key}/values
BitbucketApi.AddonApi addonLinkersLinkerKeyValuesDelete_0 DELETE /addon/linkers/{linker_key}/values/
BitbucketApi.AddonApi addonLinkersLinkerKeyValuesGet GET /addon/linkers/{linker_key}/values
BitbucketApi.AddonApi addonLinkersLinkerKeyValuesGet_0 GET /addon/linkers/{linker_key}/values/
BitbucketApi.AddonApi addonLinkersLinkerKeyValuesPost POST /addon/linkers/{linker_key}/values
BitbucketApi.AddonApi addonLinkersLinkerKeyValuesPut PUT /addon/linkers/{linker_key}/values
BitbucketApi.AddonApi addonPut PUT /addon
BitbucketApi.AddonApi addonUsersTargetUserEventsEventKeyPost POST /addon/users/{target_user}/events/{event_key}
BitbucketApi.BranchingModelApi repositoriesUsernameRepoSlugBranchingModelGet GET /repositories/{username}/{repo_slug}/branching-model
BitbucketApi.BranchingModelApi repositoriesUsernameRepoSlugBranchingModelSettingsGet GET /repositories/{username}/{repo_slug}/branching-model/settings
BitbucketApi.BranchingModelApi repositoriesUsernameRepoSlugBranchingModelSettingsPut PUT /repositories/{username}/{repo_slug}/branching-model/settings
BitbucketApi.BranchrestrictionsApi repositoriesUsernameRepoSlugBranchRestrictionsGet GET /repositories/{username}/{repo_slug}/branch-restrictions
BitbucketApi.BranchrestrictionsApi repositoriesUsernameRepoSlugBranchRestrictionsIdDelete DELETE /repositories/{username}/{repo_slug}/branch-restrictions/{id}
BitbucketApi.BranchrestrictionsApi repositoriesUsernameRepoSlugBranchRestrictionsIdGet GET /repositories/{username}/{repo_slug}/branch-restrictions/{id}
BitbucketApi.BranchrestrictionsApi repositoriesUsernameRepoSlugBranchRestrictionsIdPut PUT /repositories/{username}/{repo_slug}/branch-restrictions/{id}
BitbucketApi.BranchrestrictionsApi repositoriesUsernameRepoSlugBranchRestrictionsPost POST /repositories/{username}/{repo_slug}/branch-restrictions
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitNodeApproveDelete DELETE /repositories/{username}/{repo_slug}/commit/{node}/approve
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitNodeApprovePost POST /repositories/{username}/{repo_slug}/commit/{node}/approve
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitNodeCommentsCommentIdGet GET /repositories/{username}/{repo_slug}/commit/{node}/comments/{comment_id}
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitNodeCommentsGet GET /repositories/{username}/{repo_slug}/commit/{node}/comments
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitNodeCommentsPost POST /repositories/{username}/{repo_slug}/commit/{node}/comments
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitNodeGet GET /repositories/{username}/{repo_slug}/commit/{node}
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitsGet GET /repositories/{username}/{repo_slug}/commits
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitsPost POST /repositories/{username}/{repo_slug}/commits
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitsRevisionGet GET /repositories/{username}/{repo_slug}/commits/{revision}
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugCommitsRevisionPost POST /repositories/{username}/{repo_slug}/commits/{revision}
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugDiffSpecGet GET /repositories/{username}/{repo_slug}/diff/{spec}
BitbucketApi.CommitsApi repositoriesUsernameRepoSlugPatchSpecGet GET /repositories/{username}/{repo_slug}/patch/{spec}
BitbucketApi.CommitstatusesApi repositoriesUsernameRepoSlugCommitNodeStatusesBuildKeyGet GET /repositories/{username}/{repo_slug}/commit/{node}/statuses/build/{key}
BitbucketApi.CommitstatusesApi repositoriesUsernameRepoSlugCommitNodeStatusesBuildKeyPut PUT /repositories/{username}/{repo_slug}/commit/{node}/statuses/build/{key}
BitbucketApi.CommitstatusesApi repositoriesUsernameRepoSlugCommitNodeStatusesBuildPost POST /repositories/{username}/{repo_slug}/commit/{node}/statuses/build
BitbucketApi.CommitstatusesApi repositoriesUsernameRepoSlugCommitNodeStatusesGet GET /repositories/{username}/{repo_slug}/commit/{node}/statuses
BitbucketApi.CommitstatusesApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdStatusesGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/statuses
BitbucketApi.DefaultApi repositoriesUsernameRepoSlugDiffstatSpecGet GET /repositories/{username}/{repo_slug}/diffstat/{spec}
BitbucketApi.DefaultApi repositoriesUsernameRepoSlugIssuesExportPost POST /repositories/{username}/{repo_slug}/issues/export
BitbucketApi.DefaultApi repositoriesUsernameRepoSlugIssuesExportRepoNameIssuesTaskIdZipGet GET /repositories/{username}/{repo_slug}/issues/export/{repo_name}-issues-{task_id}.zip
BitbucketApi.DefaultApi repositoriesUsernameRepoSlugIssuesImportGet GET /repositories/{username}/{repo_slug}/issues/import
BitbucketApi.DefaultApi repositoriesUsernameRepoSlugIssuesImportPost POST /repositories/{username}/{repo_slug}/issues/import
BitbucketApi.DefaultApi repositoriesWorkspaceRepoSlugPipelinesPipelineUuidStepsStepUuidLogsLogUuidGet GET /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid}
BitbucketApi.DefaultApi repositoriesWorkspaceRepoSlugPipelinesPipelineUuidStepsStepUuidTestReportsGet GET /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports
BitbucketApi.DefaultApi repositoriesWorkspaceRepoSlugPipelinesPipelineUuidStepsStepUuidTestReportsTestCasesGet GET /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases
BitbucketApi.DefaultApi repositoriesWorkspaceRepoSlugPipelinesPipelineUuidStepsStepUuidTestReportsTestCasesTestCaseUuidTestCaseReasonsGet GET /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases/{test_case_uuid}/test_case_reasons
BitbucketApi.DefaultApi teamsUsernamePermissionsGet GET /teams/{username}/permissions
BitbucketApi.DefaultApi teamsUsernamePermissionsRepositoriesGet GET /teams/{username}/permissions/repositories
BitbucketApi.DefaultApi teamsUsernamePermissionsRepositoriesRepoSlugGet GET /teams/{username}/permissions/repositories/{repo_slug}
BitbucketApi.DefaultApi userPermissionsTeamsGet GET /user/permissions/teams
BitbucketApi.DeployApi repositoriesUsernameRepoSlugDeployKeysGet GET /repositories/{username}/{repo_slug}/deploy-keys
BitbucketApi.DeployApi repositoriesUsernameRepoSlugDeployKeysKeyIdDelete DELETE /repositories/{username}/{repo_slug}/deploy-keys/{key_id}
BitbucketApi.DeployApi repositoriesUsernameRepoSlugDeployKeysKeyIdGet GET /repositories/{username}/{repo_slug}/deploy-keys/{key_id}
BitbucketApi.DeployApi repositoriesUsernameRepoSlugDeployKeysKeyIdPut PUT /repositories/{username}/{repo_slug}/deploy-keys/{key_id}
BitbucketApi.DeployApi repositoriesUsernameRepoSlugDeployKeysPost POST /repositories/{username}/{repo_slug}/deploy-keys
BitbucketApi.DeploymentsApi createEnvironment POST /repositories/{workspace}/{repo_slug}/environments/
BitbucketApi.DeploymentsApi deleteEnvironmentForRepository DELETE /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}
BitbucketApi.DeploymentsApi getDeploymentForRepository GET /repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid}
BitbucketApi.DeploymentsApi getDeploymentsForRepository GET /repositories/{workspace}/{repo_slug}/deployments/
BitbucketApi.DeploymentsApi getEnvironmentForRepository GET /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}
BitbucketApi.DeploymentsApi getEnvironmentsForRepository GET /repositories/{workspace}/{repo_slug}/environments/
BitbucketApi.DeploymentsApi updateEnvironmentForRepository POST /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes/
BitbucketApi.DownloadsApi repositoriesUsernameRepoSlugDownloadsFilenameDelete DELETE /repositories/{username}/{repo_slug}/downloads/{filename}
BitbucketApi.DownloadsApi repositoriesUsernameRepoSlugDownloadsFilenameGet GET /repositories/{username}/{repo_slug}/downloads/{filename}
BitbucketApi.DownloadsApi repositoriesUsernameRepoSlugDownloadsGet GET /repositories/{username}/{repo_slug}/downloads
BitbucketApi.DownloadsApi repositoriesUsernameRepoSlugDownloadsPost POST /repositories/{username}/{repo_slug}/downloads
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugComponentsComponentIdGet GET /repositories/{username}/{repo_slug}/components/{component_id}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugComponentsGet GET /repositories/{username}/{repo_slug}/components
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesGet GET /repositories/{username}/{repo_slug}/issues
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdAttachmentsGet GET /repositories/{username}/{repo_slug}/issues/{issue_id}/attachments
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdAttachmentsPathDelete DELETE /repositories/{username}/{repo_slug}/issues/{issue_id}/attachments/{path}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdAttachmentsPathGet GET /repositories/{username}/{repo_slug}/issues/{issue_id}/attachments/{path}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdAttachmentsPost POST /repositories/{username}/{repo_slug}/issues/{issue_id}/attachments
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdChangesChangeIdGet GET /repositories/{username}/{repo_slug}/issues/{issue_id}/changes/{change_id}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdChangesGet GET /repositories/{username}/{repo_slug}/issues/{issue_id}/changes
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdChangesPost POST /repositories/{username}/{repo_slug}/issues/{issue_id}/changes
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdCommentsCommentIdDelete DELETE /repositories/{username}/{repo_slug}/issues/{issue_id}/comments/{comment_id}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdCommentsCommentIdGet GET /repositories/{username}/{repo_slug}/issues/{issue_id}/comments/{comment_id}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdCommentsCommentIdPut PUT /repositories/{username}/{repo_slug}/issues/{issue_id}/comments/{comment_id}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdCommentsGet GET /repositories/{username}/{repo_slug}/issues/{issue_id}/comments
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdCommentsPost POST /repositories/{username}/{repo_slug}/issues/{issue_id}/comments
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdDelete DELETE /repositories/{username}/{repo_slug}/issues/{issue_id}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdGet GET /repositories/{username}/{repo_slug}/issues/{issue_id}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdPut PUT /repositories/{username}/{repo_slug}/issues/{issue_id}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdVoteDelete DELETE /repositories/{username}/{repo_slug}/issues/{issue_id}/vote
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdVoteGet GET /repositories/{username}/{repo_slug}/issues/{issue_id}/vote
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdVotePut PUT /repositories/{username}/{repo_slug}/issues/{issue_id}/vote
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdWatchDelete DELETE /repositories/{username}/{repo_slug}/issues/{issue_id}/watch
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdWatchGet GET /repositories/{username}/{repo_slug}/issues/{issue_id}/watch
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesIssueIdWatchPut PUT /repositories/{username}/{repo_slug}/issues/{issue_id}/watch
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugIssuesPost POST /repositories/{username}/{repo_slug}/issues
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugMilestonesGet GET /repositories/{username}/{repo_slug}/milestones
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugMilestonesMilestoneIdGet GET /repositories/{username}/{repo_slug}/milestones/{milestone_id}
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugVersionsGet GET /repositories/{username}/{repo_slug}/versions
BitbucketApi.IssueTrackerApi repositoriesUsernameRepoSlugVersionsVersionIdGet GET /repositories/{username}/{repo_slug}/versions/{version_id}
BitbucketApi.PipelinesApi createDeploymentVariable POST /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables
BitbucketApi.PipelinesApi createPipelineForRepository POST /repositories/{workspace}/{repo_slug}/pipelines/
BitbucketApi.PipelinesApi createPipelineVariableForTeam POST /teams/{username}/pipelines_config/variables/
BitbucketApi.PipelinesApi createPipelineVariableForUser POST /users/{username}/pipelines_config/variables/
BitbucketApi.PipelinesApi createRepositoryPipelineKnownHost POST /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/
BitbucketApi.PipelinesApi createRepositoryPipelineSchedule POST /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/
BitbucketApi.PipelinesApi createRepositoryPipelineVariable POST /repositories/{workspace}/{repo_slug}/pipelines_config/variables/
BitbucketApi.PipelinesApi deleteDeploymentVariable DELETE /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid}
BitbucketApi.PipelinesApi deletePipelineVariableForTeam DELETE /teams/{username}/pipelines_config/variables/{variable_uuid}
BitbucketApi.PipelinesApi deletePipelineVariableForUser DELETE /users/{username}/pipelines_config/variables/{variable_uuid}
BitbucketApi.PipelinesApi deleteRepositoryPipelineKeyPair DELETE /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair
BitbucketApi.PipelinesApi deleteRepositoryPipelineKnownHost DELETE /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid}
BitbucketApi.PipelinesApi deleteRepositoryPipelineSchedule DELETE /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}
BitbucketApi.PipelinesApi deleteRepositoryPipelineVariable DELETE /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid}
BitbucketApi.PipelinesApi getDeploymentVariables GET /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables
BitbucketApi.PipelinesApi getPipelineForRepository GET /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}
BitbucketApi.PipelinesApi getPipelineStepForRepository GET /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}
BitbucketApi.PipelinesApi getPipelineStepLogForRepository GET /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log
BitbucketApi.PipelinesApi getPipelineStepsForRepository GET /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/
BitbucketApi.PipelinesApi getPipelineVariableForTeam GET /teams/{username}/pipelines_config/variables/{variable_uuid}
BitbucketApi.PipelinesApi getPipelineVariableForUser GET /users/{username}/pipelines_config/variables/{variable_uuid}
BitbucketApi.PipelinesApi getPipelineVariablesForTeam GET /teams/{username}/pipelines_config/variables/
BitbucketApi.PipelinesApi getPipelineVariablesForUser GET /users/{username}/pipelines_config/variables/
BitbucketApi.PipelinesApi getPipelinesForRepository GET /repositories/{workspace}/{repo_slug}/pipelines/
BitbucketApi.PipelinesApi getRepositoryPipelineConfig GET /repositories/{workspace}/{repo_slug}/pipelines_config
BitbucketApi.PipelinesApi getRepositoryPipelineKnownHost GET /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid}
BitbucketApi.PipelinesApi getRepositoryPipelineKnownHosts GET /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/
BitbucketApi.PipelinesApi getRepositoryPipelineSchedule GET /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}
BitbucketApi.PipelinesApi getRepositoryPipelineScheduleExecutions GET /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}/executions/
BitbucketApi.PipelinesApi getRepositoryPipelineSchedules GET /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/
BitbucketApi.PipelinesApi getRepositoryPipelineSshKeyPair GET /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair
BitbucketApi.PipelinesApi getRepositoryPipelineVariable GET /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid}
BitbucketApi.PipelinesApi getRepositoryPipelineVariables GET /repositories/{workspace}/{repo_slug}/pipelines_config/variables/
BitbucketApi.PipelinesApi stopPipeline POST /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/stopPipeline
BitbucketApi.PipelinesApi updateDeploymentVariable PUT /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid}
BitbucketApi.PipelinesApi updatePipelineVariableForTeam PUT /teams/{username}/pipelines_config/variables/{variable_uuid}
BitbucketApi.PipelinesApi updatePipelineVariableForUser PUT /users/{username}/pipelines_config/variables/{variable_uuid}
BitbucketApi.PipelinesApi updateRepositoryBuildNumber PUT /repositories/{workspace}/{repo_slug}/pipelines_config/build_number
BitbucketApi.PipelinesApi updateRepositoryPipelineConfig PUT /repositories/{workspace}/{repo_slug}/pipelines_config
BitbucketApi.PipelinesApi updateRepositoryPipelineKeyPair PUT /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair
BitbucketApi.PipelinesApi updateRepositoryPipelineKnownHost PUT /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid}
BitbucketApi.PipelinesApi updateRepositoryPipelineSchedule PUT /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}
BitbucketApi.PipelinesApi updateRepositoryPipelineVariable PUT /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid}
BitbucketApi.ProjectsApi teamsUsernameProjectsGet GET /teams/{username}/projects/
BitbucketApi.ProjectsApi teamsUsernameProjectsPost POST /teams/{username}/projects/
BitbucketApi.ProjectsApi teamsUsernameProjectsProjectKeyDelete DELETE /teams/{username}/projects/{project_key}
BitbucketApi.ProjectsApi teamsUsernameProjectsProjectKeyGet GET /teams/{username}/projects/{project_key}
BitbucketApi.ProjectsApi teamsUsernameProjectsProjectKeyPut PUT /teams/{username}/projects/{project_key}
BitbucketApi.PropertiesApi deleteCommitHostedPropertyValue DELETE /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi deletePullRequestHostedPropertyValue DELETE /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi deleteRepositoryHostedPropertyValue DELETE /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi deleteUserHostedPropertyValue DELETE /users/{username}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi getCommitHostedPropertyValue GET /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi getPullRequestHostedPropertyValue GET /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi getRepositoryHostedPropertyValue GET /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi retrieveUserHostedPropertyValue GET /users/{username}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi updateCommitHostedPropertyValue PUT /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi updatePullRequestHostedPropertyValue PUT /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi updateRepositoryHostedPropertyValue PUT /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}
BitbucketApi.PropertiesApi updateUserHostedPropertyValue PUT /users/{username}/properties/{app_key}/{property_name}
BitbucketApi.PullrequestsApi getPullrequestsForCommit GET /repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests Returns a paginated list of all pull requests as part of which this commit was reviewed.
BitbucketApi.PullrequestsApi pullrequestsTargetUserGet GET /pullrequests/{target_user}
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugDefaultReviewersGet GET /repositories/{username}/{repo_slug}/default-reviewers
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugDefaultReviewersTargetUsernameDelete DELETE /repositories/{username}/{repo_slug}/default-reviewers/{target_username}
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugDefaultReviewersTargetUsernameGet GET /repositories/{username}/{repo_slug}/default-reviewers/{target_username}
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugDefaultReviewersTargetUsernamePut PUT /repositories/{username}/{repo_slug}/default-reviewers/{target_username}
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsActivityGet GET /repositories/{username}/{repo_slug}/pullrequests/activity
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsGet GET /repositories/{username}/{repo_slug}/pullrequests
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPost POST /repositories/{username}/{repo_slug}/pullrequests
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdActivityGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/activity
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdApproveDelete DELETE /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/approve
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdApprovePost POST /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/approve
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdCommentsCommentIdDelete DELETE /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdCommentsCommentIdGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdCommentsCommentIdPut PUT /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdCommentsGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/comments
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdCommentsPost POST /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/comments
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdCommitsGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/commits
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdDeclinePost POST /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/decline
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdDiffGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/diff
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdDiffstatGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/diffstat
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdMergePost POST /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/merge
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdPatchGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/patch
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdPut PUT /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}
BitbucketApi.PullrequestsApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdStatusesGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/statuses
BitbucketApi.RefsApi repositoriesUsernameRepoSlugRefsBranchesGet GET /repositories/{username}/{repo_slug}/refs/branches
BitbucketApi.RefsApi repositoriesUsernameRepoSlugRefsBranchesNameDelete DELETE /repositories/{username}/{repo_slug}/refs/branches/{name}
BitbucketApi.RefsApi repositoriesUsernameRepoSlugRefsBranchesNameGet GET /repositories/{username}/{repo_slug}/refs/branches/{name}
BitbucketApi.RefsApi repositoriesUsernameRepoSlugRefsBranchesPost POST /repositories/{username}/{repo_slug}/refs/branches
BitbucketApi.RefsApi repositoriesUsernameRepoSlugRefsGet GET /repositories/{username}/{repo_slug}/refs
BitbucketApi.RefsApi repositoriesUsernameRepoSlugRefsTagsGet GET /repositories/{username}/{repo_slug}/refs/tags
BitbucketApi.RefsApi repositoriesUsernameRepoSlugRefsTagsNameDelete DELETE /repositories/{username}/{repo_slug}/refs/tags/{name}
BitbucketApi.RefsApi repositoriesUsernameRepoSlugRefsTagsNameGet GET /repositories/{username}/{repo_slug}/refs/tags/{name}
BitbucketApi.RefsApi repositoriesUsernameRepoSlugRefsTagsPost POST /repositories/{username}/{repo_slug}/refs/tags
BitbucketApi.RepositoriesApi repositoriesGet GET /repositories
BitbucketApi.RepositoriesApi repositoriesUsernameGet GET /repositories/{username}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugCommitNodeStatusesBuildKeyGet GET /repositories/{username}/{repo_slug}/commit/{node}/statuses/build/{key}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugCommitNodeStatusesBuildKeyPut PUT /repositories/{username}/{repo_slug}/commit/{node}/statuses/build/{key}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugCommitNodeStatusesBuildPost POST /repositories/{username}/{repo_slug}/commit/{node}/statuses/build
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugCommitNodeStatusesGet GET /repositories/{username}/{repo_slug}/commit/{node}/statuses
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugDelete DELETE /repositories/{username}/{repo_slug}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugFilehistoryNodePathGet GET /repositories/{username}/{repo_slug}/filehistory/{node}/{path}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugForksGet GET /repositories/{username}/{repo_slug}/forks
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugForksPost POST /repositories/{username}/{repo_slug}/forks
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugGet GET /repositories/{username}/{repo_slug}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugHooksGet GET /repositories/{username}/{repo_slug}/hooks
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugHooksPost POST /repositories/{username}/{repo_slug}/hooks
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugHooksUidDelete DELETE /repositories/{username}/{repo_slug}/hooks/{uid}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugHooksUidGet GET /repositories/{username}/{repo_slug}/hooks/{uid}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugHooksUidPut PUT /repositories/{username}/{repo_slug}/hooks/{uid}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugPost POST /repositories/{username}/{repo_slug}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugPullrequestsPullRequestIdStatusesGet GET /repositories/{username}/{repo_slug}/pullrequests/{pull_request_id}/statuses
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugPut PUT /repositories/{username}/{repo_slug}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugSrcGet GET /repositories/{username}/{repo_slug}/src
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugSrcNodePathGet GET /repositories/{username}/{repo_slug}/src/{node}/{path}
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugSrcPost POST /repositories/{username}/{repo_slug}/src
BitbucketApi.RepositoriesApi repositoriesUsernameRepoSlugWatchersGet GET /repositories/{username}/{repo_slug}/watchers
BitbucketApi.RepositoriesApi userPermissionsRepositoriesGet GET /user/permissions/repositories
BitbucketApi.SearchApi searchAccount GET /teams/{username}/search/code Search for code in the repositories of the specified team
BitbucketApi.SearchApi searchAccount_0 GET /users/{username}/search/code Search for code in the repositories of the specified user
BitbucketApi.SnippetApi snippetsUsernameEncodedIdFilesPathGet GET /snippets/{username}/{encoded_id}/files/{path}
BitbucketApi.SnippetsApi snippetsGet GET /snippets
BitbucketApi.SnippetsApi snippetsPost POST /snippets
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdCommentsCommentIdDelete DELETE /snippets/{username}/{encoded_id}/comments/{comment_id}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdCommentsCommentIdGet GET /snippets/{username}/{encoded_id}/comments/{comment_id}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdCommentsCommentIdPut PUT /snippets/{username}/{encoded_id}/comments/{comment_id}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdCommentsGet GET /snippets/{username}/{encoded_id}/comments
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdCommentsPost POST /snippets/{username}/{encoded_id}/comments
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdCommitsGet GET /snippets/{username}/{encoded_id}/commits
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdCommitsRevisionGet GET /snippets/{username}/{encoded_id}/commits/{revision}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdDelete DELETE /snippets/{username}/{encoded_id}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdGet GET /snippets/{username}/{encoded_id}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdNodeIdDelete DELETE /snippets/{username}/{encoded_id}/{node_id}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdNodeIdFilesPathGet GET /snippets/{username}/{encoded_id}/{node_id}/files/{path}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdNodeIdGet GET /snippets/{username}/{encoded_id}/{node_id}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdNodeIdPut PUT /snippets/{username}/{encoded_id}/{node_id}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdPut PUT /snippets/{username}/{encoded_id}
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdRevisionDiffGet GET /snippets/{username}/{encoded_id}/{revision}/diff
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdRevisionPatchGet GET /snippets/{username}/{encoded_id}/{revision}/patch
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdWatchDelete DELETE /snippets/{username}/{encoded_id}/watch
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdWatchGet GET /snippets/{username}/{encoded_id}/watch
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdWatchPut PUT /snippets/{username}/{encoded_id}/watch
BitbucketApi.SnippetsApi snippetsUsernameEncodedIdWatchersGet GET /snippets/{username}/{encoded_id}/watchers
BitbucketApi.SnippetsApi snippetsUsernameGet GET /snippets/{username}
BitbucketApi.SnippetsApi snippetsUsernamePost POST /snippets/{username}
BitbucketApi.SourceApi repositoriesUsernameRepoSlugFilehistoryNodePathGet GET /repositories/{username}/{repo_slug}/filehistory/{node}/{path}
BitbucketApi.SourceApi repositoriesUsernameRepoSlugSrcGet GET /repositories/{username}/{repo_slug}/src
BitbucketApi.SourceApi repositoriesUsernameRepoSlugSrcNodePathGet GET /repositories/{username}/{repo_slug}/src/{node}/{path}
BitbucketApi.SourceApi repositoriesUsernameRepoSlugSrcPost POST /repositories/{username}/{repo_slug}/src
BitbucketApi.SshApi usersUsernameSshKeysDelete DELETE /users/{username}/ssh-keys/
BitbucketApi.SshApi usersUsernameSshKeysGet GET /users/{username}/ssh-keys/
BitbucketApi.SshApi usersUsernameSshKeysGet_0 GET /users/{username}/ssh-keys
BitbucketApi.SshApi usersUsernameSshKeysPost POST /users/{username}/ssh-keys
BitbucketApi.SshApi usersUsernameSshKeysPut PUT /users/{username}/ssh-keys/
BitbucketApi.TeamsApi teamsGet GET /teams
BitbucketApi.TeamsApi teamsUsernameFollowersGet GET /teams/{username}/followers
BitbucketApi.TeamsApi teamsUsernameFollowingGet GET /teams/{username}/following
BitbucketApi.TeamsApi teamsUsernameGet GET /teams/{username}
BitbucketApi.TeamsApi teamsUsernameHooksGet GET /teams/{username}/hooks
BitbucketApi.TeamsApi teamsUsernameHooksPost POST /teams/{username}/hooks
BitbucketApi.TeamsApi teamsUsernameHooksUidDelete DELETE /teams/{username}/hooks/{uid}
BitbucketApi.TeamsApi teamsUsernameHooksUidGet GET /teams/{username}/hooks/{uid}
BitbucketApi.TeamsApi teamsUsernameHooksUidPut PUT /teams/{username}/hooks/{uid}
BitbucketApi.TeamsApi teamsUsernameMembersGet GET /teams/{username}/members
BitbucketApi.TeamsApi teamsUsernameRepositoriesGet GET /teams/{username}/repositories
BitbucketApi.TeamsApi usersUsernameMembersGet GET /users/{username}/members
BitbucketApi.TeamsApi usersUsernameRepositoriesGet GET /users/{username}/repositories
BitbucketApi.UsersApi teamsUsernameRepositoriesGet GET /teams/{username}/repositories
BitbucketApi.UsersApi userEmailsEmailGet GET /user/emails/{email}
BitbucketApi.UsersApi userEmailsGet GET /user/emails
BitbucketApi.UsersApi userGet GET /user
BitbucketApi.UsersApi usersUsernameFollowersGet GET /users/{username}/followers
BitbucketApi.UsersApi usersUsernameFollowingGet GET /users/{username}/following
BitbucketApi.UsersApi usersUsernameGet GET /users/{username}
BitbucketApi.UsersApi usersUsernameHooksGet GET /users/{username}/hooks
BitbucketApi.UsersApi usersUsernameHooksPost POST /users/{username}/hooks
BitbucketApi.UsersApi usersUsernameHooksUidDelete DELETE /users/{username}/hooks/{uid}
BitbucketApi.UsersApi usersUsernameHooksUidGet GET /users/{username}/hooks/{uid}
BitbucketApi.UsersApi usersUsernameHooksUidPut PUT /users/{username}/hooks/{uid}
BitbucketApi.UsersApi usersUsernameRepositoriesGet GET /users/{username}/repositories
BitbucketApi.WebhooksApi hookEventsGet GET /hook_events
BitbucketApi.WebhooksApi hookEventsSubjectTypeGet GET /hook_events/{subject_type}
BitbucketApi.WebhooksApi repositoriesUsernameRepoSlugHooksGet GET /repositories/{username}/{repo_slug}/hooks
BitbucketApi.WebhooksApi repositoriesUsernameRepoSlugHooksPost POST /repositories/{username}/{repo_slug}/hooks
BitbucketApi.WebhooksApi repositoriesUsernameRepoSlugHooksUidDelete DELETE /repositories/{username}/{repo_slug}/hooks/{uid}
BitbucketApi.WebhooksApi repositoriesUsernameRepoSlugHooksUidGet GET /repositories/{username}/{repo_slug}/hooks/{uid}
BitbucketApi.WebhooksApi repositoriesUsernameRepoSlugHooksUidPut PUT /repositories/{username}/{repo_slug}/hooks/{uid}
BitbucketApi.WebhooksApi teamsUsernameHooksGet GET /teams/{username}/hooks
BitbucketApi.WebhooksApi teamsUsernameHooksPost POST /teams/{username}/hooks
BitbucketApi.WebhooksApi teamsUsernameHooksUidDelete DELETE /teams/{username}/hooks/{uid}
BitbucketApi.WebhooksApi teamsUsernameHooksUidGet GET /teams/{username}/hooks/{uid}
BitbucketApi.WebhooksApi teamsUsernameHooksUidPut PUT /teams/{username}/hooks/{uid}
BitbucketApi.WebhooksApi usersUsernameHooksGet GET /users/{username}/hooks
BitbucketApi.WebhooksApi usersUsernameHooksPost POST /users/{username}/hooks
BitbucketApi.WebhooksApi usersUsernameHooksUidDelete DELETE /users/{username}/hooks/{uid}
BitbucketApi.WebhooksApi usersUsernameHooksUidGet GET /users/{username}/hooks/{uid}
BitbucketApi.WebhooksApi usersUsernameHooksUidPut PUT /users/{username}/hooks/{uid}

Documentation for Models

Documentation for Authorization

api_key

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

basic

  • Type: HTTP basic authentication

oauth2

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

Readme

Keywords

none

Package Sidebar

Install

npm i bitbucket-swagger-client

Weekly Downloads

0

Version

0.0.1

License

MPL-2.0

Unpacked Size

2.31 MB

Total Files

287

Last publish

Collaborators

  • mkg20001