Quickstart guide
Everabyte Cloud Storage API Quickstart Guide
Introduction
Prerequisites
cURL
, Postman, or your preferred programming language.Authentication
Authentication Request
Successful Authentication Response
{
"status": 200,
"message": "Successful connection",
"data": {
"token": "your_token_generated"
}
}
Important: Keep your token secure and never expose it in public repositories or client-side code.
Using Your Token
Available Storage Plans
https://api.everabyte.io/api
, regardless of your storage plan. However, features and limitations may vary based on your subscription.Step 1: Obtain Your API Key
1.
2.
3.
Tip: Keep your API key secure and never expose it in your public code or repositories.
Step 2: Set Up Your Environment
Step 3: Make Your First API Request
Example Request (using Curl):
Replace YOUR_API_KEY
with the actual API key you obtained in Step 1.
Expected Response:
{
"status": 200,
"message": "User found successfully",
"data": {
"id": "user_id",
"email": "your_email@domain.com",
"username": "my_username",
"avatar": null,
"theme": null,
"lang": "en",
"information": {
"id": "information_id",
"firstName": null,
"lastName": null,
"telephone": null,
"birthday": null,
"gender": null,
"website": null,
"facebook": null,
"twitter": null,
"linkedin": null,
"instagram": null
}
}
}
Step 4: Upload a File
Example Request (using Curl):
Replace /path/to/your/file.txt
with the actual file you want to upload.
Expected Response:
{
"status": 200,
"message": "File uploaded successfully.",
"data": ""
}
Step 5: List Files in Your Storage
Example Request (using Curl):
Expected Response:
{
"status": 200,
"message": "",
"data": {
"total": 0,
"data": []
}
}
Step 6: Download a File
Example Request (using Curl):
abc123
(replace with the actual file ID).Step 7: Handling Errors
Step 8: Next Steps
Conclusion
Explanation of Key Sections:
1.
2.
3.
4.
5.
API Reference
and API Documentation
to the actual documentation pages when available.