-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support the Pinning Services API #1213
Comments
It would be fantastic if people could spawn own ipfs-cluster and use it as self-hosted pinning service: Single-user MVP for private deployments (cloud, LAN) does not even need to have auth-token validation implemented. |
@hsanjuan given that cluster already has |
This would go as a separate module, on a separate listener as a fully separate API that can be enabled/disabled as needed, like the existing one and the ipfs-proxy one. |
This fixes #1213. It adds partial support for the Pinning Services API with some caveats: * RequestIDs == CIDs. This is a violation of the spec, as request IDs will not be unique etc. * Pagination, name matching, metadata matching, ordering etc. are not supported in the List endpoint. * The List endpoint only supports status filtering and cid query parameter. * Created time property is not supported and always set to Now() There is more work to do here: cleanup, extract useful types etc. and TESTS.
This fixes #1213. It adds partial support for the Pinning Services API with some caveats: * RequestIDs == CIDs. This is a violation of the spec, as request IDs will not be unique etc. * Pagination, name matching, metadata matching, ordering etc. are not supported in the List endpoint. * The List endpoint only supports status filtering and cid query parameter. * Created time property is not supported and always set to Now() There is more work to do here: cleanup, extract useful types etc. and TESTS.
This fixes #1213. It adds partial support for the Pinning Services API with some caveats: * RequestIDs == CIDs. This is a violation of the spec, as request IDs will not be unique etc. * Pagination, name matching, metadata matching, ordering etc. are not supported in the List endpoint. * The List endpoint only supports status filtering and cid query parameter. * Created time property is not supported and always set to Now() There is more work to do here: cleanup, extract useful types etc. and TESTS.
Describe the feature you are proposing
A unified API for pinning services has been proposed:
https://github.com/ipfs/pinning-services-api-spec
IPFS Cluster can support this by adding a new API module. It seems most functionality in the spec can be supported fairly easily. This is mostly a subset of the REST API with JWT token authentication and some additional transformations on the data (specific pin objects).
The text was updated successfully, but these errors were encountered: