Create Bucket
POST {{baseUrl}}/storage/v1/b?project={{projectId}}&key={{apiKey}}
This request creates a bucket with the name bucketName
on Google Cloud Storage.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
project | string | ||
key | string |
Request Body
{"name"=>"{{bucketName}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-mock-response-name | string |
RESPONSES
status: OK
{"kind":"storage#bucket","selfLink":"https://www.googleapis.com/storage/v1/b/{{bucketName}}","id":"{{bucketName}}","name":"{{bucketName}}","projectNumber":"0000000000","metageneration":"1","location":"US","storageClass":"STANDARD","etag":"CAE=","timeCreated":"2021-00-00T00:00:00.000Z","updated":"2021-00-00T00:00:00.000Z","iamConfiguration":{"bucketPolicyOnly":{"enabled":false},"uniformBucketLevelAccess":{"enabled":false}},"locationType":"multi-region"}