Hello everyone,
Till now I have list all repositories of teams where I was, doing with API 1.0:
https://api.bitbucket.org/1.0/user/repositories
And now I am trying to acchieve the same JSON output but with API 2.0, with the following link:
https://api.bitbucket.org/2.0/teams/TEAM_NAME/repositories
But it is not giving me all the repositories present in that team, it just give me a few.
Do you know how can I list all the repositores names of a team?
UPDATE:
I notice that there was more 9 pages of data, and the one that I was seeing it was the first page, and there was a pagelen field with the number of all pages:
https://api.bitbucket.org/2.0/repositories/TEAM_NAME?page=PAGE_NUMBER
But still didnt found a way to list just repositorie names like I did before in API 1.0
So, I was able to retrieve repository names, by going page by page with the help of a script, but I am not getting all the repositories, from a total of almost 200, I am only getting 100, and cannot get more throug the API:
https://api.bitbucket.org/2.0/repositories/TEAM_NAME?page=PAGE_NUMBER
There is no more then 10 pages, and in each one, the data of 10 repositories.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.