Skip to content

Commit

Permalink
Merge pull request #10 from srini047/enhance-root-endpoint
Browse files Browse the repository at this point in the history
Enhacne the response of '/' endpoint
  • Loading branch information
masci authored Apr 18, 2024
2 parents ad5a10c + 2bf47e3 commit 4b22762
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/hayhooks/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,10 @@ def create_app():

@app.get("/")
async def root():
return {}
return {
"swagger_docs" : "http://localhost:1416/docs",
"deploy_pipeline" : "http://localhost:1416/deploy",
"draw_pipeline" : "http://localhost:1416/draw/{pipeline_name}",
"server_status" : "http://localhost:1416/status",
"undeploy_pipeline" : "http://localhost:1416/undeploy/{pipeline_name}",
}

0 comments on commit 4b22762

Please sign in to comment.