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

Bitbucket Projects API

Bitbucket Cloud projects make it easier for teams to focus ona goal, product, or process by organizing their repositories.

Bitbucket Projects API is one of 23 APIs that Bitbucket publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Project. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an AsyncAPI specification, and 8 JSON Schemas.

This API exposes 16 operations across 8 paths, and defines 19 schemas. It is described by OpenAPI 2.0, at version 2.0.

Requests are made against the base URL https://api.bitbucket.org/2.0.

16 operations 8 paths 19 schemas 4 DELETE7 GET1 POST4 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
2.0
Base URL
https://api.bitbucket.org/2.0
Authentication
basic, OAuth 2.0, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

Bitbucket Projects API declares 3 security schemes for authenticating requests. It defines a basic scheme (basic). It supports OAuth 2.0 (oauth2) using the accessCode flow, exposing 26 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 16

Across 8 paths, the API surfaces 16 operations — 4 DELETE, 7 GET, 1 POST, 4 PUT. Each is listed below with its method, path, parameters, and response codes.

Projects 16

Bitbucket Cloud projects make it easier for teams to focus on a goal, product, or process by organizing their repositories.

POST
/workspaces/{workspace}/projects
Create a project in a workspace
2 params → 201403404
DELETE
/workspaces/{workspace}/projects/{project_key}
Delete a project for a workspace
2 params → 204403404
GET
/workspaces/{workspace}/projects/{project_key}
Get a project for a workspace
2 params → 200401403404
PUT
/workspaces/{workspace}/projects/{project_key}
Update a project for a workspace
3 params → 200201403404
GET
/workspaces/{workspace}/projects/{project_key}/default-reviewers
List the default reviewers in a project
2 params → 200403404
DELETE
/workspaces/{workspace}/projects/{project_key}/default-reviewers/{selected_user}
Remove the specific user from the project's default reviewers
3 params → 204400403404
GET
/workspaces/{workspace}/projects/{project_key}/default-reviewers/{selected_user}
Get a default reviewer
3 params → 200400403404
PUT
/workspaces/{workspace}/projects/{project_key}/default-reviewers/{selected_user}
Add the specific user as a default reviewer for the project
3 params → 200400403404
GET
/workspaces/{workspace}/projects/{project_key}/permissions-config/groups
List explicit group permissions for a project
2 params → 200401403404
DELETE
/workspaces/{workspace}/projects/{project_key}/permissions-config/groups/{group_slug}
Delete an explicit group permission for a project
3 params → 204401403404
GET
/workspaces/{workspace}/projects/{project_key}/permissions-config/groups/{group_slug}
Get an explicit group permission for a project
3 params → 200401403404
PUT
/workspaces/{workspace}/projects/{project_key}/permissions-config/groups/{group_slug}
Update an explicit group permission for a project
4 params → 200400401402403404
GET
/workspaces/{workspace}/projects/{project_key}/permissions-config/users
List explicit user permissions for a project
2 params → 200401403404
DELETE
/workspaces/{workspace}/projects/{project_key}/permissions-config/users/{selected_user_id}
Delete an explicit user permission for a project
3 params → 204401403404
GET
/workspaces/{workspace}/projects/{project_key}/permissions-config/users/{selected_user_id}
Get an explicit user permission for a project
3 params → 200401403404
PUT
/workspaces/{workspace}/projects/{project_key}/permissions-config/users/{selected_user_id}
Update an explicit user permission for a project
4 params → 200400401402403404

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are paginated_project_user_permissions (6 properties), paginated_default_reviewer_and_type (6 properties), paginated_project_group_permissions (6 properties), project_user_permission (5 properties). Each schema is shown below with its type and property counts.

user
paginated_project_user_permissions
object
A paginated list of project user permissions.
6 properties
workspace
paginated_default_reviewer_and_type
object
A paginated list of default reviewers with reviewer type.
6 properties
project_group_permission
object
A group's permission for a given project.
5 properties 1 required
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
link
object
A link to a resource related to this object.
2 properties
bitbucket.apps.permissions.serializers.ProjectPermissionUpdateSchema
object
1 property 1 required
group
account
user_links
paginated_project_group_permissions
object
A paginated list of project group permissions.
6 properties
account_links
object
Links related to an Account.
1 property
team_links
default_reviewer_and_type
object
Object containing a user that is a default reviewer and the type of reviewer
3 properties 1 required
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
project_user_permission
object
A user's direct permission for a given project.
5 properties 1 required
team
project

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

bitbucket-projects-api-openapi.yml Raw ↑

Other APIs Bitbucket publishes across the network.

Bitbucket Addon API
Bitbucket Branch restrictions API
Bitbucket Branching model API
Bitbucket Commit statuses API
Bitbucket Commits API
Bitbucket Deployments API
Bitbucket Downloads API
Bitbucket GPG API
Bitbucket Issue tracker API
Bitbucket Pipelines API
Bitbucket properties API
Bitbucket Pullrequests API
Where this information came from

This is an independent, third-party profile of Bitbucket Projects 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.