25 lines
819 B
Python
25 lines
819 B
Python
|
|
"""Aggregate v1 blueprint. Future blueprints (missions, ...) register here."""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from flask import Blueprint
|
||
|
|
|
||
|
|
from app.api.auth import bp as auth_bp
|
||
|
|
from app.api.diag import bp as diag_bp
|
||
|
|
from app.api.groups import bp as groups_bp
|
||
|
|
from app.api.health import bp as health_bp
|
||
|
|
from app.api.invitations import bp as invitations_bp
|
||
|
|
from app.api.permissions import bp as permissions_bp
|
||
|
|
from app.api.setup import bp as setup_bp
|
||
|
|
from app.api.users import bp as users_bp
|
||
|
|
|
||
|
|
bp = Blueprint("v1", __name__, url_prefix="/api/v1")
|
||
|
|
bp.register_blueprint(health_bp)
|
||
|
|
bp.register_blueprint(diag_bp)
|
||
|
|
bp.register_blueprint(setup_bp)
|
||
|
|
bp.register_blueprint(auth_bp)
|
||
|
|
bp.register_blueprint(invitations_bp)
|
||
|
|
bp.register_blueprint(users_bp)
|
||
|
|
bp.register_blueprint(groups_bp)
|
||
|
|
bp.register_blueprint(permissions_bp)
|