storacha / content-claims

🦪 Implementation of the Content Claims Protocol.
Other
10 stars 1 forks source link

Allow filtering by content claim type #26

Open olizilla opened 1 year ago

olizilla commented 1 year ago

Let's store the can capability name (e.g. assert/equals) in the dynamo record so we can allow users to ask for just claims of a given type.

For the CAR-by-PieceCID api, i only need assert/equals claims, but currently have to fetch all claims for a cid, and filter by claim type after receiving a bunch of claims i don't need.