How to use bitbucket API for getting repositories Edited

Hello,

I would like to ask you how can I or which API can I used for getting all repositories if I have defined team and one member of the team. I know how to get repositories for user through

https://api.bitbucket.org/2.0/repositories/{user}

but if I have concrete team e.g Team1 and user User1 who is member of this team which API should I used ?

 

Thanks

 

Lukas

 

1 answer

0 votes
Jim Redmond Atlassian Team Mar 20, 2018

That depends - do you want to see repos owned by the team, or repos owned by the user?

I need to see repos owned by the team. And all repos are private.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

....sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

173 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you