Skip to content

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
@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

2 participants