Find HEAD of the branch
GET https://api.bitbucket.org/2.0/repositories/{{owner}}/{{repo}}/commits/master
This GET request finds the commit hash of the HEAD of the default branch. The commit hash is saved as a variable named hash.
This commit hash is used to get the package.json file.