创建层级化目录的 skills

This commit is contained in:
2026-03-27 13:05:22 +08:00
parent 88eec2787b
commit 0196206ed3
50 changed files with 2861 additions and 388 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
BASE_URL="${BASE_URL:-http://127.0.0.1:8000}"
NETWORK="${NETWORK:-tjwater}"
URL="${BASE_URL%/}/api/v1/burst-detection/schemes/?network=${NETWORK}"
headers=(-H "Accept: application/json")
if [[ -n "${AUTH_TOKEN:-}" ]]; then
headers+=(-H "Authorization: Bearer ${AUTH_TOKEN}")
fi
echo "[api-operations] GET ${URL}" >&2
curl --silent --show-error --fail-with-body "${headers[@]}" "$URL"
echo