Welcome to the Cloud Storage Platform API Reference! Here you will find detailed information about our APIs, including endpoints, parameters, and usage examples.
Endpoints
List Storage Buckets
- Endpoint:
/api/v1/buckets
- Method:
GET
- Description: Retrieve a list of all storage buckets.
- Endpoint:
Create a New Bucket
- Endpoint:
/api/v1/buckets
- Method:
POST
- Description: Create a new storage bucket.
- Endpoint:
Upload a File
- Endpoint:
/api/v1/files
- Method:
POST
- Description: Upload a file to a storage bucket.
- Endpoint:
Download a File
- Endpoint:
/api/v1/files/{file_id}
- Method:
GET
- Description: Download a file from a storage bucket.
- Endpoint:
Usage Examples
Here's an example of how to use the API to list storage buckets:
curl -X GET "https://api.cloudstorageplatform.com/api/v1/buckets" -H "Authorization: Bearer <YOUR_ACCESS_TOKEN>"
Security
All API requests must be authenticated using an access token. You can obtain an access token by registering for an account on our website.
Additional Resources
For more information about the Cloud Storage Platform, please visit our official documentation.
Cloud Storage