- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for list_objects_v2 (0.55 sec)
-
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 04 21:15:45 UTC 2021 - 771 bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 10 16:28:27 UTC 2024 - 3K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 10 15:17:03 UTC 2021 - 1K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 11.4K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 5.7K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 21:57:20 UTC 2024 - 17.3K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 15:25:16 UTC 2024 - 23.1K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 08 15:29:58 UTC 2024 - 24.1K bytes - Viewed (0) -
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 Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 19:27:06 UTC 2024 - 33.4K bytes - Viewed (0) -
cmd/server_test.go
for _, expectedStr := range testCase.expectedStrings { c.Assert(strings.Contains(string(getContent), expectedStr), true) } } } // TestListObjectsV2HadoopUAHandler - Test ListObjectsV2 call with max-keys=2 and Hadoop User-Agent func (s *TestSuiteCommon) TestListObjectsV2HadoopUAHandler(c *check) { // generate a random bucket name. bucketName := getRandomBucketName()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)