231 lines
6.2 KiB
JSON
231 lines
6.2 KiB
JSON
{
|
|
"user_email": "new@example.com",
|
|
"wallet_balance_usd": 887.0,
|
|
"transactions": [
|
|
{
|
|
"id": "41594920-3783-4def-bf88-c83ad247be8d",
|
|
"user_id": "new@example.com",
|
|
"transaction_type": {
|
|
"Purchase": {
|
|
"product_id": "credits"
|
|
}
|
|
},
|
|
"amount": 888.0,
|
|
"currency": "USD",
|
|
"exchange_rate_usd": 1.0,
|
|
"amount_usd": 888.0,
|
|
"description": "Credits purchase via paypal",
|
|
"reference_id": "41594920-3783-4def-bf88-c83ad247be8d",
|
|
"metadata": null,
|
|
"timestamp": "2025-08-27T07:00:10.506808621Z",
|
|
"status": "Completed"
|
|
},
|
|
{
|
|
"id": "69a6ad1c-52dd-477b-b3ae-5784cc18773f",
|
|
"user_id": "new@example.com",
|
|
"transaction_type": {
|
|
"CreditsTransfer": {
|
|
"to_user": "user1@example.com",
|
|
"note": null
|
|
}
|
|
},
|
|
"amount": 1.0,
|
|
"currency": "USD",
|
|
"exchange_rate_usd": 1.0,
|
|
"amount_usd": 1.0,
|
|
"description": "Credits transfer to user1@example.com: No note",
|
|
"reference_id": "transfer-016c4451-eb04-4373-88fe-31c0a1375996",
|
|
"metadata": null,
|
|
"timestamp": "2025-08-27T07:00:18.582850390Z",
|
|
"status": "Completed"
|
|
}
|
|
],
|
|
"staked_amount_usd": 0.0,
|
|
"pool_positions": {},
|
|
"name": "new",
|
|
"country": null,
|
|
"timezone": null,
|
|
"password_hash": "$2b$12$4urVNAajnRgoyWBQWW9PyuQRCiWehnqK.71/qu6PyEIEVVDW/Vo0W",
|
|
"services": [],
|
|
"service_requests": [],
|
|
"service_bookings": [],
|
|
"availability": null,
|
|
"slas": [],
|
|
"apps": [],
|
|
"app_deployments": [],
|
|
"deleted": null,
|
|
"deleted_at": null,
|
|
"deletion_reason": null,
|
|
"nodes": [],
|
|
"farmer_earnings": [],
|
|
"farmer_settings": null,
|
|
"slice_products": [],
|
|
"user_activities": [
|
|
{
|
|
"id": "028ec6ce-6e86-4da6-a514-0a4a2e249e9e",
|
|
"user_email": "new@example.com",
|
|
"activity_type": "WalletTransaction",
|
|
"description": "Transferred $1 credits to user1@example.com",
|
|
"metadata": null,
|
|
"timestamp": "2025-08-27T07:00:18.582870563Z",
|
|
"ip_address": null,
|
|
"user_agent": null,
|
|
"session_id": null,
|
|
"importance": "Medium",
|
|
"category": "Wallet"
|
|
},
|
|
{
|
|
"id": "05d20135-52af-4fb4-9f51-77bcf1d5010c",
|
|
"user_email": "new@example.com",
|
|
"activity_type": "WalletTransaction",
|
|
"description": "Purchased $888 credits via paypal",
|
|
"metadata": null,
|
|
"timestamp": "2025-08-27T07:00:10.507159414Z",
|
|
"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": "paypal"
|
|
},
|
|
"usage_statistics": null,
|
|
"orders": [],
|
|
"active_product_rentals": [],
|
|
"farmer_rental_earnings": [],
|
|
"node_rentals": [],
|
|
"node_groups": [
|
|
{
|
|
"id": "compute",
|
|
"name": "Compute",
|
|
"description": "General compute workloads",
|
|
"node_ids": [],
|
|
"group_type": {
|
|
"Default": "compute"
|
|
},
|
|
"updated_at": "2025-08-27T07:00:02.494038779Z",
|
|
"created_at": "2025-08-27T07:00:02.494030010Z",
|
|
"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-08-27T07:00:02.494050216Z",
|
|
"created_at": "2025-08-27T07:00:02.494049839Z",
|
|
"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-08-27T07:00:02.494057927Z",
|
|
"created_at": "2025-08-27T07:00:02.494057555Z",
|
|
"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": "USD",
|
|
"quick_topup_amounts": [
|
|
10.0,
|
|
25.0,
|
|
50.0,
|
|
100.0
|
|
],
|
|
"auto_topup_settings": null,
|
|
"products": [],
|
|
"owned_products": [],
|
|
"owned_product_ids": [],
|
|
"ssh_keys": []
|
|
} |