HomeSoftware Heritage

Make origin_visit api endpoint consistent with existing api

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

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
ardumontSep 2 2016, 1:33 PM
Parents
rDWAPPSf57e7e17f576: Refactor - Remove blank spaces
Branches
Unknown
Tags
Unknown