HomeSoftware Heritage

Deprecate the origin_add_one() endpoint

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

Provenance
douarddaAuthored on Jun 22 2020, 11:27 AM
douarddaPushed on Jun 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