Skip to content

feat(app): add REST API behind api feature gate#59

Open
bugsbunny88 wants to merge 5 commits intojdhoffa:mainfrom
bugsbunny88:feat/rest-api
Open

feat(app): add REST API behind api feature gate#59
bugsbunny88 wants to merge 5 commits intojdhoffa:mainfrom
bugsbunny88:feat/rest-api

Conversation

@bugsbunny88
Copy link

@bugsbunny88 bugsbunny88 commented Feb 8, 2026

Summary

  • Read-only REST API with GET /state and GET /telemetry endpoints
  • Behind --features api so the core stays dependency-free
  • Uses axum with immutable Arc<AppState>, no locks needed

Closes #22

Note

This is PR 5 of 6 in a stacked series. Please merge after #58.

Test plan

  • cargo test --features api passes
  • Integration tests cover 200 OK, range queries, and 400 errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add REST API for state and telemetry

1 participant