Skip to content

Commit

Permalink
feat(api): Depreciate API V1 endpoint /api/config
Browse files Browse the repository at this point in the history
API v2 endpint is /itam/device/x on path .config or .rendered_config

ref: #248 #345 #382
  • Loading branch information
jon-nfc committed Nov 7, 2024
1 parent d3e3341 commit ed6065b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/api/views/itam/config.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
from django.contrib.auth.mixins import PermissionRequiredMixin, LoginRequiredMixin

from drf_spectacular.utils import extend_schema

from itam.models.device import Device

from rest_framework import views
from rest_framework.response import Response


@extend_schema( deprecated = True )
class View(views.APIView):

def get(self, request, slug):
Expand Down

0 comments on commit ed6065b

Please sign in to comment.