notea-de-me/.spike/request/list_ids.sh

4 lines
105 B
Bash

#! /bin/bash
curl -sS localhost:3000/api/tree | jq -r '.items | to_entries[].value.id' | grep -v ^root$