I'm unable to get an authorization bearer token using the V2 API. Am I doing something incorrect?curl -X POST -u "client_id:secret" \https://bitbucket.org/{COMPANY}/oauth2/access_token -d grant_type=password \-d username={MY_USERNAME} -d password={MY_PERSONAL_ACCESS_TOKEN}
With the Rest V1 api, I could easily reach endpoints in the format:curl "https://stash.{COMPANY}.com/rest/api/1.0/projects/{Project_KEY}/repos/{Repo_slug}/settings/hooks?type=POST_RECEIVE" \-u {USERNAME}:{MY_PERSONAL_ACCESS_TOKEN} \--request GET \--header 'Content-Type: application/json'However, I can't do the same for V2
It looks like you're new here. Sign in or register to get started.