Fetches the project details.
GET /rest/api/latest/projects/{key}
The project object
Returns a RepositoryResource for a given repository slug, providing access to repository-level data and sub-resources (pull requests, commits, etc.).
The returned resource can be awaited directly to fetch repository info, or chained to access nested resources.
The repository slug (e.g., 'my-repo')
A chainable repository resource
Fetches repositories belonging to this project.
GET /rest/api/latest/projects/{key}/repos
Optionalparams: ReposParamsOptional filters: limit, start, slug, name, permission
An array of repositories
Allows the resource to be awaited directly, resolving with the project info. Delegates to ProjectResource.get.
Optionalonfulfilled: null | (value: BitbucketProject) => TResult1 | PromiseLike<TResult1>Optionalonrejected: null | (reason: unknown) => TResult2 | PromiseLike<TResult2>Fetches users with explicit permissions on this project.
GET /rest/api/latest/projects/{key}/permissions/users
Optionalparams: ProjectUsersParamsOptional filters: limit, start, filter, permission
An array of user–permission pairs
Fetches webhooks configured on this project.
GET /rest/api/latest/projects/{key}/webhooks
Optionalparams: WebhooksParamsOptional filters: limit, start, event
A paged response of webhooks
Represents a Bitbucket project resource with chainable async methods.
Implements
PromiseLike<BitbucketProject>so it can be awaited directly to fetch the project info, while also exposing sub-resource methods.Example