315 lines
8.5 KiB
JSON
315 lines
8.5 KiB
JSON
{
|
|
"user_email": "user123@example.com",
|
|
"wallet_balance_usd": 12.0,
|
|
"transactions": [
|
|
{
|
|
"id": "5590075e-2ec3-4ece-b64e-2ab2bd8a4a92",
|
|
"user_id": "user123@example.com",
|
|
"transaction_type": {
|
|
"Purchase": {
|
|
"product_id": "credits"
|
|
}
|
|
},
|
|
"amount": 12.0,
|
|
"currency": "USD",
|
|
"exchange_rate_usd": 1.0,
|
|
"amount_usd": 12.0,
|
|
"description": "Credits purchase via credit_card",
|
|
"reference_id": "5590075e-2ec3-4ece-b64e-2ab2bd8a4a92",
|
|
"metadata": null,
|
|
"timestamp": "2025-09-08T17:16:29.777650952Z",
|
|
"status": "Completed"
|
|
}
|
|
],
|
|
"staked_amount_usd": 0.0,
|
|
"pool_positions": {},
|
|
"name": "user123",
|
|
"country": null,
|
|
"timezone": null,
|
|
"password_hash": "$2b$12$g8daTd2i0nUXUOJEBFMGKuRhJTNye6hae1hDETWLTKBTPs.3WasQu",
|
|
"services": [],
|
|
"service_requests": [],
|
|
"service_bookings": [],
|
|
"availability": null,
|
|
"slas": [],
|
|
"apps": [],
|
|
"application_deployments": [],
|
|
"deleted": null,
|
|
"deleted_at": null,
|
|
"deletion_reason": null,
|
|
"nodes": [
|
|
{
|
|
"id": "grid_node_1",
|
|
"location": "Unknown, Belgium",
|
|
"status": "Online",
|
|
"capacity": {
|
|
"cpu_cores": 56,
|
|
"memory_gb": 188,
|
|
"storage_gb": 135975,
|
|
"bandwidth_mbps": 1000,
|
|
"ssd_storage_gb": 1863,
|
|
"hdd_storage_gb": 134112,
|
|
"ram_gb": 188
|
|
},
|
|
"used_capacity": {
|
|
"cpu_cores": 25,
|
|
"memory_gb": 92,
|
|
"storage_gb": 1021,
|
|
"bandwidth_mbps": 0,
|
|
"ssd_storage_gb": 1021,
|
|
"hdd_storage_gb": 0,
|
|
"ram_gb": 92
|
|
},
|
|
"uptime_percentage": 99.0,
|
|
"farming_start_date": "2025-08-10T03:03:44.241167749Z",
|
|
"last_updated": "2025-09-09T03:03:44.241194575Z",
|
|
"utilization_7_day_avg": 65.0,
|
|
"slice_formats_supported": [
|
|
"1x1",
|
|
"2x2",
|
|
"4x4"
|
|
],
|
|
"rental_options": null,
|
|
"total_base_slices": 0,
|
|
"allocated_base_slices": 0,
|
|
"earnings_today_usd": 0.0,
|
|
"grid_node_id": "1",
|
|
"available_combinations": [],
|
|
"slice_allocations": [],
|
|
"slice_last_calculated": null,
|
|
"marketplace_sla": {
|
|
"id": "sla-repair-90a36bcd-b6e2-45e7-872a-baeaa485f220",
|
|
"name": "Repaired Node SLA",
|
|
"uptime_guarantee": 99.8,
|
|
"response_time_hours": 24,
|
|
"resolution_time_hours": 48,
|
|
"penalty_rate": 0.01,
|
|
"uptime_guarantee_percentage": 99.8,
|
|
"base_slice_price": 0.5,
|
|
"bandwidth_guarantee_mbps": 100.0,
|
|
"last_updated": "2025-09-09T03:04:23.227212978Z"
|
|
},
|
|
"slice_pricing": {
|
|
"base_price_per_hour": 1.0,
|
|
"currency": "USD",
|
|
"pricing_multiplier": 1.0
|
|
},
|
|
"grid_data": {
|
|
"capacity": {
|
|
"bandwidth_mbps": 1000,
|
|
"cpu_cores": 56,
|
|
"hdd_storage_gb": 134112,
|
|
"memory_gb": 188,
|
|
"ram_gb": 188,
|
|
"ssd_storage_gb": 1863,
|
|
"storage_gb": 135975
|
|
},
|
|
"certification_type": "Diy",
|
|
"city": "Unknown",
|
|
"country": "Belgium",
|
|
"farm_id": 1,
|
|
"farm_name": "Freefarm",
|
|
"farming_policy_id": 1,
|
|
"grid_node_id": 1,
|
|
"last_updated": "2025-09-09T03:03:44.240833231Z",
|
|
"location": "Unknown, Belgium",
|
|
"node_id": 1,
|
|
"public_ips": [
|
|
"192.168.1.100"
|
|
],
|
|
"status": "Online",
|
|
"total_resources": {
|
|
"bandwidth_mbps": 1000,
|
|
"cpu_cores": 56,
|
|
"hdd_storage_gb": 134112,
|
|
"memory_gb": 188,
|
|
"ram_gb": 188,
|
|
"ssd_storage_gb": 1863,
|
|
"storage_gb": 135975
|
|
},
|
|
"uptime": 99.5,
|
|
"used_resources": {
|
|
"bandwidth_mbps": 0,
|
|
"cpu_cores": 25,
|
|
"hdd_storage_gb": 0,
|
|
"memory_gb": 92,
|
|
"ram_gb": 92,
|
|
"ssd_storage_gb": 1021,
|
|
"storage_gb": 1021
|
|
}
|
|
},
|
|
"slice_formats": null,
|
|
"name": "Grid Node 1",
|
|
"region": "Belgium",
|
|
"node_type": "MyceliumNode",
|
|
"staking_options": null,
|
|
"availability_status": "Available",
|
|
"node_group_id": null,
|
|
"group_assignment_date": null,
|
|
"group_slice_format": null,
|
|
"group_slice_price": null,
|
|
"last_seen": "2025-09-09T03:03:44.241206636Z",
|
|
"health_score": 100.0
|
|
}
|
|
],
|
|
"resource_provider_earnings": [],
|
|
"resource_provider_settings": null,
|
|
"slice_products": [],
|
|
"user_activities": [
|
|
{
|
|
"id": "1db56139-8a5f-4e32-a235-c0f1bb4ab357",
|
|
"user_email": "user123@example.com",
|
|
"activity_type": "WalletTransaction",
|
|
"description": "Purchased $12 credits via credit_card",
|
|
"metadata": null,
|
|
"timestamp": "2025-09-08T17:16:29.777958164Z",
|
|
"ip_address": null,
|
|
"user_agent": null,
|
|
"session_id": null,
|
|
"importance": "Medium",
|
|
"category": "Wallet"
|
|
}
|
|
],
|
|
"user_preferences": {
|
|
"theme": "light",
|
|
"language": "en",
|
|
"currency_display": "symbol",
|
|
"email_notifications": true,
|
|
"push_notifications": true,
|
|
"marketing_emails": false,
|
|
"data_sharing": false,
|
|
"preferred_currency": "USD",
|
|
"preferred_language": "en",
|
|
"timezone": "UTC",
|
|
"notification_settings": {
|
|
"email_enabled": true,
|
|
"push_enabled": true,
|
|
"sms_enabled": false,
|
|
"slack_webhook": null,
|
|
"discord_webhook": null,
|
|
"enabled": true,
|
|
"push": true,
|
|
"node_offline_alerts": true,
|
|
"maintenance_reminders": true,
|
|
"earnings_reports": true
|
|
},
|
|
"privacy_settings": {
|
|
"profile_public": false,
|
|
"email_public": false,
|
|
"activity_public": false,
|
|
"stats_public": false,
|
|
"profile_visibility": "private",
|
|
"marketing_emails": false,
|
|
"data_sharing": false,
|
|
"activity_tracking": true
|
|
},
|
|
"dashboard_layout": "default",
|
|
"last_payment_method": "credit_card"
|
|
},
|
|
"usage_statistics": null,
|
|
"orders": [],
|
|
"active_product_rentals": [],
|
|
"resource_provider_rental_earnings": [],
|
|
"node_rentals": [],
|
|
"node_groups": [
|
|
{
|
|
"id": "compute",
|
|
"name": "Compute",
|
|
"description": "General compute workloads",
|
|
"node_ids": [],
|
|
"group_type": {
|
|
"Default": "compute"
|
|
},
|
|
"updated_at": "2025-09-08T18:44:31.238377407Z",
|
|
"created_at": "2025-09-08T18:44:31.238375624Z",
|
|
"group_config": {
|
|
"group_name": "Compute Nodes",
|
|
"max_nodes": 100,
|
|
"allocation_strategy": "balanced",
|
|
"auto_scaling": true,
|
|
"preferred_slice_formats": [
|
|
"1x1",
|
|
"2x2"
|
|
],
|
|
"default_pricing": 50.0,
|
|
"resource_optimization": {
|
|
"cpu_optimization": 0.5,
|
|
"memory_optimization": 0.5,
|
|
"storage_optimization": 0.5,
|
|
"network_optimization": 0.5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "storage",
|
|
"name": "Storage",
|
|
"description": "Storage and data workloads",
|
|
"node_ids": [],
|
|
"group_type": {
|
|
"Default": "storage"
|
|
},
|
|
"updated_at": "2025-09-08T18:44:31.238384425Z",
|
|
"created_at": "2025-09-08T18:44:31.238383997Z",
|
|
"group_config": {
|
|
"group_name": "Storage Nodes",
|
|
"max_nodes": 50,
|
|
"allocation_strategy": "storage_optimized",
|
|
"auto_scaling": false,
|
|
"preferred_slice_formats": [
|
|
"1x1"
|
|
],
|
|
"default_pricing": 30.0,
|
|
"resource_optimization": {
|
|
"cpu_optimization": 0.3,
|
|
"memory_optimization": 0.3,
|
|
"storage_optimization": 0.8,
|
|
"network_optimization": 0.6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "ai-gpu",
|
|
"name": "AI/GPU",
|
|
"description": "AI and GPU-intensive workloads",
|
|
"node_ids": [],
|
|
"group_type": {
|
|
"Default": "ai-gpu"
|
|
},
|
|
"updated_at": "2025-09-08T18:44:31.238388576Z",
|
|
"created_at": "2025-09-08T18:44:31.238388156Z",
|
|
"group_config": {
|
|
"group_name": "AI/GPU Nodes",
|
|
"max_nodes": 20,
|
|
"allocation_strategy": "gpu_optimized",
|
|
"auto_scaling": true,
|
|
"preferred_slice_formats": [
|
|
"4x4",
|
|
"8x8"
|
|
],
|
|
"default_pricing": 200.0,
|
|
"resource_optimization": {
|
|
"cpu_optimization": 0.8,
|
|
"memory_optimization": 0.7,
|
|
"storage_optimization": 0.4,
|
|
"network_optimization": 0.5
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"slice_rentals": [],
|
|
"slice_assignments": [],
|
|
"display_currency": "AED",
|
|
"quick_topup_amounts": [
|
|
10.0,
|
|
25.0,
|
|
50.0,
|
|
100.0
|
|
],
|
|
"auto_topup_settings": null,
|
|
"products": [],
|
|
"owned_products": [],
|
|
"owned_product_ids": [],
|
|
"ssh_keys": [],
|
|
"message_threads": null,
|
|
"messages": null
|
|
} |