Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

add status counts to nodes api on orchestrator#277

Merged
JannikSt merged 2 commits into
developfrom
improvement/status-counts
Apr 18, 2025
Merged

add status counts to nodes api on orchestrator#277
JannikSt merged 2 commits into
developfrom
improvement/status-counts

Conversation

@JannikSt
Copy link
Copy Markdown
Member

No description provided.

@JannikSt JannikSt requested a review from Copilot April 18, 2025 18:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds status count functionality to the nodes API, allowing clients to retrieve both the list of nodes and a count of each node status.

  • Iterates over nodes to build a JSON object with status counts
  • Updates the API response to include a "counts" field alongside the "nodes" list

Comment thread orchestrator/src/api/routes/nodes.rs Outdated
@JannikSt JannikSt merged commit f6258e4 into develop Apr 18, 2025
1 check passed
JannikSt added a commit that referenced this pull request Apr 21, 2025
* add status counts to nodes api on orchestrator
JannikSt added a commit that referenced this pull request Apr 21, 2025
* add status counts to nodes api on orchestrator
@JannikSt JannikSt deleted the improvement/status-counts branch June 25, 2025 13:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants