mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Add a separate page for linking to documentation
It’s going to get too cluttered to have these links on the API index page.
This commit is contained in:
@@ -16,6 +16,15 @@ def api_integration(service_id):
|
||||
)
|
||||
|
||||
|
||||
@main.route("/services/<service_id>/api/documentation")
|
||||
@login_required
|
||||
@user_has_permissions('manage_api_keys')
|
||||
def api_documentation(service_id):
|
||||
return render_template(
|
||||
'views/api/documentation.html'
|
||||
)
|
||||
|
||||
|
||||
@main.route("/services/<service_id>/api/keys")
|
||||
@login_required
|
||||
@user_has_permissions('manage_api_keys')
|
||||
|
||||
Reference in New Issue
Block a user