Create the correct JSONPath query string to extract the correct values from 2 seperate JSON inputs

Job ID: 34542093

Budget: €8 – €30 EUR

You may use https://jsonpath.com/ and I want to get the 2 JSONPath queries that works to extract the value I am look for in 2 different JSON Inputs.

The inputs are located at:

1) https://api.github.com/repos/TheAssassin/AppImageLauncher/releases
2) https://api.github.com/repos/ClementTsang/bottom/releases

Json Path queries:
1) For the first URL I want to get the extracted JSON Path value to be:
https://github.com/TheAssassin/AppImageLauncher/releases/download/continuous/appimagelauncher_2.2.0-gha109.5a6cc33%2Bbionic_amd64.deb

Essentially you could use regex in the query to see that the browser_download_url ends with amd64.deb and that the latest release gets returned.

2) For the second input URL, the correct output value should be:
https://github.com/ClementTsang/bottom/releases/download/0.6.8/bottom_0.6.8_amd64.deb

Suggests to look at name and target_commitish fields to see that name ends with 'Release' and target_commitish equals 'master' and should be latest release.

Hopefully a small assignment.
Related categories: Testing / QA XQuery JSON