Update Postman account collection and modify SensorHubView to remove authentication and permission requirements
This commit is contained in:
+2
-1
@@ -69,7 +69,8 @@ class SensorHubView(APIView):
|
||||
- POST "active/" → Activate: no input. Returns code 200, msg "success". No data field.
|
||||
- POST "deactive/" → Deactivate: no input. Returns code 200, msg "success". No data field.
|
||||
"""
|
||||
|
||||
authentication_classes = [] # No authentication
|
||||
permission_classes = [] # No permission
|
||||
# permission_classes = [IsAuthenticated]
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user