MinIO icon

MinIO

Connect to your MinIO server

Actions11

Overview

This node operation retrieves metadata (stat) information about a specific object stored in a bucket. It is useful for scenarios where you need to check details such as the object's size, last modified date, or version information without downloading the object itself. For example, it can be used to verify the existence and properties of a file before processing it further in an automation workflow.

Use Case Examples

  1. Checking the size and last modified date of a file in a cloud storage bucket before triggering a processing job.
  2. Retrieving version information of an object to ensure the correct version is being used in a workflow.

Properties

Name Meaning
Bucket Name Specifies the name of the bucket containing the object. It can be selected from a list of available buckets or provided as an ID string.
Object Name Specifies the name (key) of the object within the bucket. It can be selected from a list of objects or provided as an ID string. This property is required for the stat operation.
Options Additional options for the stat operation, such as specifying a version of the object using a JSON structure with a versionId field.

Output

JSON

  • bucketName - The name of the bucket containing the object.
  • objectName - The name (key) of the object in the bucket.
  • size - The size of the object in bytes.
  • lastModified - The last modified timestamp of the object.
  • versionId - The version ID of the object, if versioning is enabled and specified.

Dependencies

  • Requires access to a MinIO or compatible S3 storage service with appropriate credentials to authenticate and authorize the stat operation.

Troubleshooting

  • Ensure the bucket name and object name are correct and exist in the storage service to avoid 'object not found' errors.
  • Verify that the credentials used have permission to access the specified bucket and object.
  • If using versioning options, ensure the versionId provided is valid and exists for the object.
  • Common error messages may include access denied, bucket not found, or object not found, which can be resolved by checking permissions and resource names.

Discussion