-
- Downloads
Add origin-url alternative to some endpoints that take an origin-id.
'revision log' endpoints with complex lookups are excluded from this commit, as it's impossible to get a non-ambiguous URL for them without excessive hacks.
Showing
- swh/web/api/views/origin.py 168 additions, 86 deletionsswh/web/api/views/origin.py
- swh/web/common/origin_visits.py 17 additions, 14 deletionsswh/web/common/origin_visits.py
- swh/web/common/service.py 15 additions, 17 deletionsswh/web/common/service.py
- swh/web/tests/api/views/test_origin.py 130 additions, 13 deletionsswh/web/tests/api/views/test_origin.py
- swh/web/tests/api/views/test_revision.py 2 additions, 2 deletionsswh/web/tests/api/views/test_revision.py
- swh/web/tests/common/test_origin_visits.py 0 additions, 1 deletionswh/web/tests/common/test_origin_visits.py
Loading
Please register or sign in to comment