Skip to content

Station Details

Retrieve detailed information about a specific station.

Endpoint

INFO

GET /api/v1/dashboard/stations/{station}

Headers

HeaderValueRequired
Acceptapplication/jsonYes
AuthorizationBearer {token}Yes

Path Parameters

ParameterTypeDescription
stationintegerStation ID

Example Request

bash
curl -X GET https://api.daakey.com/api/v1/dashboard/stations/1 \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {token}"

Response

Success (200)

json
{
  "success": true,
  "message": "Station retrieved",
  "data": {
    "id": 1,
    "name": "Downtown Station",
    "description": "Main station in downtown area",
    "address": "123 Main St, New York, NY 10001",
    "latitude": 40.7128,
    "longitude": -74.0060,
    "phone": "+1234567890",
    "email": "downtown@agency.com",
    "agency": {
      "id": 1,
      "name": "Downtown Agency"
    },
    "status": "active",
    "images": [
      "https://api.daakey.com/storage/stations/1/image1.jpg"
    ],
    "operating_hours": {
      "monday": "06:00-22:00",
      "tuesday": "06:00-22:00",
      "wednesday": "06:00-22:00",
      "thursday": "06:00-22:00",
      "friday": "06:00-23:00",
      "saturday": "07:00-23:00",
      "sunday": "07:00-21:00"
    },
    "amenities": ["parking", "charging", "restroom", "wifi"],
    "stats": {
      "total_vehicles": 12,
      "available_vehicles": 8,
      "active_bookings": 4
    },
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-15T00:00:00Z"
  },
  "request_id": "uuid",
  "timestamp": "2024-01-01T00:00:00.000Z"
}

Daakey Car Sharing Platform