From 12b403b575dbe52935671bc8f23858073a3c5eb0 Mon Sep 17 00:00:00 2001 From: Matthias Eckert Date: Tue, 23 May 2023 07:03:26 +0200 Subject: [PATCH] [logseq-plugin-git:commit] 2023-05-23T05:03:26.666Z --- journals/2023_05_23.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/journals/2023_05_23.md b/journals/2023_05_23.md index 2a02d376..080ecd86 100644 --- a/journals/2023_05_23.md +++ b/journals/2023_05_23.md @@ -1,3 +1,3 @@ - Read from service and put to curl delete #JQ [[Code Snippet]] - - `` - - \ No newline at end of file + - `curl "http://hierarchy.pp.k8s-c1t.vicosrv.de/api/hierarchy/806/categories?topCatID=0&items=false&properties=false&depth=1" | jq '.subCategories | map({"h":.hierarchyID, "c":.catID})[] | "http://hierarchy.pp.k8s-c1t.vicosrv.de/api/hierarchy/\(.h)/categories/\(.c)"' | xargs -n1 curl -X 'DELETE'` +- \ No newline at end of file