HomePhabricator
Diffusion Comm f8deb7ba706e

[blob] New endpoint to batch-add holders

Description

[blob] New endpoint to batch-add holders

Summary:
Address ENG-9356.

Created POST /holders endpoint on Blob Service.
Request is a list of blobHash-holder pairs.
Response is a list of results for each pair: blobHash, holder, dataExists, holderAlreadyExists, success

Depends on D13479

Test Plan: Ran Blob locally and used Postman to add some holders. To verify returned booleans, mixed this endpoint calls with calling single-blob endpoints to upload blobs, add/remove holders

Reviewers: will, kamil, marcin, tomek

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D13480

Details

Provenance
bartekAuthored on Sep 25 2024, 2:42 AM
Reviewer
kamil
Differential Revision
D13480: [blob] New endpoint to batch-add holders
Parents
rCOMM15722dd21581: [blob] New endpoint to batch-delete holders
Branches
Unknown
Tags
Unknown