SCE-Development / sce-tv

SCE TV
2 stars 1 forks source link

add /debug endpoint #25

Closed evanugarte closed 7 months ago

evanugarte commented 8 months ago

we need an endpoint called /debug which can return quick information about the server's state and code that its running. an example response should look like

{
  "scetv_githash": "17ae119",
  "scetv_gitbranch": "dev",
  "scetv_gitdirty": 0,
  "state": {
    "process_dict": { },
    "current_video_dict": { }
  },
  "cache": { }
}

game plan