Listing Files
This guide will show you how to list files pinned to IPFS using Filebase. We offer three methods for listing files: our JavaScript SDK, our S3 Compatible API, and our web application dashboard. Choose the method that best suits your needs.
Using the JavaScript SDK
Installation
First, you need to install the Filebase SDK. You can do this using npm:
Usage
Once you have the SDK installed, you can use it to list files pinned to IPFS. Here’s a simple example to get you started:
API Reference
S3_KEY
andS3_SECRET
: Your Filebase API credentials.objectManager.list()
: List the files in the specified bucket.
For more details, refer to the Filebase SDK documentation.
Using the S3 Compatible API
Authentication
Before you can start listing files using the S3 Compatible API, you need to authenticate using your API key and secret.
Listing Files
You can list files using standard S3 operations. Here’s an example using the AWS SDK for JavaScript:
API Reference
endpoint
: Filebase S3 Compatible API endpoint.Bucket
: The name of your S3 bucket.
For more details, refer to the Filebase S3 API documentation.
Using the Web Application Dashboard
Step-by-Step Guide
Login: Start by logging into your Filebase account.
Navigate to the Dashboard: Once logged in, navigate to the dashboard.
Select Your Bucket: Choose the bucket from which you want to list the files.
View Files: The files pinned to IPFS will be displayed in the dashboard. You can browse through them as needed.
Last updated