config:stash
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:stash [2025/08/10 19:18] – Wuff | config:stash [2025/08/30 00:01] (current) – [api] Wuff | ||
|---|---|---|---|
| Line 165: | Line 165: | ||
| https:// | https:// | ||
| + | |||
| + | |||
| + | < | ||
| + | #If API authentication is required, add the following to the curl commands: | ||
| + | -H " | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | # Metadata Scan of a particular directory | ||
| + | curl -X POST http:// | ||
| + | -H " | ||
| + | -d '{ | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | }' | ||
| + | |||
| + | curl -X POST http:// | ||
| + | -H " | ||
| + | -d '{ | ||
| + | " | ||
| + | }' | ||
| + | </ | ||
| + | |||
| + | |||
| + | < | ||
| + | # Full Metadata Scan | ||
| + | curl -X POST http:// | ||
| + | -H " | ||
| + | -d ' | ||
| + | |||
| + | curl -X POST http:// | ||
| + | -H " | ||
| + | -d ' | ||
| + | |||
| + | </ | ||
| + | |||
| + | Show status: | ||
| + | < | ||
| + | curl -X POST http:// | ||
| + | -H " | ||
| + | -d ' | ||
| + | </ | ||
| + | |||
| + | Show status until done: | ||
| + | < | ||
| + | while true; do | ||
| + | curl -s -X POST http:// | ||
| + | -H " | ||
| + | -d ' | ||
| + | | jq ' | ||
| + | sleep 5; | ||
| + | done | ||
| + | </ | ||
| + | |||
| Line 440: | Line 496: | ||
| # | # | ||
| </ | </ | ||
| + | |||
| + | |||
config/stash.1754849923.txt.gz · Last modified: by Wuff