The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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 Champions.
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 Champions.
September 18, 2019

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

TAGS
AUG Leaders

Atlassian Community Events