Skip to content
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

Implement info() and ls() using trustless gateway spec #33

Merged
merged 10 commits into from
Sep 19, 2024
Merged

Implement info() and ls() using trustless gateway spec #33

merged 10 commits into from
Sep 19, 2024

Conversation

d70-t
Copy link
Collaborator

@d70-t d70-t commented Sep 19, 2024

This implements info() and ls() using the trustless gateway specification. This should be a stable way to implement those functions.

fixes #28
fixes #34

There's no real standard way of retrieving IPFS Gateway versions, so we
shouldn't pretend there'd be one.
These are the only methods in the current gateway spec.
This change uses the IPFS Trustless Gateway Spec to retrieve
information required for ls() and info() by decoding the IPFS
data blocks themselves.
@d70-t d70-t merged commit d238640 into main Sep 19, 2024
6 checks passed
@d70-t d70-t deleted the fix_ls branch September 19, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ensure correct exceptions are raised /api/v0 is deprecated on the gateway port
1 participant