GET /v1/databases
Belirtilen hedef için veritabanı listesini döner.
İstek
GET https://kladim.com/api/v1/databases?id=12345
Authorization: Bearer <token>
Accept: application/json
Parametreler
| Ad | Tip | Zorunlu | Konum | Açıklama | Örnek |
|---|---|---|---|---|---|
Authorization | string | Evet | header | Bearer token | Bearer eyJ... |
id | string | Evet | query | Hedef ID | 12345 |
Yanıt
200 OK
{
"items": [
{ "name": "customers", "size": "1.2 GB" },
{ "name": "orders", "size": "3.4 GB" }
]
}
cURL
curl -X GET "https://kladim.com/api/v1/databases?id=12345" \
-H "Authorization: Bearer <token>" \
-H "Accept: application/json"