This question is in reference to Atlassian Documentation: components Resource
What is the equivalent of below api in v2 api? I tried to change "1.0" to "2.0" but it doesn`t work
curl -v -u {username} https://api.bitbucket.org/1.0/repositories/{username}/{repo}/raw/{branch}/{file path}
Community moderators have prevented the ability to post new answers.
Unfortunately, the v2 API is not complete. In particular, it doesn't yet have support for getting file content. Unfortunately, you'll have to continue using the v1 API for pulling down the file content.
created bug to request this feature
https://bitbucket.org/site/master/issues/12741/missing-v2-api-to-get-file-content
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.