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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events