Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get all watched repositories?

Lenon_Bordini
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 22, 2019

Hi!

 

I'm consuming the BitBucket API (https://api.bitbucket.org/2.0/repositories), and I want to know if it's possible to filter only watched repositories.

 

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 26, 2019

Hi @Lenon_Bordini , welcome to the Community.

Filtering by "watched repositories" is not possible. You can get a list of all the repositories you have access to, or filter based on the permissions you have on that repo, but you can not filter by watched/unwatched. If you're interestes on the suggestion I mentioned above, you can find the endpoint at https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D.

Let us know if we can help you with anything else,

Ana

Lenon_Bordini
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 26, 2019

It's a pity there's no way, but thank you for replying me. :)

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 26, 2019

No worries :) And please contact us again if there's anything else we can do to help.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events