Hi,
I'm a bit confused with the API in the docs,
what I'm trying to do is to get list of my repositories by workspace.
I got my API token in the atlassian account which I can use to access the REST API.
Running an api call to this URL: https://api.bitbucket.org/2.0/repositories
with Authorization Bearer: <token> in headers retrieves me ALL repositories in bitbucket.
I want the repositories only from my account.
What am I missing here?
Thanks!
Hello @Eddie Nazarov ,
Just append the workspace id to that URL, here's the endpoint: /2.0/repositories/{workspace}.
Hope this helps. Let me know if you have any questions.
Cheers,
Daniil
Hey @Daniil Penkin ,
Yes that helped, thanks!
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.