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