Skip to content

API endpoint groups #1178

Open
@andrewtavis

Description

@andrewtavis

Terms

Description

This issue follows the work done in #1077 and the corresponding PR in #1159. The goal is that we'll similarly achieve greater flexibility for groups via a transition to an APIView and Serializer, replacing the current ViewSet and ModelSerializer. In order to make the api implement that more flexible we want to move to a APIView and the serializers.Serialer instead of the ViewSet and ModelSerializer.

APIViews are not handling List and Detail Views, therefore we are going to split the views into:

class GroupListAPIView(APIView):
      pass
        
class GroupDetailAPIView(APIView):
      pass

Note that the work in #1159 can generally be copied for this issue with the work for organizations there being translated where needed for groups.

Contribution

Happy to support on this and potentially get to it myself. Can also review as needed if someone wants to open a PR! 😊

Metadata

Metadata

Assignees

Labels

backendRelates to the project backendhelp wantedExtra attention is neededpythonRelates to Python code

Projects

  • Status

    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions