# Doctor Appointment System API - Phase 10

Base URL:

```text
https://your-domain.com/api/v1
```

## Health

### GET `/health`

Returns application health status.

Example:

```bash
curl https://your-domain.com/api/v1/health
```

Response:

```json
{
  "status": "ok",
  "service": "Doctor Appointment System",
  "timestamp": "2026-07-15T00:00:00+00:00"
}
```

## API Expansion Plan

The current Phase 10 API foundation intentionally starts with a versioned health endpoint.

Recommended next API resources:

- `GET /doctors`
- `GET /specialties`
- `GET /appointments`
- `POST /appointments`
- `GET /patients/{patient}`
- `GET /prescriptions`
- `GET /medical-reports`

When the mobile application is started, add Laravel Sanctum token authentication before exposing patient medical data.

## Error Format

Future API endpoints should use:

```json
{
  "message": "Validation failed.",
  "errors": {
    "field": [
      "The field is required."
    ]
  }
}
```
