API Reference
Get Storage types
Request
Response body
Get Connected Storages
Request
Response body
Create a new Claid Storage
Connects storage to Claid. You can connect your AWS S3 or GCP bucket, or your own web folder.
/v1-beta1/storage/storages
The name of storage in Claid. Note: it doesn't have to be the same as a global name of a bucket.
An enumeration.
web_folder
, s3
, gcs
Global parameters of storage (as opposed to Claid's internal properties, such as name
and type
)
Here is an example of creating AWS storage via API:
Request
Response body
parameters
supported by the AWS S3 storage:
name
string
bucket
string
prefix
string
credentials.access_key
string
credentials.secret_access_key
string
parameters
supported by the GCS storage: #todo
name
string
bucket
string
prefix
string
credentials.access_key
string
credentials.secret_access_key
string
parameters
supported by the Web Folder storage:
name
string
base_url
string
Describe storage by id
Retrieves information about particular storage, including its id
, name
, type
, and parameters
.
/v1-beta1/storage/storages/{storage_id}
Request
Response body
Disconnects storage from Claid. Note: It doesn't delete your bucket on your cloud platform.
/v1-beta1/storage/storages/{storage_id}
Request
Changes storage name
, type
, and/or parameters
.
/v1-beta1/storage/storages/{storage_id}
An enumeration.
web_folder
, s3
, gcs
Request
Response body
Last updated