Skip to content

Fix/Bitbucket Depricated API#32

Merged
shrsv merged 3 commits intomasterfrom
fix/provider-issues
Apr 26, 2026
Merged

Fix/Bitbucket Depricated API#32
shrsv merged 3 commits intomasterfrom
fix/provider-issues

Conversation

@Amazing-Stardom
Copy link
Copy Markdown
Contributor

Replacing Deprecated API

  1. Issue found in finding repository and webhook integration.
  2. The error-returning APIs are deprecated, and here is the link to the deprecated API's: Link

How this was fixed and what changes are made?

  1. Updated these API with new API endpoints Link
  2. The API endpoint should have new scope read:workspace:bitbucket
  3. Updated network doc and validated function pointing.

LiveReview Pre-Commit Check: ran (iter:1, coverage:0%)
LiveReview Pre-Commit Check: ran (iter:5, coverage:0%)
params.Add("role", "member") // Only repositories where user is a member
nextURL += "?" + params.Encode()
// getUserWorkspaces calls GET /2.0/user/workspaces — the new public API announced alongside
// CHANGE-2770, replacing both the deprecated GET /2.0/workspaces and
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the whole file CHANGE-2770 is mentioned. Is it some internal symbol?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not an internal symbol.

Just added for reference why this was changed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reference was the Bitbucket change log.
Now I have added an internal doc related to changes made.

LiveReview Pre-Commit Check: ran (iter:1, coverage:0%)
@shrsv shrsv merged commit 2efc91e into master Apr 26, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants