How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Atlassian Pullrequests API

The Pullrequests API from Atlassian — 23 operation(s) for pullrequests.

Atlassian Pullrequests API is one of 183 APIs that Atlassian publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 17 JSON Schema definitions.

Tagged areas include Pull Requests. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 17 JSON Schemas.

This API exposes 36 operations across 23 paths, and defines 34 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, https://api.bitbucket.org/2.0.

36 operations 23 paths 34 schemas 6 DELETE18 GET8 POST4 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Server
https://api.bitbucket.org/2.0
Authentication
HTTP Basic, OAuth 2.0, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

Atlassian Pullrequests API declares 3 security schemes for authenticating requests. It accepts HTTP basic authentication (basic). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 24 scopes. An API key is passed in the header as Authorization (api_key).

  • basic — Basic HTTP Authentication as per [RFC-2617](https://tools.ietf.org/html/rfc2617) (Digest not supported). Note that Basic Auth is available only with username a…
  • oauth2 — OAuth 2 as per [RFC-6749](https://tools.ietf.org/html/rfc6749).
  • api_key — API Keys can be used as Basic HTTP Authentication credentials and provide a substitute for the account's actual username and password. API Keys are only availa…

Paths & Operations 36

Across 23 paths, the API surfaces 36 operations — 6 DELETE, 18 GET, 8 POST, 4 PUT. Each is listed below with its method, path, parameters, and response codes.

Pullrequests 36
GET
/pullrequests/{selected_user}
Atlassian List Pull Requests For A User
atlassianListPullRequestsForAUser 2 params → 200404
GET
/repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests
Atlassian List Pull Requests That Contain A Commit
atlassianGetpullrequestsforcommit 5 params → 200202404
GET
/repositories/{workspace}/{repo_slug}/default-reviewers
Atlassian List Default Reviewers
atlassianListDefaultReviewers 2 params → 200403
DELETE
/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}
Atlassian Remove A User From The Default Reviewers
atlassianRemoveAUserFromTheDefaultReviewers 3 params → 204403404
GET
/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}
Atlassian Get A Default Reviewer
atlassianGetADefaultReviewer 3 params → 200403404
PUT
/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}
Atlassian Add A User To The Default Reviewers
atlassianAddAUserToTheDefaultReviewers 3 params → 200400403404
GET
/repositories/{workspace}/{repo_slug}/effective-default-reviewers
Atlassian List Effective Default Reviewers
atlassianListEffectiveDefaultReviewers 2 params → 200403
GET
/repositories/{workspace}/{repo_slug}/pullrequests
Atlassian List Pull Requests
atlassianListPullRequests 3 params → 200401404
POST
/repositories/{workspace}/{repo_slug}/pullrequests
Atlassian Create A Pull Request
atlassianCreateAPullRequest 2 params body → 201400401
GET
/repositories/{workspace}/{repo_slug}/pullrequests/activity
Atlassian List A Pull Request Activity Log
atlassianListAPullRequestActivityLog 2 params → 200401404
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}
Atlassian Get A Pull Request
atlassianGetAPullRequest 3 params → 200401404
PUT
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}
Atlassian Update A Pull Request
atlassianUpdateAPullRequest 3 params body → 200400401404
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity
Atlassian List A Pull Request Activity Log
atlassianListAPullRequestActivityLog 3 params → 200401404
DELETE
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve
Atlassian Unapprove A Pull Request
atlassianUnapproveAPullRequest 3 params → 204400401404
POST
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve
Atlassian Approve A Pull Request
atlassianApproveAPullRequest 3 params → 200401404
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments
Atlassian List Comments On A Pull Request
atlassianListCommentsOnAPullRequest 3 params → 200403404
POST
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments
Atlassian Create A Comment On A Pull Request
atlassianCreateACommentOnAPullRequest 3 params body → 201403404
DELETE
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}
Atlassian Delete A Comment On A Pull Request
atlassianDeleteACommentOnAPullRequest 4 params → 204403404
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}
Atlassian Get A Comment On A Pull Request
atlassianGetACommentOnAPullRequest 4 params → 200403404
PUT
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}
Atlassian Update A Comment On A Pull Request
atlassianUpdateACommentOnAPullRequest 4 params body → 200403404
DELETE
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}/resolve
Atlassian Reopen A Comment Thread
atlassianReopenACommentThread 4 params → 204403404
POST
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}/resolve
Atlassian Resolve A Comment Thread
atlassianResolveACommentThread 4 params → 200403404409
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/commits
Atlassian List Commits On A Pull Request
atlassianListCommitsOnAPullRequest 3 params → 200403404
POST
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/decline
Atlassian Decline A Pull Request
atlassianDeclineAPullRequest 3 params → 200555
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diff
Atlassian List Changes In A Pull Request
atlassianListChangesInAPullRequest 3 params → 302
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat
Atlassian Get The Diff Stat For A Pull Request
atlassianGetTheDiffStatForAPullRequest 3 params → 302
POST
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge
Atlassian Merge A Pull Request
atlassianMergeAPullRequest 4 params body → 200202555
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id}
Atlassian Get The Merge Task Status For A Pull Request
atlassianGetTheMergeTaskStatusForAPullRequest 4 params → 200400403
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/patch
Atlassian Get The Patch For A Pull Request
atlassianGetThePatchForAPullRequest 3 params → 302
DELETE
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes
Atlassian Remove Change Request For A Pull Request
atlassianRemoveChangeRequestForAPullRequest 3 params → 204400401404
POST
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes
Atlassian Request Changes For A Pull Request
atlassianRequestChangesForAPullRequest 3 params → 200400401404
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks
Atlassian List Tasks On A Pull Request
atlassianListTasksOnAPullRequest 6 params → 200400403404
POST
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks
Atlassian Create A Task On A Pull Request
atlassianCreateATaskOnAPullRequest 3 params body → 201400403404
DELETE
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id}
Atlassian Delete A Task On A Pull Request
atlassianDeleteATaskOnAPullRequest 4 params → 204403404
GET
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id}
Atlassian Get A Task On A Pull Request
atlassianGetATaskOnAPullRequest 4 params → 200403404
PUT
/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id}
Atlassian Update A Task On A Pull Request
atlassianUpdateATaskOnAPullRequest 4 params body → 200400403404

Schemas 34

The contract defines 34 schemas that model the data the API accepts and returns. The most detailed are task (9 properties), paginated_pullrequests (6 properties), paginated_accounts (6 properties), paginated_default_reviewer_and_type (6 properties). Each schema is shown below with its type and property counts.

default_reviewer_and_type
object
Object containing a user that is a default reviewer and the type of reviewer
3 properties 1 required
repository
ref
object
A ref object, representing a branch or tag in a repository.
4 properties 1 required
A_pullrequest_task_create
object
A pullrequest task create
3 properties 1 required
paginated_default_reviewer_and_type
object
A paginated list of default reviewers with reviewer type.
6 properties
comment
paginated_pullrequest_comments
object
A paginated list of pullrequest comments.
6 properties
account_links
object
Links related to an Account.
1 property
author
error
object
Base type for most resource objects. It defines the common type element that identifies an object's type. It also identifies the element as Swagger's discrimin…
2 properties 1 required
pullrequest
base_commit
pullrequest_merge_parameters
object
The metadata that describes a pull request merge.
4 properties 1 required
pullrequest_comment
user_links
participant
paginated_pullrequests
object
A paginated list of pullrequests.
6 properties
project
commit
pullrequest_endpoint
object
3 properties
task
object
A task object.
9 properties 5 required
paginated_accounts
object
A paginated list of accounts.
6 properties
A_pullrequest_comment_task
link
object
A link to a resource related to this object.
2 properties
branch
A_pull_request_task
team
account
comment_resolution
object
The resolution object for a Comment.
3 properties 1 required
A_pullrequest_task_update
object
A pullrequest task update
2 properties
object
object
Base type for most resource objects. It defines the common type element that identifies an object's type. It also identifies the element as Swagger's discrimin…
1 property 1 required
user
team_links
paginated_tasks
object
A paginated list of tasks.
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

atlassian-pullrequests-api-openapi.yml Raw ↑

Other APIs Atlassian publishes across the network.

Atlassian Jira Software Backlog API
Atlassian Jira Software Board API
Atlassian Jira Software Epic API
Atlassian Jira Software Sprint API
Atlassian Jira Software Development Information API
Atlassian Jira Software Feature Flags API
Atlassian Jira Software Deployments API
Atlassian Jira Software Builds API
Atlassian Jira Software Remote Links API
Atlassian Jira Software Security Information API
Atlassian Jira Service Management Customer API
Atlassian Jira Service Management Info API
Where this information came from

This is an independent, third-party profile of Atlassian Pullrequests API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.