MinIO
ToolJet can connect to MinIo and perform various operation on them.
Connection​
To establish a connection with the MinIo data source, click on the + Add new data source button located on the query panel or navigate to the Data Sources page from the ToolJet dashboard.
ToolJet requires the following to connect to your MinIO server:
- Host: The hostname of your MinIO server, without
http://orhttps://. Pre-filled withplay.min.io. - Port: Pre-filled with
9000. - SSL: Turn on to connect over HTTPS. It's on by default; turn it off if your server only accepts HTTP.
- Access key
- Secret key
Querying MinIo​
- Click on + Add button of the query manager at the bottom panel of the editor.
- Select the data source added in the previous step as the data source.
- Select the operation that you want to perform.
- Click on the Run button to run the query
Query results can be transformed using transformations. Read our transformation documentation to see how: link
Supported Operations​
- Read object
- Put object
- Remove object
- List buckets
- List objects in a bucket
- Presigned url for download
- Presigned url for upload
Read Object​
Retrieve an object from a bucket.
Required Parameter:​
- Bucket
- Object Name
Response Structure
The Read Object operation returns an object that includes a UTF-8 encoded string representation of the object along with its raw binary data.
| Field | Type | Description |
|---|---|---|
Body | string | UTF-8 encoded string representation of the object data. Suitable for text-based formats such as JSON, CSV, and plain text. |
rawData | Buffer | Raw binary data of the object. Suitable for non-text content such as images, PDFs, and other binary files. |
Put Object​
Upload or update an object in a bucket.
Required Parameter:​
- Bucket
- Object Name
- Upload data
Optional Parameter:​
- Content Type
List Buckets​
Retrieve a list of all buckets.
List Objects in a Bucket​
List objects within a specified bucket.
Required Parameters​
- Bucket
Optional Parameters​
- Prefix
Pre-signed URL for Download​
Generate a pre-signed URL for downloading an object.
Required Parameter:​
- Bucket
- Object Name
Optional Parameter:​
- Expires in
Pre-signed URL for Upload​
Generate a pre-signed URL for uploading an object.
Required Parameter:​
- Bucket
- Object Name
Optional Parameter:​
- Expires in
Remove Object​
Delete an object from a bucket.
Required Parameter:​
- Bucket
- Object Name
