Story #7232
Updated by bmbouter over 4 years ago
## Background Users need to: * List all groups * View a single group * Modify a group * Delete a group ## URL * `GET /pulp/api/v3/groups/` - the list view * `GET /pulp/api/v3/groups/:uuid/` - the detail view * `PUT/PATCH /pulp/api/v3/groups/:uuid/` - the modify view * `DELETE /pulp/api/v3/groups/:uuid/` - the deletion view ## The Model The model is defined by Django: https://github.com/django/django/blob/7af8f4127397279d19ef7c7899e93018274e2f9b/django/contrib/auth/models.py#L92-L126 ## Serializer fields name = models.CharField(max_length=200) # Taken from Django's model definition permissions - a list of dictionary items with the keys `object` and `permission`. users - a URL Field to the users who are members