Browse Source

feat(api): expand index route responses with additional endpoints

Daniel Chew 8 months ago
parent
commit
f3f80244bd
1 changed files with 8 additions and 1 deletions
  1. 8 1
      apps/argus/src/api/index.rs

+ 8 - 1
apps/argus/src/api/index.rs

@@ -4,5 +4,12 @@ use axum::{response::IntoResponse, Json};
 ///
 /// TODO: Dynamically generate this list if possible.
 pub async fn index() -> impl IntoResponse {
-    Json(["/v1/chains", "/v1/chains/:chain_id/revelations/:sequence"])
+    Json([
+        "/",
+        "/live",
+        "/metrics",
+        "/ready",
+        "/v1/chains",
+        "/v1/chains/:chain_id/price-updates/:sequence"
+    ])
 }