Jq Examples

From NovaOrdis Knowledge Base
Revision as of 19:43, 1 March 2019 by Ovidiu (talk | contribs) (Created page with "=Internal= * jq =Organizatorium= Get the ID of a Amazon API Gateway API with a certain name: <syntaxhighlight lang='json'> aws apigateway get-rest-apis | j...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Organizatorium

Get the ID of a Amazon API Gateway API with a certain name:

aws apigateway get-rest-apis | jq -r '.items[] | select(.name == "blue") | .id'