Private
Public Access
0
0

docs(api): correct endpoint /api/mma_status -> /api/gui/mma_status across docs

This commit is contained in:
2026-06-03 00:56:32 -04:00
parent 6ce119dffe
commit db177e4494
7 changed files with 9 additions and 9 deletions
@@ -167,7 +167,7 @@ def test_clean_install_runs_with_hooks(tmp_path):
)
response = requests.get(
f"http://127.0.0.1:{HOOK_PORT}/api/mma_status",
f"http://127.0.0.1:{HOOK_PORT}/api/gui/mma_status",
timeout=5.0,
)
assert response.status_code == 200, f"mma_status returned {response.status_code}"
@@ -205,7 +205,7 @@ Expected: SKIPPED (RUN_CLEAN_INSTALL_TEST not set).
```bash
git -C C:\projects\manual_slop add tests/test_clean_install.py
git -C C:\projects\manual_slop commit -m "test(clean-install): add opt-in clone-and-verify pytest test"
git -C C:\projects\manual_slop log -1 --format='%H' | ForEach-Object { git -C C:\projects\manual_slop notes add -m "Clones the Gitea repo to tmp_path, runs uv sync, launches sloppy.py --enable-test-hooks, polls :8999/status until ready, then tests /api/mma_status write hook. Robust Windows/Unix process cleanup. Skipped unless RUN_CLEAN_INSTALL_TEST=1." $_ }
git -C C:\projects\manual_slop log -1 --format='%H' | ForEach-Object { git -C C:\projects\manual_slop notes add -m "Clones the Gitea repo to tmp_path, runs uv sync, launches sloppy.py --enable-test-hooks, polls :8999/status until ready, then tests /api/gui/mma_status write hook. Robust Windows/Unix process cleanup. Skipped unless RUN_CLEAN_INSTALL_TEST=1." $_ }
```
---
@@ -507,7 +507,7 @@ Agents interact with the running container via the Hook API on `:8999`. Examples
curl http://<your-unraid-ip>:8999/status
# Get MMA state
curl http://<your-unraid-ip>:8999/api/mma_status
curl http://<your-unraid-ip>:8999/api/gui/mma_status
```
See [guide_tools.md](guide_tools.md) for the full Hook API reference.