HomeSoftware Heritage

Deprecate the origin_add_one() endpoint

Authored by douardda on Jun 22 2020, 11:27 AM.

Description

Deprecate the origin_add_one() endpoint

This endpoint is not really useful since the origin_add() can be used
instead.

Using a single API endpoint would also make the API a bit more consistant
(most other endpoints only provide a xxx_add endpoint) ; having a single
endpoint per object_type make is enough and make the whole API simpler.

Details

Committed
douarddaJun 23 2020, 4:07 PM
Pushed
douarddaJun 23 2020, 4:49 PM
Differential Revision
D3328: Deprecate the origin_add_one() endpoint
Parents
rDSTOfb603e1b9874: Make Storage.add_origin() return a sumary dict
Branches
Unknown
Tags
Unknown
Build Status
Buildable 13059
Build 19912: test-and-buildJenkins console · Jenkins