3.4.2. Get all buckets
GET /buckets
Description
The returned list will include only buckets for which the user is authorized.If the user is not authorized for any buckets, this returns an empty list.
Responses
HTTP Code | Description | Schema |
---|---|---|
200 |
successful operation |
< Bucket > array |
401 |
Client could not be authenticated. |
No Content |
Consumes
-
/
Produces
-
application/json
Security
Type | Name |
---|---|
apiKey |
Authorization |
Example HTTP request
Request path
/buckets
Example HTTP response
Response 200
[ {
"link" : {
"href" : "string",
"params" : {
"string" : "string"
}
},
"identifier" : "string",
"name" : "string",
"createdTimestamp" : 0,
"description" : "string",
"allowBundleRedeploy" : true,
"allowPublicRead" : true,
"permissions" : {
"canRead" : true,
"canWrite" : true,
"canDelete" : true
},
"revision" : {
"clientId" : "string",
"version" : 0,
"lastModifier" : "string"
}
} ]