From d6ecb486d24049689e64bb617221b647ef4c7fdb Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Thu, 18 Apr 2019 11:45:28 -0400 Subject: [PATCH] deprecate /api/v2/dashboard in favor of /api/v2/metrics --- awx/api/views/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/api/views/__init__.py b/awx/api/views/__init__.py index bdf93b888c..78baf63d7e 100644 --- a/awx/api/views/__init__.py +++ b/awx/api/views/__init__.py @@ -168,6 +168,8 @@ def api_exception_handler(exc, context): class DashboardView(APIView): + deprecated = True + view_name = _("Dashboard") swagger_topic = 'Dashboard'