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

View File

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