{
  "endpoints": [
    {
      "description": "Health check for monitoring",
      "methods": [
        "GET"
      ],
      "path": "/health"
    },
    {
      "description": "API documentation",
      "methods": [
        "GET"
      ],
      "path": "/api"
    },
    {
      "description": "Get all incidents with coordinates",
      "methods": [
        "GET"
      ],
      "path": "/api/incidents"
    },
    {
      "description": "Paginated incidents",
      "methods": [
        "GET"
      ],
      "params": {
        "limit": "int (default 10, max 100)",
        "page": "int (default 1)"
      },
      "path": "/api/incidents/paginated"
    },
    {
      "description": "Get single incident",
      "methods": [
        "GET"
      ],
      "path": "/api/incidents/<incident_number>"
    },
    {
      "description": "Incidents by type with percentages",
      "methods": [
        "GET"
      ],
      "path": "/api/incidents/by-type"
    },
    {
      "description": "All locations with counts and coordinates",
      "methods": [
        "GET"
      ],
      "path": "/api/locations"
    },
    {
      "description": "All known locations from database",
      "methods": [
        "GET"
      ],
      "path": "/api/locations/all"
    },
    {
      "description": "Only locations with valid coordinates",
      "methods": [
        "GET"
      ],
      "path": "/api/locations/coords"
    },
    {
      "description": "Get incidents for a specific location",
      "methods": [
        "GET"
      ],
      "path": "/api/locations/<location_name>/incidents"
    },
    {
      "description": "Statistics and aggregations",
      "methods": [
        "GET"
      ],
      "path": "/api/metrics"
    }
  ],
  "name": "NUPD Police Log API",
  "version": "1.1"
}
