swh.web.save_bulk.views module#
- swh.web.save_bulk.views.api_save_bulk_origins_list(request: HttpRequest, request_id: str) JsonResponse [source]#
View that returns a list of origins and their visit types, submitted by a user through a POST request to the /api/1/origin/save/bulk/ endpoint, in a paginated way. Its purpose is to be consumed by the save-bulk lister that checks origins can be archived and schedules their loadings.