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

Trying to get a list of repositories with metadata

Gurinder Randhawa 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