Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to access repositories through REST API

Jithendra
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!
March 22, 2019

Here is the API which i am trying to call  "https://URL/2.0/repositories/" am doing get operation with auth as username and password have even tried with token no luck 

Here is the doc I refereed https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories

 

Note : URL is company specific for us can not mention in here if its public forum 

 

Do let me know if there is any special access or permission i need to get from my admin (Its not in doc )

1 answer

1 vote
Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2019

Hi @Jithendra 

Whilst for me that call (using username and password) does work, it is pretty useless because it lists all the public repositories, whereas I'm interested in going deeper into my own repository, so for example I'm using this call /2.0/repositories/{username}/{repo_slug}/commits

I would assume that you need to try and get the main call sorted so that you can continue.

What is the response that you receive back - it may be useful to put it here, rather than saying you've had no luck ;-)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events