WebSockets are here. Bring real-time functionality to your apps, powered by Reverb →
curl --request GET \
--url https://app.laravel.cloud/api/filesystem-keys/{filesystemKey} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "filesystemKeys",
"attributes": {
"name": "<string>",
"permission": "read_write",
"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",
"status": "creating",
"visibility": "private",
"jurisdiction": "default",
"endpoint": "<string>",
"url": "<string>",
"allowed_origins": [
"<unknown>"
],
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"keys": {
"data": [
{
"type": "filesystemKeys",
"id": "<string>"
}
]
}
}
}
]
}Get a specific object storage key.
curl --request GET \
--url https://app.laravel.cloud/api/filesystem-keys/{filesystemKey} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"type": "filesystemKeys",
"attributes": {
"name": "<string>",
"permission": "read_write",
"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",
"status": "creating",
"visibility": "private",
"jurisdiction": "default",
"endpoint": "<string>",
"url": "<string>",
"allowed_origins": [
"<unknown>"
],
"created_at": "2023-11-07T05:31:56Z"
},
"relationships": {
"keys": {
"data": [
{
"type": "filesystemKeys",
"id": "<string>"
}
]
}
}
}
]
}The Bearer Token generated on the Cloud UI.
The filesystem key identifier
Available includes are filesystem. You can include multiple options by separating them with a comma.
FilesystemKeyResource
Show child attributes
filesystemKeys Show child attributes
Show child attributes
Show child attributes
filesystems Show child attributes
cloudflare_r2 creating, updating, available, deleting, deleted, unknown private, public default, eu Show child attributes
Was this page helpful?