(self, request, *args, **kwargs)
| 190 | |
| 191 | @action(detail=False, methods=["get"], url_path="ids") |
| 192 | def get_ids(self, request, *args, **kwargs): |
| 193 | # Get the filtered queryset |
| 194 | queryset = self.get_queryset() |
| 195 | |
| 196 | # Apply filtering, search, and ordering |
| 197 | queryset = self.filter_queryset(queryset) |
| 198 | |
| 199 | # Return only the IDs from the queryset |
| 200 | stream_ids = queryset.values_list("id", flat=True) |
| 201 | |
| 202 | return JsonResponse(list(stream_ids), safe=False) |
| 203 | |
| 204 | @extend_schema( |
| 205 | parameters=[ |
nothing calls this directly
no test coverage detected