UNPKG

@atlassian/bitbucket-server

Version:

Bitbucket Server API client for Browser and Node.js

153 lines (152 loc) 4.15 kB
{ "/rest/api/1.0/application-properties": { "get": { "api": "getApplicationProperties" } }, "/rest/api/1.0/markup/preview": { "post": { "api": "preview" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}": { "get": { "repos": "getRepository" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/branches": { "get": { "repos": "getBranches" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/branches/default": { "get": { "repos": "getDefaultBranch" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/commits": { "get": { "repos": "getCommits" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/pull-requests": { "get": { "commits": "getPullRequests" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/participants": { "get": { "repos": "search" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests": { "get": { "repos": "getPullRequests" }, "post": { "repos": "createPullRequest" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}": { "get": { "pullRequests": "get" }, "put": { "pullRequests": "update" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/activities": { "get": { "pullRequests": "getActivities" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/approve": { "post": { "pullRequests": "approve" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/changes": { "get": { "pullRequests": "streamChanges" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments": { "get": { "pullRequests": "getComments" }, "post": { "pullRequests": "createComment" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/comments/{commentId}": { "get": { "comments": "getComment" }, "put": { "comments": "updateComment" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/commits": { "get": { "pullRequests": "getCommits" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/decline": { "post": { "pullRequests": "decline" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/merge": { "get": { "pullRequests": "canMerge" }, "post": { "pullRequests": "merge" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants": { "get": { "pullRequests": "listParticipants" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/participants/{userSlug}": { "put": { "participants": "updateStatus" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/reopen": { "post": { "pullRequests": "reopen" } }, "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/tasks/count": { "get": { "pullRequests": "getTaskCount" } }, "/rest/api/1.0/projects/{projectKey}/settings/pull-requests/{scmId}": { "get": { "pullRequests": "getPullRequestSettings" } }, "/rest/api/1.0/users": { "get": { "api": "getUsers" } }, "/rest/api/1.0/users/{userSlug}": { "get": { "api": "getUser" } }, "/rest/branch-utils/1.0/projects/{projectKey}/repos/{repositorySlug}/branchmodel": { "get": { "repos": "getBranchModel" } }, "/rest/default-reviewers/1.0/projects/{projectKey}/repos/{repositorySlug}/reviewers": { "get": { "repos": "getDefaultReviewers" } } }