Merge pull request #3733 from ryanpetrello/dashboard-deprecation

deprecate /api/v2/dashboard in favor of /api/v2/metrics

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-04-18 16:09:19 +00:00 committed by GitHub
commit 8cc18f501e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,6 +168,8 @@ def api_exception_handler(exc, context):
class DashboardView(APIView):
deprecated = True
view_name = _("Dashboard")
swagger_topic = 'Dashboard'