Skip to content
Snippets Groups Projects
  1. Sep 23, 2024
  2. Sep 17, 2024
  3. Sep 13, 2024
  4. Sep 12, 2024
  5. Sep 11, 2024
  6. Sep 09, 2024
  7. Sep 05, 2024
  8. Sep 04, 2024
  9. Aug 30, 2024
  10. Aug 29, 2024
  11. Aug 28, 2024
  12. Aug 27, 2024
  13. Aug 22, 2024
  14. Aug 21, 2024
    • Antoine Lambert's avatar
      save_bulk: Add Web API endpoint to get feedback about a sent request · f1d5b31c
      Antoine Lambert authored
      Add Web API endpoint /origin/save/bulk/request/(request_id)/ to get
      feedback about a previously sent save bulk request.
      
      The endpoint requires authentication and special permission to be
      queried, also only the user that submitted the request or SWH staff
      members can query it.
      
      It returns for each submitted origin the following info:
      
      - the origin URL
      - the visit type
      - the origin status regarding its processing by the bulk save lister,
        either pending, accepted or rejected
      - the last scheduling date if any
      - the last visit date if any
      - the last visit status if any
      - the last snapshot SWHID if any
      - the rejection reason if the origin was rejected by the lister
      - the browse URL if the origin was successfully visited
      
      These info are returned in a paginated way as the number of submitted
      origins can be large.
      
      Related to #4802.
      f1d5b31c
    • Antoine Lambert's avatar
      utils/urlsindex: Add support for django non regexp route · 59afec2a
      Antoine Lambert authored
      Allow to define endpoint route using a simple string instead of a
      regular expression.
      
      It notably enables to use django parameter type annotations like
      int or uuid.
      59afec2a
Loading