HomeSoftware Heritage

Make origin_visit api endpoint consistent with existing api
f90f7ae6544cUnpublished

Authored by ardumont on Sep 2 2016, 12:19 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Make origin_visit api endpoint consistent with existing api

This api endpoint returned only the timestamps.
Its uri scheme was inconsistent with existing api.

This commit fixes it to:

  • /api/1/origin/<int:origin_id>/visits/
  • Now returns the origin_visit record information.

Related T541

Details

Committed
ardumontSep 2 2016, 12:22 PM
Pushed
jbertranSep 2 2016, 5:09 PM
Parents
R65:f57e7e17f576: Refactor - Remove blank spaces
Branches
Unknown
Tags
Unknown