save_bulk: Add Web API endpoint to get feedback about a sent request
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 (closed).
Merge request reports
Activity
Jenkins job DWAPPS/gitlab-builds #959 succeeded .
See Console Output and Coverage Report for more details.mentioned in merge request !1302 (merged)
Jenkins job DWAPPS/gitlab-builds #964 failed .
See Console Output and Coverage Report for more details.@jenkins please retry the build
Jenkins job DWAPPS/gitlab-builds #966 succeeded .
See Console Output and Coverage Report for more details.- Resolved by vlorentz
- Resolved by Antoine Lambert
added 8 commits
-
3f634ae4...0f8cf67a - 5 commits from branch
swh/devel:master
- 7832bce6 - api/apidoc: Add support for note rst directive
- 0ab807d4 - utils/urlsindex: Add support for django non regexp route
- 28ec3d48 - save_bulk: Add Web API endpoint to get feedback about a sent request
Toggle commit list-
3f634ae4...0f8cf67a - 5 commits from branch
Jenkins job DWAPPS/gitlab-builds #1004 failed .
See Console Output and Coverage Report for more details.added 1 commit
- b337b89d - save_bulk: Add Web API endpoint to get feedback about a sent request
Jenkins job DWAPPS/gitlab-builds #1005 failed .
See Console Output and Coverage Report for more details.Jenkins job DWAPPS/gitlab-builds #1006 succeeded .
See Console Output and Coverage Report for more details.added 1 commit
- 16ee1f64 - save_bulk: Add Web API endpoint to get feedback about a sent request
Jenkins job DWAPPS/gitlab-builds #1008 succeeded .
See Console Output and Coverage Report for more details.added 6 commits
-
16ee1f64...9f3edb45 - 3 commits from branch
swh/devel:master
- 0fd29b7d - api/apidoc: Add support for note rst directive
- fa75d16c - utils/urlsindex: Add support for django non regexp route
- 8ad3c420 - save_bulk: Add Web API endpoint to get feedback about a sent request
Toggle commit list-
16ee1f64...9f3edb45 - 3 commits from branch
Jenkins job DWAPPS/gitlab-builds #1021 failed .
See Console Output and Coverage Report for more details.