Add services dropdown with operations panel

This commit is contained in:
2026-07-23 11:42:30 +04:00
parent 6a84257533
commit 6b098509e9
3 changed files with 111 additions and 22 deletions
+11
View File
@@ -0,0 +1,11 @@
from api.http_client import HttpClient
def get_services(client):
data = client.get("/services")
return data.get("results", [])
def get_service_detail(client, svc_id):
data = client.get(f"/services/{svc_id}")
return data.get("svc", {})