Skip to content

Commit

Permalink
Add test endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPlowman committed Apr 4, 2024
1 parent f61f771 commit ad79d50
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sandbox/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,13 @@ def related_persons() -> Union[dict, tuple]:
except Exception as e:
logger.error(e)
return get_response("./api/responses/internal_server_error.json"), 500


@app.route("/sandbox", methods=["GET"])
def sandbox() -> dict:
"""Sandbox API for GET /sandbox
Returns:
dict: Response for GET /sandbox
"""
return {"message": "Sandbox API is running"}

0 comments on commit ad79d50

Please sign in to comment.