I have a commit ID. I want to download the file from Bitbucket using commitID through REST API
curl --user myuser@mydomain.com:password "https://api.bitbucket.org/2.0/repositories/MyCompany/myrepo/src/master/path/to/file.txt"
This looks like it downloads the latest file from the bitbucket. Can we download the source code for the particular commit ?