Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for list_objects_v2 (0.85 sec)

  1. docs/extensions/s3zip/examples/boto3/main.py

    def _add_header(request, **kwargs):
        request.headers.add_header('x-minio-extract', 'true')
    event_system = s3.meta.events
    event_system.register_first('before-sign.s3.*', _add_header)
    
    # List zip contents
    response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/")
    print(response)
    
    # Download data.csv stored in the zip file
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 04 21:15:45 UTC 2021
    - 771 bytes
    - Viewed (0)
  2. docs/extensions/s3zip/README.md

    [Using boto3](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/boto3/main.py)
    
    ## Requirements and limits
    
    - ListObjectsV2 can only list the most recent ZIP archive version of your object, applicable only for versioned buckets.
    - ListObjectsV2 API calls must be used to list zip file content.
    - Range requests for GetObject/HeadObject for individual files from zip is not supported.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 10 16:28:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. docs/extensions/s3zip/examples/aws-js/main.js

        secretAccessKey: 'YOUR-SECRETACCESSKEY' ,
        endpoint: 'http://127.0.0.1:9000' ,
        s3ForcePathStyle: true,
        signatureVersion: 'v4'
    });
    
    // List all contents stored in the zip archive
    s3.listObjectsV2({Bucket : 'your-bucket', Prefix: 'path/to/file.zip/'}).
        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
        send(function(err, data) {
            if (err) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 10 15:17:03 UTC 2021
    - 1K bytes
    - Viewed (0)
  4. cmd/bucket-listobjects-handlers.go

    // MinIO continues to support ListObjectsV1 for supporting legacy tools.
    func (api objectAPIHandlers) ListObjectsV2Handler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListObjectsV2")
    	api.listObjectsV2Handler(ctx, w, r, false)
    }
    
    // listObjectsV2Handler performs listing either with or without extra metadata.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. cmd/warm-backend-s3.go

    	}
    	err := s3.client.RemoveObject(ctx, s3.Bucket, s3.getDest(object), ropts)
    	return s3.ToObjectError(err, object)
    }
    
    func (s3 *warmBackendS3) InUse(ctx context.Context) (bool, error) {
    	result, err := s3.core.ListObjectsV2(s3.Bucket, s3.Prefix, "", "", slashSeparator, 1)
    	if err != nil {
    		return false, s3.ToObjectError(err)
    	}
    	return len(result.CommonPrefixes) > 0 || len(result.Contents) > 0, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jun 08 16:13:30 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. cmd/api-router.go

    			Queries("uploads", "")
    		// ListObjectsV2M
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.ListObjectsV2MHandler)).
    			Queries("list-type", "2", "metadata", "true")
    		// ListObjectsV2
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.ListObjectsV2Handler)).
    			Queries("list-type", "2")
    		// ListObjectVersions
    		router.Methods(http.MethodGet).
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. cmd/object_api_suite_test.go

    		}
    	}
    	{
    		ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
    		defer cancel()
    		token := ""
    		for ctx.Err() == nil {
    			result, err := obj.ListObjectsV2(ctx, "bucket", "testPrefix", token, "", 2, false, "")
    			if err != nil {
    				t.Fatalf("%s: <ERROR> %s", instanceType, err)
    			}
    			token = result.NextContinuationToken
    			if len(result.Objects) == 0 {
    				break
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    	DeleteBucket(ctx context.Context, bucket string, opts DeleteBucketOptions) error
    	ListObjects(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int) (result ListObjectsInfo, err error)
    	ListObjectsV2(ctx context.Context, bucket, prefix, continuationToken, delimiter string, maxKeys int, fetchOwner bool, startAfter string) (result ListObjectsV2Info, err error)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    	// An optimization request only an 'n' amount of versions from xl.meta
    	// to avoid resolving all versions to figure out the latest 'version'
    	// for ListObjects, ListObjectsV2
    	requestedVersions int
    
    	bucket string // Name of the bucket. Used for generating cached fileinfo.
    	strict bool   // Versions must match exactly, including all metadata.
    
    	// Reusable slice for resolution
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. cmd/api-response.go

    		prefixItem := CommonPrefix{}
    		prefixItem.Prefix = s3EncodeName(prefix, encodingType)
    		prefixes = append(prefixes, prefixItem)
    	}
    	data.CommonPrefixes = prefixes
    	return data
    }
    
    // generates an ListObjectsV2 response for the said bucket with other enumerated options.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top