ipfs / pinning-services-api-spec

Standalone, vendor-agnostic Pinning Service API for IPFS ecosystem
https://ipfs.github.io/pinning-services-api-spec/
Creative Commons Zero v1.0 Universal
100 stars 27 forks source link

Replace Pin.depth with Pin.recursive boolean #17

Closed lidel closed 4 years ago

lidel commented 4 years ago

See also https://github.com/ipfs/pinning-services-api-spec/pull/16 for more flexible enum version.

This PR simplifies Pin object to only support what currently exists.

obo20 commented 4 years ago

Similarly to how pinning services handle depth (they don't) I'm pretty sure all pinning services (including Pinata) assume every pin is recursive in nature and I'm not aware of any service that allows for direct pins. This may be another filter that isn't needed.

lidel commented 4 years ago

Thanks! closing as not needed.