Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Clarification needed for deprecated endpoints

ploke January 16, 2019

Hi, there is some confusing information about the removal of certain endpoints from the V2 APIs.

In the migration guide, only `/2.0/users/{username}/members` is marked for deletion in June of this year, and doesn't make a mention of `/2.0/teams/{username}/members`

https://developer.atlassian.com/cloud/bitbucket/bbc-gdpr-api-migration-guide/

However, the following deprecation notice page shows both `/users/{username|uuid}/members` and `/teams/{username|uuid}/members` are slated for removal in June.

https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/

So which one is accurate? I'd like to be able to query a team's members, at least by the team's UUID.

2 answers

1 accepted

1 vote
Answer accepted
jarredc
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 17, 2019

Hey Praneet, Thanks for pointing this out. 

The correct guide is https://developer.atlassian.com/cloud/bitbucket/bbc-gdpr-api-migration-guide/. Will update the other one to reflect the changes more accurately!

ploke January 18, 2019

Hi, Jarred, that's great! Can you please confirm the following?

- The `/2.0/teams/{uuid}/members` endpoint is not subject to deprecation (and therefore, removal this April), with the caveat that the authenticated user must be an admin in order to list members of a Team.

- `username` will be removed from all responses, including those of Teams, with the exception of the response for the `/user` endpoint, which returns only the currently authenticated user.

Also, I don't see any endpoints for listing user groups. Is that intentional?

jarredc
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 23, 2019

Hey Praneet, 

That's right. 2.0/teams/uuid/members will not be deprecated. 

re: Groups, Yes. User management should be done through some kind of SCIM / SAML solution.

Jarred

0 votes
ploke January 22, 2019

Ping @jarredc

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events