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: 

Trying to get a list of repositories with metadata

Gurinder Randhawa
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!
June 16, 2020

Hi

I'm trying to acquire an access token to get list of repositories. Before running that endpoint, I need to get an access token. Initially I'm trying from a browser. Some questions:

1. Where do I get the {client_id}? 

2. Resource Owner Password Credentials Grant
curl -X POST -u "client_id:secret" https://bitbucket.org/site/oauth2/access_token -d grant_type=password -d username=xxx -d password=yyyy

3. Authorization Code Grant
https://bitbucket.org/site/oauth2/authorize?client_id=???&response_type=code

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events