13min

Storage API

The storage API provides the ability to store unstructured data (aka files) and removes the hassle of having to use a separate service to store images, avatars, and text files. With this API, you can create storage spaces, upload, and download files.

Features

  • Create/Remove Buckets
  • Upload Images/Videos/Files
  • Use path parameter to organize in folders
  • Secure using JWT Bearer Auth

REST API Commands

Bucket management

  • PUT /storage/{bucket} Create a Bucket
  • DELETE /storage/{bucket} Delete a Bucket

Object Managment

  • POST /storage/{bucket} Store Object
  • GET /storage/{bucket}/{object} Get Object
  • PUT /storage/{bucket}/{object} Update Object
  • DELETE /storage/{bucket}/{object} Delete Object

Getting Started

Create a bucket

JS
|

Upload a file

JS
|

ο»Ώ

ο»Ώ

Updated 31 Jan 2022
Did this page help?
Yes
No