Fetch package.json file
GET https://api.bitbucket.org/2.0/repositories/{{owner}}/{{repo}}/src/{{hash}}/package.json
This GET request fetches package.json of the specified repository.
After recieving the response, all the dependencies and devDependencies are saved in an array variable all_dependencies.
Variables
| Name | Description |
|---|---|
| hash | Commit hash of the HEAD of master branch |