API Reference
Get Storage types
List Storage Types
Retrieves a list of storage types supported by Claid.
List of storage types.
Request
Response body
Get Connected Storages
List Storages
Retrieves a list of storages connected to your Claid account, as well as their id
, name
, type
, and parameters
.
Successful Response
Request
Response body
Create a new Claid Storage
Create Storage
Connects storage to Claid. You can connect your AWS S3 or GCP bucket, or your own web folder.
The name of storage in Claid. Note: it doesn't have to be the same as a global name of a bucket.
An enumeration.
Global parameters of storage (as opposed to Claid's internal properties, such as name
and type
)
Successful Response
Here is an example of creating AWS storage via API:
Request
Response body
parameters
supported by the AWS S3 storage:
Parameter | Type |
---|---|
| string |
| string |
| string |
| string |
| string |
parameters
supported by the GCS storage: #todo
| string |
| string |
| string |
| string |
| string |
parameters
supported by the Web Folder storage:
| string |
| string |
Describe storage by id
Get Storage
Retrieves information about particular storage, including its id
, name
, type
, and parameters
.
Successful Response
Request
Response body
Delete Storage
Disconnects storage from Claid. Note: It doesn't delete your bucket on your cloud platform.
Successful Response
Request
Patch Storage
Changes storage name
, type
, and/or parameters
.
An enumeration.
Successful Response
Request
Response body
Last updated