2021-09-27 12:03:35 +02:00
|
|
|
from flask import Blueprint
|
|
|
|
|
2021-11-16 12:04:40 +01:00
|
|
|
api_v1 = Blueprint("api_v1", __name__, url_prefix="/api/v1")
|
2022-03-21 08:02:29 +01:00
|
|
|
web = Blueprint("web", __name__, url_prefix="/web")
|
2022-04-01 09:15:30 +02:00
|
|
|
cli = Blueprint('cli', __name__)
|
2021-11-16 12:04:40 +01:00
|
|
|
|
|
|
|
@api_v1.route("/")
|
|
|
|
@api_v1.route("/health")
|
|
|
|
def api_index():
|
|
|
|
return "Open App Stack API v1.0"
|