I came across this practice tool: Swagger UI and am using it to try out different queries (I don’t feel very confident with creating queries myself yet). One query I’d like to try is to pull /works with the following parameters:
query.affiliation=standards (I enter this in the query box)
type:journal-article,from-pub-date:2021-02-01 (entered in Filter box)
When I enter these into the appropriate boxes, the RequestURL looks like this:
and I get a total of 3972 results. Why does the RequestURL have the “query=” immediately before query.affiliation? When I remove this and run without the “query=” I get fewer total results that seem more in line with what I’d expect.
My colleague says the URL with “query=” in it is searching “standards” on the whole record, but I specifically entered query.affiliation=standards in the query field. Why is the tool inserting “query=” before query.affiliation? Thanks in advance to anyone that can explain the behavior.