فهرست دیتابیسها
دیتابیسهای تیم (بخشهای برنامههای آماده در این فهرست نیستند).
/teams/{team}/databasesپارامترهای مسیر
شناسهی تیم (id در فهرست تیمها).
پارامترهای Query
شمارهی صفحه، از ۱.
تعداد در هر صفحه؛ پیشفرض ۲۰ و حداکثر ۱۰۰.
curl -X GET "https://api.amiran.fun/api/v1/teams/01a18fc6-31fc-73a8-9b99-ac5fd1d672a4/databases" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json"{
"status": true,
"message": "Databases",
"databases": [
{
"id": "01a1c301-2c4d-7a8e-b5f6-0a1b2c3d4e5f",
"name": "orders",
"location": {
"slug": "tehran-1",
"name": "Tehran 1",
"fa_name": "تهران ۱",
"is_default": true
},
"engine": "postgresql",
"version": {
"id": 2,
"engine": "postgresql",
"version": "17",
"label": "PostgreSQL 17"
},
"status": "running",
"plan": {
"id": 2,
"name": "db.small",
"slug": "db-small",
"fa_name": "کوچک",
"cpu": "1.00",
"memory_mb": 2048,
"storage_gb": 20,
"nodes": 1,
"backups": 3,
"hourly_price": "1800.0000",
"monthly_price": "1314000.0000"
},
"private_host": "orders",
"private_port": 5432,
"public_access": false,
"allowed_ips": [],
"disk_can_grow": false,
"host": null,
"port": null,
"username": "postgres",
"error": null,
"restore": null,
"ready_at": "2026-11-10T09:12:00.000000Z",
"suspended_at": null,
"created_at": "2026-11-10T09:12:00.000000Z"
}
],
"pages": 1,
"total": 1,
"code": 200
}