exists #
Check if a S3 bucket exists.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/bucket/exists/<bucketRegion>/<bucketName>
Method: GET
Other protocols #
{
"controller": "s3",
"action": "exists",
"bucketName": "bucket-name",
"bucketRegion": "eu-east-1"
}
Arguments #
bucketName
: the name of the bucket to checkbucketRegion
: the AWS region where the bucket is located
Response #
Returns an object with the following properties:
{
"status": 200,
"error": null,
"action": "exists",
"controller": "s3/bucket",
"result": { "exists": "true" }
}
Edit this page on Github(opens new window)