# Get projects with sectors Retrieves all projects for the authenticated user's company with nested sector information. Requires JWT token authentication in the Authorization header. This endpoint: - Automatically resolves the user's company context from their JWT token - Returns all projects associated with the company - For each project, includes nested sectors with only name and sectorId fields - Only returns projectId and projectName for each project Endpoint: GET /api/control/projects Version: 2.0.0 Security: bearerAuth ## Response 200 fields (application/json): - `status` (string) Example: "success" - `data` (array) - `data.projectId` (string) Project unique identifier Example: "proj_123" - `data.projectName` (string) Project name Example: "Rancho San Pedro" - `data.sectors` (array) List of sectors in the project - `data.sectors.name` (string) Sector name Example: "Lote A-1" - `data.sectors.sectorId` (string) Sector unique identifier Example: "sector_001" ## Response 400 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 401 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 404 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 500 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information"