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-04-13 10:27:17 +02:00
|
|
|
|
2021-11-16 12:04:40 +01:00
|
|
|
|
|
|
|
@api_v1.route("/")
|
|
|
|
@api_v1.route("/health")
|
|
|
|
def api_index():
|
2022-05-31 13:40:46 +02:00
|
|
|
return "Stackspin API v1.0"
|