swh.deposit.api.private.deposit_list module#

class swh.deposit.api.private.deposit_list.APIList[source]#

Bases: ListAPIView, APIPrivateView

Deposit request class to list the deposit’s status per page.

HTTP verbs supported: GET

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.


alias of DepositSerializer


alias of DefaultPagination


Return a single page of results. This enriches the queryset results with metadata if any.


Retrieve queryset of deposits (with some optional filtering).

swh.deposit.api.private.deposit_list.deposit_list_datatables(request, *args, **kwargs)[source]#

Special API view to list and filter deposits, produced responses are intended to be consumed by datatables js framework used in deposits admin Web UI.