Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1955,8 +1955,8 @@ paths:
operationId: getDashboardPage
description: |
Serves the bundled Vue SPA shell (`text/html`). The same bytes are served for `/admin/`,
`/admin/login`, `/admin/providers`, `/admin/pairs`,
`/admin/settings` and `/admin/keys`:
`/admin/login`, `/admin/providers`, `/admin/models`, `/admin/groups`, `/admin/pairs`,
`/admin/settings`, `/admin/keys` and `/admin/logs`:
the shell is structurally independent of the database, and every number on a page is fetched
by the browser from an authenticated `/admin/v1/*` endpoint. That is why these paths can be
served without a credential and why they disclose nothing.
Expand Down Expand Up @@ -2017,12 +2017,28 @@ paths:
'404':
description: The management surface is not mounted.

/admin/groups:
get:
tags: [Dashboard]
summary: Serve the model groups page shell
operationId: getDashboardGroupsPage
description: See `GET /admin/`. This exact, data-free shell route supports GET and HEAD; group data comes from `/admin/v1/groups`.
security: []
responses:
'200':
description: The page shell.
content:
text/html:
schema: {type: string}
'404':
description: The management surface is not mounted.

/admin/pairs:
get:
tags: [Dashboard]
summary: Serve the route bindings page shell
summary: Serve the legacy model groups page shell
operationId: getDashboardPairsPage
description: See `GET /admin/`. This exact, data-free shell route supports GET and HEAD; binding data comes from `/admin/v1/pairs`.
description: See `GET /admin/`. Former address of the model groups page; the client redirects it to `/admin/groups` so existing bookmarks keep working.
security: []
responses:
'200':
Expand Down
1 change: 1 addition & 0 deletions internal/api/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ var adminPageShells = map[string]struct{}{
"/admin/login": {},
"/admin/providers": {},
"/admin/models": {},
"/admin/groups": {},
"/admin/pairs": {},
"/admin/settings": {},
"/admin/keys": {},
Expand Down
1 change: 1 addition & 0 deletions internal/api/dashboard/static/web/assets/Index-BKJMWLAN.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions internal/api/dashboard/static/web/assets/Index-BdsXt2MF.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
.metric-icon-wrap[data-v-b06ec2fe]{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--jf-radius-control);background:var(--jf-tonal)}
.metric-icon-wrap[data-v-fc0ed36d]{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--jf-radius-control);background:var(--jf-tonal)}
Loading
Loading