POST/api/providers/register
Register a provider and return provider API key.
تسجيل مزود جديد وإرجاع مفتاح API.
Auth: None
Example Request
{
"name": "Riyadh RTX Node",
"email": "provider@example.com",
"gpu_model": "RTX 4090",
"os": "linux",
"phone": "+966500000000"
}Example Response
{
"success": true,
"provider_id": 42,
"api_key": "dcp-provider-..."
}GET/api/providers/me?key=:api_key
Provider profile, jobs, earnings, and heartbeat summary.
ملف المزود والوظائف والأرباح وملخص heartbeat.
Auth: Provider API key
Example Response
{
"provider": { "id": 42, "status": "online", "total_jobs": 19 },
"recent_jobs": []
}POST/api/providers/heartbeat
Daemon heartbeat with GPU utilization telemetry.
نبضة daemon مع بيانات استخدام GPU.
Auth: Provider API key
Example Request
{
"api_key": "dcp-provider-...",
"gpu_status": { "gpu_name": "NVIDIA RTX 4090", "gpu_util_pct": 42 }
}Example Response
{
"success": true,
"status": "online",
"update_available": false
}