Hey,
I have a little issue to get all repos from a workspace in bitbucketAPI, I only receive with status 200 this:
{ "pagelen": 10, "values": [], "page": 1, "size": 0}
The endpoint that I used is /repositories/{username}
for authentication I created a OAUTH ID/Secrent in my settings
thanks for your help
Thanks everyone for your help, was a authentication issue only, we need to create token in this url>
https://bitbucket.org/site/oauth2/authorize?client_id=Client-ID-HERE&response_type=token
It's likely that the way you're authenticating isn't working or you're authenticating as someone who doesn't have access to view the repositories you're requesting.
Since repositories can be public or private, you can view the repository list of any user (even without authentication) but the items in the list depend on your access. If you don't have access to view any of a workspace's repositories then you'll see an empty list.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this endpoint returns a paginated list of all repositories owned by the user with username from the url. Is your user really an owner of all the repositories?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.