Page MenuHomeSoftware Heritage

Add API endpoint api_origin_visit_latest.
ClosedPublic

Authored by vlorentz on Jul 10 2019, 1:33 PM.

Details

Summary

It will replace the 'internal' endpoint _origin_latest_snapshot,
and won't require fetching the whole snapshot just to know
if there is a visit with a snapshot.

Depends on D1708.

Diff Detail

Repository
rDWAPPS Web applications
Branch
api_origin_visit_latest
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6768
Build 9468: tox-on-jenkinsJenkins
Build 9467: arc lint + arc unit

Event Timeline

anlambert added a subscriber: anlambert.
anlambert added inline comments.
swh/web/common/service.py
862

Correct return parameters formatting using Napoleon style is:

dict: The origin_visit concerned
This revision is now accepted and ready to land.Jul 10 2019, 1:50 PM

Fix compatibility with the current version of the storage.

This revision was landed with ongoing or failed builds.Jul 10 2019, 2:11 PM
This revision was automatically updated to reflect the committed changes.