mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Status page updated with api version and db version.
This commit is contained in:
@@ -6,6 +6,7 @@ status = Blueprint('status', __name__)
|
||||
|
||||
@status.route('/_status', methods=['GET', 'POST'])
|
||||
def show_status():
|
||||
return jsonify(
|
||||
status="ok",
|
||||
), 200
|
||||
from app import (get_api_version, get_db_version)
|
||||
return jsonify(status="ok",
|
||||
api_version=get_api_version(),
|
||||
db_version=get_db_version()), 200
|
||||
|
||||
Reference in New Issue
Block a user