Fetches the user details.
GET /rest/api/latest/users/{slug}
The user object
Returns a RepositoryResource for a given repository slug under this user,
providing access to all repository sub-resources including raw, commits, branches, etc.
The repository slug
A chainable repository resource
Fetches repositories belonging to this user.
GET /rest/api/latest/users/{slug}/repos
Optionalparams: ReposParamsOptional filters: limit, start, name, permission
A paged response of repositories
Allows the resource to be awaited directly, resolving with the user info. Delegates to UserResource.get.
Optionalonfulfilled: null | (value: BitbucketUser) => TResult1 | PromiseLike<TResult1>Optionalonrejected: null | (reason: unknown) => TResult2 | PromiseLike<TResult2>
Represents a Bitbucket user resource.
Implements
PromiseLike<BitbucketUser>so it can be awaited directly to fetch user info.Example