Skip to content

Instantly share code, notes, and snippets.

@Gr8z
Last active June 7, 2023 09:15
Show Gist options
  • Save Gr8z/857ffdcc630089abc2cd14aa1dff19dc to your computer and use it in GitHub Desktop.
Save Gr8z/857ffdcc630089abc2cd14aa1dff19dc to your computer and use it in GitHub Desktop.
CAFU Hackathon - Night City - Mock API
{
"id": 892,
"name": "Volvo V60",
"vehicle_model_id": 19,
"vehicle_model": {
"id": 19,
"make_id": 8,
"name": "Model S",
"body_type": "sedan",
"production_years": null,
"engine_type": "ev",
"image_url": "https://i.imgur.com/FcUmjds.png",
"make": {
"id": 8,
"name": "Volvo",
"icon": "",
"body_types": [
"sedan"
],
"created_at": "2023-02-21T09:15:51.23469Z",
"updated_at": "2023-02-21T09:15:51.23469Z"
},
"created_at": "2023-02-21T09:15:58.413504Z",
"updated_at": "2023-02-21T09:15:58.413504Z"
},
"plate_code": "",
"plate_number": "",
"issuer_city_id": 0,
"user_id": "265f1eda-b95e-4fe0-a1c4-1e89c8034da7",
"exterior_color": "",
"fuel_type": "",
"is_default": false,
"battery_capacity": 120,
"permissions": [
"control_charge",
"control_security",
"read_battery",
"read_charge",
"read_location",
"read_odometer",
"read_vehicle_info",
"read_vin"
],
"location": {
"lat": 25.2198396,
"lng": 55.347544
},
"battery_level": 0.65,
"battery_range": 240,
"odometer": 250000,
"last_sync_time": "2023-06-07T13:35:43Z",
"metadata": {
"location_update_time": "2023-06-07T13:35:43Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment