/flowdrive/context
Get areas, shared drives and limits
Returns the addressable areas (personal, shared_drive, client, project, contact), all shared drives with your own permission level, the team's storage in use and the upload limits. Every file extension is accepted (allowed_extensions is null); inline_extensions lists the extensions that are shown directly in the browser, all others are delivered as a download.
Bearer pk_… or at_…
curl -X GET "https://api.flowsuite.one/flowdrive/context" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('YOUR_API_TOKEN')
->get('https://api.flowsuite.one/flowdrive/context');
$data = $response->json();
const response = await fetch('https://api.flowsuite.one/flowdrive/context', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Accept': 'application/json',
}
response = requests.get(
'https://api.flowsuite.one/flowdrive/context',
headers=headers,
)
data = response.json()
{
"success": true,
"data": {
"scopes": [
"personal",
"shared_drive",
"client",
"project",
"contact"
],
"shared_drives": [
{
"uuid": "9d2f4c1a-7b3e-4f8a-9c5d-1e6a8b0c2d4f",
"name": "Vertrieb",
"level": "manage"
}
],
"storage": {
"total": 184320917,
"shared_drives": 120000000,
"crm": 40000000,
"files": 812
},
"limits": {
"direct_upload_max_bytes": 26214400,
"presigned_upload_max_bytes": 1073741824,
"allowed_extensions": null,
"inline_extensions": [
"pdf",
"jpg",
"png",
"mp4",
"txt"
]
}
}
}