endpoint accept usernames/emails
@@ -1760,7 +1760,7 @@ def get_metadata_terms_page(request, *args, **kwargs):
return render(request, 'pages/metadata_terms.html')
-uid = openapi.Parameter('user_identifier', openapi.IN_PATH, description="id of the user for which data is needed", type=openapi.TYPE_INTEGER)
+uid = openapi.Parameter('user_identifier', openapi.IN_PATH, description="email, username, or id of the user for which data is needed", type=openapi.TYPE_STRING)
@swagger_auto_schema(method='get', operation_description="Get user data",
responses={200: "Returns JsonResponse containing user data"}, manual_parameters=[uid])
@api_view(['GET'])
