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

How to get list of projects using bitbucket 2.0 api?. The documented api is not working

ksaravan September 18, 2019

The following api does not work.

https://api.bitbucket.org/2.0/teams/{123454}/projects

where {123454} is the user UUID. This is suggested in the documentation.

It returns the below error. Can someone help ?

{
"type": "error",
"error": {
"message": "Resource not found",
"detail": "There is no API hosted at this URL.\n\nFor information about our API's, please refer to the documentation at: https://developer.atlassian.com/bitbucket/api/2/reference/"
}
}

1 answer

1 accepted

0 votes
Answer accepted
Michael Kuhl {Appfire}
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.
September 18, 2019

Hi @ksaravan - You are missing a trailing "/". 

Try: https://api.bitbucket.org/2.0/teams/{123454}/projects/

ksaravan September 18, 2019

Yes, oversight on my part. Thank you.

Like Michael Kuhl {Appfire} likes this
Michael Kuhl {Appfire}
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.
September 18, 2019

You're welcome!  Could you take a moment to accept my answer?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events