To support the development of a new feature, we're introducing a new subtype of the Account
definition called App User
into the Bitbucket Cloud API. After a 6-month deprecation period, ending on Feb 9, 2023, any API which documents an Account
type can start returning App User
objects, along with the currently expected Team
and User
objects.
App User
typeThe App User
type represents a new type of Bitbucket Account
used by certain integrations and apps. The App User
type shares the vast majority of its fields with the User
type. However, it has some unique fields so we decided to create a new subtype of Account
instead of overloading the User
type.
Note that you won’t be able to directly create App User
objects via our REST API.
We've included the App User
definition in our swagger.json to allow vendors and users to integrate with the new data structure prior to the release date.
app_user
schema1 2"app_user": { "allOf": [ { "$ref": "#/definitions/account" }, { "type": "object", "title": "App User", "description": "An app user object.", "properties": { "account_id": { "type": "string", "description": "The user's Atlassian account ID." }, "account_status": { "type": "string", "description": "The status of the account. Currently the only possible value is \"active\", but more values may be added in the future." }, "kind": { "type": "string", "description": "The kind of App User." } }, "additionalProperties": true } ] }
Although there are many endpoints impacted by these changes, the actual changes should require little or no action from most developers. If you use our swagger.json file to auto-generate client code, you may wish to regenerate your client code.
The app_user
object can be treated in an identical manner to a user
object, unless you wish to differentiate them. They both share the account_id
, account_status
, uuid
and display_name
fields which are the primary fields used.
Account
changesApp User
subtype.Base Commit
changesauthor
field may return the new App User
subtype.Branch Restriction
changesusers
array field may return the new App User
subtype.groups
array field refers to type Group
which has changes (See Group
changes)Branch
changesRef
has changes (See Ref
changes)Branching Model
changesdevelopment
field refers to type Ref
which has changes (See Ref
changes)production
field refers to type Ref
which has changes (See Ref
changes)Comment
changesuser
field may return the new App User
subtype.Commit Comment
changescommit
field refers to type Commit
which has changes (See Commit
changes)Commit File
changescommit
field refers to type Commit
which has changes (See Commit
changes)Commit
changesauthor
field may return the new App User
subtype.repository
field refers to type Repository
which has changes (See Repository
changes)Deploy Key
changesrepository
field refers to a type Repository
which has changes (See Repository
changes)owner
field may return the new App User
subtype.Deployment Release
changescommit
field refers to a type Commit
which has changes (See Commit
changes)Deployment State Completed
changesdeployer
field may return the new App User
subtype.Deployment State In Progress
changesdeployer
field may return the new App User
subtype.Deployment State
changesDeployment State In Progress
changes and Deployment State Completed
changes)Deployment
changesrelease
field refers to a type Deployment Release
which has changes (See Deployment Release
changes)state
field refers to a type Deployment State
which has changes (See Deployment State
changes)Diff Stat
changesold
field refers to type Commit File
which has changes (See Commit File
changes)new
field refers to type Commit File
which has changes (See Commit File
changes)Group
changesowner
field may return the new App User
subtype.Issue Change
changesuser
field may return the new App User
subtype.issue
field refers to a type Issue
which has changes (See Issue
changes)Issue Comment
changesissue
field refers to type Issue
which has changes (See Issue
changes)Comment
has changes (See Comment
changes)Issue
changesrepository
field refers to a type Repository
which has changes (See Repository
changes)assignee
field may return the new App User
subtype.reporter
field may return the new App User
subtype.Paginated Accounts
changesvalues
array field may return the new App User
subtype.Paginated Branches
changesvalues
array field refers to type Branch
which has changes (See Branch
changes)Paginated Changeset
changesvalues
array field refers to type Base Commit
which has changes (See Base Commit
changes)Paginated Commit Comments
changesvalues
array field refers to type Commit Comment
which has changes (See Commit Comment
changes)Paginated Deploy Keys
changesvalues
array field refers to type Deploy Key
which has changes (See Deploy Key
changes)Paginated Deployments
changesvalues
array field refers to type Deployment
which has changes (See Deployment
changes)Paginated Diff Stat
changesvalues
array field refers to type Diff Stat
which has changes (See Diff Stat
changes)Paginated Files
changesvalues
array field refers to type Commit File
which has changes (See Commit File
changes)Paginated Issue Comments
changesvalues
array field refers to type Issue Comment
which has changes (See Issue Comment
changes)Paginated Issues
changesvalues
array field refers to type Issue
which has changes (See Issue
changes)Paginated Log Entries
changesvalues
array field refers to type Issue Change
which has changes (See Issue Change
changes)Paginated Pipeline Schedule
changesvalues
array field refers to type Pipeline Schedule
which has changes (See Pipeline Schedule
changes)Paginated Pipelines
changesvalues
array field refers to type Pipeline
which has changes (See Pipeline
changes)Paginated Pull Request Comments
changesvalues
array field refers to type Pull Request Comment
which has changes (See Pull Request Comment
changes)Paginated Pull Requests
changesvalues
array field refers to type Pull Request
which has changes (See Pull Request
changes)Paginated Refs
changesvalues
array field refers to type Ref
which has changes (See Ref
changes)Paginated Repositories
changesvalues
array field refers to type Repository
which has changes (See Repository
changes)Paginated Repository Group Permissions
changesvalues
array field refers to type Repository Group Permission
which has changes (See Repository Group Permission
changes)Paginated Repository Permissions
changesvalues
array field refers to type Repository Permission
which has changes (See Repository Permission
changes)Paginated Repository User Permissions
changesvalues
array field refers to type Repository User Permission
which has changes (See Repository User Permission
changes)Paginated Snippet Comments
changesvalues
array field refers to type Snippet Comment
which has changes (See Snippet Comment
changes)Paginated Snippet Commits
changesvalues
array field refers to type Snippet Commit
which has changes (See Snippet Commit
changes)Paginated Snippets
changesvalues
array field refers to type Snippet
which has changes (See Snippet
changes)Paginated SSH User Keys
changesvalues
array field refers to type SSH Account Key
which has changes (See SSH Account Key
changes)Paginated Tags
changesvalues
array field refers to type Tag
which has changes (See Tag
changes)Paginated Tree Entry
changesvalues
array field refers to type Tree Entry
which has changes (See Tree Entry
changes)Paginated Workspace Memberships
changesvalues
array field refers to type Workspace Membership
which has changes (See Workspace Membership
changes)Participant
changesuser
field may return the new App User
subtype.Pipeline Commit Target
changescommit
field refers to type Commit
which has changes (See Commit
changes)Pipeline Ref Target
changescommit
field refers to type Commit
which has changes (See Commit
changes)Pipeline Schedule
changestarget
field refers to type Pipeline Target
which has changes (See Pipeline Target
changes)Pipeline Target
changesPipeline Ref Target
changes and Pipeline Commit Target
changes)Pipeline
changescreator
field may return the new App User
subtype.target
field refers to type Commit
which has changes (See Commit
changes)Pipelines Configuration
changesrepository
field refers to type Repository
which has changes (See Repository
changes)Pull Request Comment
changespullrequest
field refers to type Pull Request
which has changes (See Pull request
changes)Comment
has changes (See Comment
changes)Pull Request
changesauthor
field may return the new App User
subtype.closed_by
field may return the new App User
subtype.reviewers
array field may return the new App User
subtype.participants
array field refers to type Participant
which has changes (See Participant
changes)Ref
changestarget
field refers to type Commit
which has changes (See Commit
changes)Repository Group Permission
changesrepository
field refers to type Repository
which has changes (See Repository
changes)group
field refers to type Group
which has changes (See Group
changes)Repository Permission
changesrepository
field refers to type Repository
which has changes (See Repository
changes)user
field may return the new App User
subtype.Repository User Permission
changesrepository
field refers to type Repository
which has changes (See Repository
changes)user
field may return the new App User
subtype.Repository
changesowner
field may return the new App User
subtype.search_code_search_result
changesfile
field refers to type Commit File
which has changes (See Commit File
changes)search_result_page
changesvalues
array field refers to type search_code_search_result
which has changes (See search_code_search_result
changes)Snippet Comment
changessnippet
field refers to type Snippet
which has changes (See Snippet
changes)Snippet Commit
changessnippet
field refers to type Snippet
which has changes (See Snippet
changes)Base Commit
has changes (See Base Commit
changes)Snippet
changesowner
field may return the new App User
subtype.creator
field may return the new App User
subtype.SSH Account Key
changesowner
field may return the new App User
subtype.Tag
changesRef
has changes (See Ref
changes)Tree Entry
changescommit
field refers to type Commit
which has changes (See Commit
changes)Workspace Membership
changesuser
field may return the new App User
subtype.Any API endpoints that return the Account
type will be affected. From the release date, they will return one of the three Account
subtypes: User
, Team
, or App User
.
The following lists show all the endpoints which will be impacted after the deprecation period is over.
No changes
Branch Restriction
changesBranch Restriction
changesBranch Restriction
changesBranch Restriction
changesNo changes
Commit
changesParticipant
changesPaginated Commit Comments
changesCommit Comment
changesCommit Comment
changesPaginated Changeset
changesPaginated Changeset
changesPaginated Changeset
changesPaginated Changeset
changesPaginated Diff Stat
changesCommit
changesPaginated Deploy Keys
changesDeploy Key
changesDeploy Key
changesDeploy Key
changesPaginated Deployments
changesDeployment
changesNo changes
Paginated Issues
changesIssue
changesIssue
changesIssue
changesIssue
changesPaginated Log Entries
changesIssue Change
changesIssue Change
changesPaginated Issue Comments
changesIssue Comment
changesIssue Comment
changesIssue Comment
changesIssue Comment
changesPaginated Pipelines
changesPipeline
changesPipeline
changesPipelines Configuration
changesPipelines Configuration
changesPaginated Pipeline Schedule
changesPipeline Schedule
changesPipeline Schedule
changesPipeline Schedule
changesNo changes
Paginated Pull Requests
changesPaginated Pull Requests
changesPaginated Accounts
changesAccount
changesAccount
changesPaginated Pull Requests
changesPull Request
changesPull Request
changesPull Request
changesParticipant
changesPaginated Pull Request Comments
changesPull Request Comment
changesPull Request Comment
changesPull Request Comment
changesPull Request
changesPaginated Diff Stat
changesPull Request
changesParticipant
changesPaginated Refs
changesPaginated Branches
changesBranch
changesBranch
changesPaginated Tags
changesTag
changesTag
changesNo changes
Paginated Repositories
changesPaginated Repositories
changesRepository
changesRepository
changesRepository
changesPaginated Repositories
changesRepository
changesPaginated Repository Group Permissions
changesRepository Group Permission
changesRepository Group Permission
changesPaginated Repository User Permissions
changesRepository User Permission
changesRepository User Permission
changesPaginated Repository Permissions
changesPaginated Accounts
changesPaginated Snippets
changesSnippet
changesPaginated Snippets
changesSnippet
changesSnippet
changesSnippet
changesPaginated Snippet Comments
changesSnippet Comment
changesSnippet Comment
changesSnippet Comment
changesPaginated Snippet Commits
changesSnippet Commit
changesPaginated Accounts
changesSnippet
changesSnippet
changesPaginated Files
changesPaginated Tree Entry
changesPaginated Tree Entry
changesPaginated SSH User Keys
changesSSH Account Key
changesSSH Account Key
changesSSH Account Key
changesNo changes
No changes
Paginated Workspace Memberships
changesPaginated Workspace Memberships
changesWorkspace Membership
changesPaginated Workspace Memberships
changesPaginated Repository Permissions
changesPaginated Repository Permissions
changesRate this page: