--- title: "Core API Operation Examples" slug: "core-api-operation-examples" updated: 2026-02-03T15:04:24Z published: 2026-02-03T15:04:24Z canonical: "docs.wasabi.com/core-api-operation-examples" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.wasabi.com/llms.txt > Use this file to discover all available pages before exploring further. # Core API Operation Examples ## Buckets A bucket is a container for storing objects (files). Each bucket must have a globally unique name. #### Create a Bucket **Method:** PUT **Endpoint:** ```php-template https://s3..wasabisys.com/ ``` **Request** (using cURL): ```bash curl -X PUT \  -H "Host: your-bucket-name.s3.wasabisys.com" \  -H "Date: " \  -H "Authorization: AWS :" \  https://s3.wasabisys.com/your-bucket-name ``` ## Objects An object is any file (image, video, document, etc.) stored in a bucket. #### Upload an Object **Method: PUT** **Endpoint:** ```php-template https://s3..wasabisys.com// ``` **Request** (using cURL): ```bash curl -X PUT \  -T "localfile.jpg" \  -H "Host: your-bucket-name.s3.wasabisys.com" \  -H "Date: " \  -H "Authorization: AWS :" \  https://your-bucket-name.s3.wasabisys.com/file.jpg ``` #### Download an Object ```bash curl \  -H "Authorization: AWS :" \  https://your-bucket-name.s3.wasabisys.com/file.jpg -o downloaded.jpg ```