HomeSoftware Heritage

content_get_metadata: Change api to return Dict[bytes, List[Dict]]

Description

content_get_metadata: Change api to return Dict[bytes, List[Dict]]

Clients will be able to introspect directly from the result whether a content
is known or not.

Details

Provenance
ardumontAuthored on Jan 13 2020, 4:14 PM
vlorentzPushed on Jan 16 2020, 5:22 PM
Differential Revision
D2522: content_get_metadata: Adapt endpoint to return Dict[bytes, List[Dict]]
Parents
rDSTOC07b6dc33fcf0: storage.content_get_metadata: Adapt to return nothing if inexistent id
Branches
Unknown
Tags
Unknown