HomeSoftware Heritage

api: Implement endpoint for save origin feature

Description

api: Implement endpoint for save origin feature

This commit adds a new endpoint to the Software Heritage Web API in order
to offer users the possibility to submit software origins to save into
the archive.

The type of origins that can be currently saved are: git, hg and svn.
Submitted urls are first test again a blacklist/whitelist to determine
if they are authorized to be loaded or not. Unknown urls will be put
under pending state until a manual review is performed to determine if
they can be safely loaded or not.

Related T336
Closes T1121

Details

Provenance
anlambertAuthored on Aug 27 2018, 1:24 PM
anlambertPushed on Sep 4 2018, 3:14 PM
Parents
rDWAPPS7279b69e5c03: Revert 60af24b871cc: npm files are needed
Branches
Unknown
Tags
Unknown
Tasks
T1121: save code now API entry point