Check a bucket index
Check the index of an existing bucket.
Note: To check multipart object accounting with
check-objects, fix
must be set to True.Capabilities
buckets=write
Syntax
GET /admin/bucket?index&format=json HTTP/1.1
Host FULLY_QUALIFIED_DOMAIN_NAME
Request Parameters
bucket
- Description
-
The bucket to return info on.
- Type
-
String
- Example
-
foo_bucket - Required
-
Yes
check-objects
- Description
-
Check multipart object accounting.
- Type
-
Boolean
- Example
-
True [False]
- Required
-
No
fix
- Description
-
Also fix the bucket index when checking.
- Type
-
Boolean
- Example
-
False [False]
- Required
-
No
Response Entities
index
- Description
-
Status of bucket index.
- Type
-
String
Special Error Responses
IndexRepairFailed
- Description
-
Bucket index repair failed.
- Code
-
409 Conflict