Object storage¶
Generated from the gateway schema. Do not edit.
Queries¶
bucketNotifications¶
The notifications of one bucket, or of every bucket of the tenant.
query { bucketNotifications(bucket: String): [BucketNotification!]! }
Requires: an authenticated member of the tenant
| Argument | Type | Description |
|---|---|---|
bucket |
String |
Returns: [BucketNotification!]!
bucketNotificationsAvailable¶
False where bucket notifications are not switched on; the other fields then fail with NOT_CONFIGURED.
query { bucketNotificationsAvailable: Boolean! }
Requires: an authenticated member of the tenant
Returns: Boolean!
buckets¶
The tenant's buckets. Fails with NOT_CONFIGURED where object storage is not enabled.
query { buckets: [Bucket!]! }
Requires: an authenticated member of the tenant
Returns: [Bucket!]!
objectStorageInfo¶
Endpoint, region and bucket prefix. Fails with NOT_CONFIGURED where object storage is not enabled.
query { objectStorageInfo: ObjectStorageInfo! }
Requires: an authenticated member of the tenant
Returns: ObjectStorageInfo!
objectStorageKeys¶
query { objectStorageKeys: [ObjectStorageKey!]! }
Requires: an authenticated member of the tenant
Returns: [ObjectStorageKey!]!
Mutations¶
createBucket¶
Creates the bucket bucketPrefix + name. Buckets can only be created here, not with an S3 client.
mutation { createBucket(name: String!): Bucket! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Bucket!
createBucketNotification¶
Objects that already exist are not announced; a new notification applies to changes from about ten seconds after it is created.
mutation { createBucketNotification(input: CreateBucketNotificationInput!): BucketNotification! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
input |
CreateBucketNotificationInput! |
Returns: BucketNotification!
createObjectStorageKey¶
mutation { createObjectStorageKey(name: String!): ObjectStorageKeySecret! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: ObjectStorageKeySecret!
deleteBucket¶
Deletes an empty bucket; fails with BUCKET_NOT_EMPTY otherwise.
mutation { deleteBucket(name: String!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Boolean!
deleteBucketNotification¶
mutation { deleteBucketNotification(bucket: String!, id: ID!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
bucket |
String! |
|
id |
ID! |
Returns: Boolean!
deleteObjectStorageKey¶
mutation { deleteObjectStorageKey(name: String!): Boolean! }
Requires: tenant EDITOR
| Argument | Type | Description |
|---|---|---|
name |
String! |
Returns: Boolean!