Returns a list of summary group objects only for the groups a user is a member of.
(self, request: Request, organisation_pk: int)
| 280 | |
| 281 | @action(detail=False, methods=["GET"], url_path="my-groups") |
| 282 | def my_groups(self, request: Request, organisation_pk: int) -> Response: |
| 283 | """ |
| 284 | Returns a list of summary group objects only for the groups a user is a member of. |
| 285 | """ |
| 286 | return self.list(request, organisation_pk) |
| 287 | |
| 288 | @action(detail=False, methods=["GET"]) |
| 289 | def summaries(self, request: Request, organisation_pk: int) -> Response: |