# Path: ceagle/api_fake_data/fake_runbooks.py
# def get_single_runbook(with_latest_run=True):
# def get_single_run(with_parent=True):
# def handle_runbooks(region=None):
# def handle_single_runbook(region, book_id):
# def run_runbook(region, book_id):
# def runbook_runs(region=None):
# def single_runbook_run(region, run_id):


import flask
from ceagle.api_fake_data import fake_runbooks
@bp.route("/runbooks", methods=["GET"])
@bp.route("/region/<region>/runbooks",
          methods=["GET", "POST"])
@fake_runbooks.handle_runbooks
def handle_runbooks(region=None):
    return flask.jsonify("fixme!")


@bp.route("/region/<region>/runbooks/<book_id>",
          methods=["GET", "PUT", "DELETE"])
@fake_runbooks.handle_single_runbook
def handle_single_runbook(region, book_id):
    return flask.jsonify("fixme!")


@bp.route("/region/<region>/runbooks/<book_id>/run",
          methods=["POST"])
@fake_runbooks.run_runbook
def run_runbook(region, book_id):
    return flask.jsonify("fixme!")


@bp.route("/runbook_runs")
@bp.route("/region/<region>/runbook_runs")
@fake_runbooks.runbook_runs
def runbook_runs(region=None):
    return flask.jsonify("fixme!")


@bp.route("/region/<region>/runbook_runs/<run_id>")

# Path: ceagle/api_fake_data/fake_runbooks.py
# def get_single_runbook(with_latest_run=True):
# def get_single_run(with_parent=True):
# def handle_runbooks(region=None):
# def handle_single_runbook(region, book_id):
# def run_runbook(region, book_id):
# def runbook_runs(region=None):
# def single_runbook_run(region, run_id):


# Path: ceagle/api/v1/runbooks.py
import flask
from ceagle.api_fake_data import fake_runbooks

@bp.route("/runbooks", methods=["GET"])
@bp.route("/region/<region>/runbooks",
          methods=["GET", "POST"])
@fake_runbooks.handle_runbooks
def handle_runbooks(region=None):
    return flask.jsonify("fixme!")


@bp.route("/region/<region>/runbooks/<book_id>",
          methods=["GET", "PUT", "DELETE"])
@fake_runbooks.handle_single_runbook
def handle_single_runbook(region, book_id):
    return flask.jsonify("fixme!")


@bp.route("/region/<region>/runbooks/<book_id>/run",
          methods=["POST"])
@fake_runbooks.run_runbook
def run_runbook(region, book_id):
    return flask.jsonify("fixme!")


@bp.route("/runbook_runs")
@bp.route("/region/<region>/runbook_runs")
@fake_runbooks.runbook_runs
def runbook_runs(region=None):
    return flask.jsonify("fixme!")


@bp.route("/region/<region>/runbook_runs/<run_id>")

@fake_runbooks.single_runbook_run