Update docs/API.md, its mirrored in-app Help copy under
frontend-modern/public/docs/API.md, and source-bound regression tests in
scripts/tests/test_public_docs_claims.py to fix a freshly merged env-var
name error and close live runtime-vs-Help gaps:
- Fix the VMware opt-out environment variable in docs/API.md from the
non-existent PULSE_FEATURE_VMWARE=false to the real
PULSE_ENABLE_VMWARE=false defined in internal/vmware/client.go
(FeatureVMware), and bind the test directly to that constant.
- Document all five live SAML endpoints registered in
internal/api/router_routes_auth_security.go and implemented in
internal/api/saml_handlers.go (/api/saml/{providerID}/metadata,
/login, /acs, /logout, and /slo) with their HTTP methods, cookie and
session requirements, and error codes, plus the 409
provider_managed_by_environment refusal on environment-managed SSO
providers.
- Correct API token scopes on GET /api/notifications/dlq (settings:read
and monitoring:read, plus limit defaults/cap) and POST
/api/notifications/dlq/retry (settings:write), and document the four
live /api/notifications/rehearsals routes from
internal/api/alerting/notifications.go.
- Document the live /api/alerts/intent-policies routes,
/api/alerts/history/durability and
/api/alerts/history/durability/acknowledgement endpoints, and the
X-Pulse-History-Complete / X-Pulse-History-Gap-Revision headers from
internal/api/alerting/alerts.go and history_durability.go.
Contract-Neutral: Documentation, mirrored in-app Help, and documentation consistency tests only; no runtime, API, polling, alert, telemetry, or UI code contract changes.
Change-source: pulse-maintainer