mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-25 02:19:45 -04:00
We can define the API properly in future work. I've used a separate blueprint from "broadcasts" since this API is purely internal, and it's helpful to make it clear it's specific to govuk-alerts.
12 lines
239 B
Python
12 lines
239 B
Python
from flask import Blueprint
|
|
|
|
from app.v2.errors import register_errors
|
|
|
|
v2_govuk_alerts_blueprint = Blueprint(
|
|
"v2_govuk-alerts_blueprint",
|
|
__name__,
|
|
url_prefix='/v2/govuk-alerts',
|
|
)
|
|
|
|
register_errors(v2_govuk_alerts_blueprint)
|