BUZZHEAVIER
Motherfucking file hosting service
curl -#o - -T "sample.mp4" "https://w.buzzheavier.com/sample.mp4" | cat
curl -#o - -T -H "Authorization: Bearer YOUR_ACCOUNT_ID" "sample.mp4"
"https://w.buzzheavier.com/{parentId}/sample.mp4" | cat
curl -#o - -T "sample.mp4" "https://w.buzzheavier.com/sample.mp4?locationId={locationId}" | cat
curl -#o - -T "sample.mp4" "https://w.buzzheavier.com/sample.mp4?note=$(echo -n "your_note_text" | base64)" | cat
Authorization Header:Authorization: Bearer YOUR_ACCOUNT_ID
Method: PUT
Endpoint: https://w.buzzheavier.com/{name}
Param name:
file name - required, max 500 chars
Description: Uploads a file to default location
Method: PUT
Endpoint: https://w.buzzheavier.com/{parentId}/{name}
Param name:
file name - required, max 500 chars
Param parentId:
id of directory where file will be uploaded
Description: Upload file into user directory
Method: PUT
Endpoint: https://w.buzzheavier.com/{name}?locationId={locationId}
Param name:
file name - required, max 500 chars
Param locationId:
location where file will be stored - optional
Description: Uploads a file to a specific storage location
Method: PUT
Endpoint: https://w.buzzheavier.com/{name}?note={base64(note)}
Param name:
file name - required, max 500 chars
Param note:
base64 encoded text which will be shown under download link - optional, max 500 chars
Description: Uploads a file with note
Method: GET
Endpoint:https://buzzheavier.com/api/locations
Description: Retrieves file storage locations available to you.
Method: GET
Endpoint: https://buzzheavier.com/api/account
Description: Retrieves the current authenticated account's information.
Method: GET
Endpoint: https://buzzheavier.com/api/fs
Description: Retrieves the contents of the root directory.
Method: GET
Endpoint: https://buzzheavier.com/api/fs/{directoryId}
Description: Retrieve the contents of the specified directory.
Method: POST
Endpoint: https://buzzheavier.com/api/fs
Description: Create a new directory in the specified path.
{
"name": "string", // Name of the new directory
"parentId": "string" // ID of the parent directory
}
Method: PATCH
Endpoint: https://buzzheavier.com/api/fs/{directoryId}
Description: Renames the specified directory.
{
"name": "string" // New name for the directory
}
Method: PUT
Endpoint: https://buzzheavier.com/api/fs/{directoryId}
Description: Moves the specified directory to a new parent directory.
{
"parentId": "string", // DirectoryId where you want to move give directory
}
Method: PATCH
Endpoint: https://buzzheavier.com/api/fs/{fileId}
Description: Renames the specified file.
{
"name": "string" // New name for the file
}
Method: PUT
Endpoint: https://buzzheavier.com/api/fs/{fileId}
Description: Moves the specified file to a new parent directory.
{
"parentId": "string", // DirectoryId where you want to move give directory
}
Method: PUT
Endpoint: https://buzzheavier.com/api/fs/{fileId}
Description: Adds / changes to note of file.
{
"note": "string", // Note you want to add to file
}
Method: DELETE
Endpoint: https://buzzheavier.com/api/fs/{directoryId}
Description: Deletes the specified directory and it's subdirectories.