website logo
⌘K
Introduction
Getting started
πŸ“Reference
Data API
Cache API
Search API
Storage API
Queue API
Crawler API
πŸ”‘Authentication
βœ”οΈConfiguration
⚑Contributing to hyper
πŸ”ŒBuilding your own adapter
Code of Conduct
hyper RFCs
Style Guide
Bugs
Before Submitting A Bug Report
Building your own plugin
API Clients
Build your own client πŸ› οΈ
hyper connect
NodeJS Client πŸš€
Deno Client πŸ¦•
Middleware
Hooks
🚒Deploy
Deploy hyper on Render
Deploy hyper on AWS
Deploy hyper on Digital Ocean
Deploy hyper on Google Cloud
Deploy hyper on Azure
πŸ“œChangelog
FAQ
πŸ“•Terminology
Parameters
What is REST?
What is JSON?
πŸ“˜Glossary
Docs powered byΒ archbeeΒ 
6min

Create a Bucket

PUT /storage/{bucket}

creates a bucket name for your unstructured storage location

Parameters

  • bucket - {string} - name of your bucket storage
    • value requirements
      • must begin with a lowercase letter (a-z)
      • must be lowercase letters (a-z)
      • digits (0-9)
      • any of these characters _ $ + -

Request Body

  • No Request Body required.

Example

ο»Ώ

Curl
JS
|
curl -X PUT https://cloud.hyper.io/app/storage/mybucket -H 'Authorization: Bearer $(TOKEN)'
ο»Ώ

ο»Ώ

Responses

ο»Ώ

Status Code

Description

Example

201

Created

{"ok": true}

401

Not Authorized

{"ok": false, "msg": "Not Authorized"}

500

Error Occured

{"ok": false, "msg": "Error" }

ο»Ώ

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Delete a Bucket
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
PUT /storage/{bucket}
Parameters
Request Body
Example
Responses