Skip to content

server: scope sessions and nodes APIs to a stack#111

Merged
GyulyVGC merged 2 commits into
NullNet-ai:mainfrom
antoncxx:per-stack-apis
Jun 23, 2026
Merged

server: scope sessions and nodes APIs to a stack#111
GyulyVGC merged 2 commits into
NullNet-ai:mainfrom
antoncxx:per-stack-apis

Conversation

@antoncxx

Copy link
Copy Markdown
Contributor

/api/sessions and /api/nodes were returning global data across all stacks. Now both require a {stack} path param, matching the pattern established by /api/services, /api/graph, and /api/chains.

The teardown endpoint moves from DELETE /api/sessions/{id} to DELETE /api/sessions/{stack}/{id} accordingly.

UI updated across Dashboard, Sessions, Nodes, Layout, and TopologyContext to pass the active stack from StackContext. Pool data remains global as it has no per-stack meaning.

antoncxx added 2 commits June 23, 2026 13:08
/api/sessions and /api/nodes were returning global data across all
stacks. Now both require a {stack} path param, matching the pattern
established by /api/services, /api/graph, and /api/chains.

The teardown endpoint moves from DELETE /api/sessions/{id} to
DELETE /api/sessions/{stack}/{id} accordingly.

UI updated across Dashboard, Sessions, Nodes, Layout, and
TopologyContext to pass the active stack from StackContext.
Pool data remains global as it has no per-stack meaning.
@antoncxx antoncxx marked this pull request as ready for review June 23, 2026 17:59
@GyulyVGC GyulyVGC added the enhancement New feature or request label Jun 23, 2026
@GyulyVGC GyulyVGC merged commit 269d4f0 into NullNet-ai:main Jun 23, 2026
4 checks passed
@antoncxx antoncxx deleted the per-stack-apis branch June 24, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants