feat: link the API documentation in the footer and at token creation #87

Merged
Sebi merged 1 commits from feat/api-docs-links into main 2026-11-22 14:48:23 +00:00
Owner

Stacked on #86.

  • Footer on every console and sign-in page: "API" next to legal notice and privacy policy; the footer is shown even without legal documents.
  • Token page: under "Create token" and again in the box showing the new token: "Send the token with every request: Authorization: Bearer ust_… · API documentation". The earlier link at the top of the page is gone.
  • Tested in TestAPIDocsServed.

🤖 Generated with Claude Code

https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3

Stacked on #86. - Footer on every console and sign-in page: "API" next to legal notice and privacy policy; the footer is shown even without legal documents. - Token page: under "Create token" and again in the box showing the new token: "Send the token with every request: `Authorization: Bearer ust_…` · API documentation". The earlier link at the top of the page is gone. - Tested in `TestAPIDocsServed`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi added this to the M6 Admin UI milestone 2026-11-22 12:23:27 +00:00
Sebi changed target branch from docs/readme to main 2026-11-22 14:46:30 +00:00
Sebi added 5 commits 2026-11-22 14:46:30 +00:00
Refs #82

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
feat: show which checker ran a check and what it is doing
ci / image (pull_request) Successful in 4m31s
ci / lint (pull_request) Successful in 4m38s
ci / build (pull_request) Successful in 6m33s
ci / test (pull_request) Successful in 8m27s
0c2155fdc2
Every recent check on a monitor page names and links the checker
instance that ran it. The checker page shows whether it is active, its
version, the checks it runs right now and has queued, and the viewer's
latest results on it, refreshing every five seconds. Platform checkers
serve all organizations, so other organizations' work appears only as a
count. Checks in progress are tracked in Redis between handing out a job
and receiving its result.

Closes #82

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
feat(api): OpenAPI documentation with Swagger UI
ci / lint (pull_request) Successful in 12m12s
ci / image (pull_request) Successful in 2m22s
ci / build (pull_request) Successful in 6m46s
ci / test (pull_request) Successful in 14m8s
6d3b1dea5d
/api/openapi.json is generated from a table of endpoints and the Go types
the handlers bind and return, including the limits of their binding
tags, so the document follows the code. A test fails for routes missing
from the table or documented but not served. /api/docs shows it with
Swagger UI from our own assets, usable without internet access; "Try it
out" works with the browser session.

Closes #84

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
docs: add README
ci / build (pull_request) Successful in 3m53s
ci / test (pull_request) Successful in 5m43s
ci / image (pull_request) Successful in 3m40s
ci / lint (pull_request) Successful in 8m25s
ef49667082
Following the Utrecht University README guidance: purpose first, then
installation, usage, examples with screenshots, license and contact,
with commands that run as written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
feat(web): link the API documentation in the footer and where tokens are created
ci / lint (pull_request) Successful in 9m12s
ci / build (pull_request) Successful in 3m46s
ci / image (pull_request) Successful in 4m39s
ci / test (pull_request) Successful in 8m25s
e6be8f15d3
The footer now always shows, with the API link next to the legal
documents. Creating a token explains how to send it, before and right
after creation.

Refs #84

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi merged commit 4249d1690f into main 2026-11-22 14:48:23 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ZB-Server/uptimesebi#87