JMESPath Records Selector
The goal of the Records Selector is to identify where in the response data the array of objects we are interested in exists. For the typical response formats above, the JMESPath expression needed is quite simple. The input to the expression is the root of the response data.
Top-level array of objects:
[*]
[]
also works
Top-Level object with property containing the array of objects:
locations[*]
locations[]
orlocations
also work
For more complicated responses or if you need to assemble sets of objects from multiple locations or filter or transform the objects, you'll want to look through the tutorial and examples, but more complicated scenarios here are going to be rare.