https://api.katapult.io/core/v1/object_storage/object_storage_cluster/buckets/bucket
| Code | Error | When it happens |
|---|---|---|
|
|
missing_api_token
|
No API token was provided in the Authorization header. Ensure a token is provided prefixed with Bearer |
|
|
unauthorized_network_for_api_token
|
Network is not allowed to access the API with this API token |
|
|
invalid_api_token
|
The API token provided was not valid (it may not exist or have expired) |
|
|
token_owner_suspended
|
The user that owns the API token has been suspended |
|
|
invalid_capabilities_token
|
The capabilities token provided was not valid (either not valid, expired or not signed by the correct key) |
|
|
scope_not_granted
|
The scope required for this endpoint has not been granted to the authenticating identity |
|
|
permission_denied
|
The authenticated identity is not permitted to perform this action |
|
|
object_storage_cluster_not_found
|
No object storage cluster was found matching any of the criteria provided in the arguments |
|
|
object_storage_bucket_not_found
|
No object storage bucket was found matching any of the criteria provided in the arguments |
|
|
object_in_trash
|
The object found is in the trash and therefore cannot be manipulated through the API. It should be restored in order to run this operation. |
|
|
rate_limit_reached
|
You have reached the rate limit for this type of request |
|
|
multiple_object_storage_buckets_found
|
Multiple object storage buckets were found matching the criteria provided in the arguments |
|
|
service_unavailable
|
The service is currently unavailable, please try again later |
object_storage_cluster[region]
string
query
The object storage cluster region for the bucket.
bucket[name]
string
query
The name of the object storage bucket.
object_storage_bucket
object
name
string
label
string
created_at
integer
state
string
custom_domains
array
object_count
integer
size
integer
serve_static_site
boolean
static_site_index
string
static_site_error
string
cors_origins
array
public_url
string
access_control_list
object
public_read
boolean
public_list
boolean
all_keys_read
boolean
all_keys_write
boolean
read_key_ids
array
write_key_ids
array
{
"object_storage_bucket": {
"name": "string",
"label": "string",
"created_at": 0,
"state": "pending",
"custom_domains": [],
"object_count": 0,
"size": 0,
"serve_static_site": true,
"static_site_index": "string",
"static_site_error": "string",
"cors_origins": [],
"public_url": "string",
"access_control_list": {
"public_read": true,
"public_list": true,
"all_keys_read": true,
"all_keys_write": true,
"read_key_ids": [],
"write_key_ids": []
}
}
}
Sent to https://api.katapult.io/core/v1 as a bearer token and never to Krystal Documentation. It isn't stored anywhere, so paste it again on each endpoint page.
Left blank, a parameter is omitted from the request.