Get object storage key
curl --request GET \
--url https://cloud.laravel.com/api/bucket-keys/{filesystemKey} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "filesystemKeys",
"attributes": {
"name": "<string>",
"access_key_id": "<string>",
"access_key_secret": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"filesystem": {
"data": {
"type": "filesystems",
"id": "<string>"
}
}
}
},
"included": [
{
"id": "<string>",
"type": "filesystems",
"attributes": {
"name": "<string>",
"type": "cloudflare_r2",
"endpoint": "<string>",
"url": "<string>",
"allowed_origins": "<string>",
"cors_settings": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"keys": {
"data": [
{
"type": "filesystemKeys",
"id": "<string>"
}
]
}
}
}
]
}Bucket Keys
Get object storage key
Get a specific object storage key.
GET
/
bucket-keys
/
{filesystemKey}
Get object storage key
curl --request GET \
--url https://cloud.laravel.com/api/bucket-keys/{filesystemKey} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "filesystemKeys",
"attributes": {
"name": "<string>",
"access_key_id": "<string>",
"access_key_secret": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"filesystem": {
"data": {
"type": "filesystems",
"id": "<string>"
}
}
}
},
"included": [
{
"id": "<string>",
"type": "filesystems",
"attributes": {
"name": "<string>",
"type": "cloudflare_r2",
"endpoint": "<string>",
"url": "<string>",
"allowed_origins": "<string>",
"cors_settings": "<string>",
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"keys": {
"data": [
{
"type": "filesystemKeys",
"id": "<string>"
}
]
}
}
}
]
}Authorizations
The Bearer Token generated on the Cloud UI.
Path Parameters
The filesystem key identifier
Query Parameters
Available options:
filesystem Was this page helpful?
⌘I

