cURL
curl --request GET \ --url https://api.example.com/projects \ --header 'Authorization: <authorization>'
{ "idProyecto": 123, "nombre": "<string>", "descripcion": "<string>", "estado": "<string>", "presupuesto": 123, "fuenteFinanciacion": "<string>", "startDate": "<string>", "endDate": "<string>", "notas": "<string>", "subproyectos": [ {} ], "actividades": [ {} ], "pdfPath": [ {} ], "responsable": {}, "responsableId": 123, "detallesActividades": [ {} ] }
monitor
admin
/uploads/projects/{filename}
[ { "idProyecto": 1, "nombre": "Community Development Project", "descripcion": "A project to improve community infrastructure", "estado": "En Progreso", "presupuesto": 50000.00, "fuenteFinanciacion": "Municipal Budget", "startDate": "2024-01-15", "endDate": "2024-12-31", "notas": "Quarterly reviews required", "subproyectos": [], "actividades": ["1", "2", "3"], "pdfPath": ["/uploads/projects/pdf-1234567890-123456789.pdf"], "responsable": { "IdUsuario": 5, "Nombre": "John", "Apellido": "Doe" }, "responsableId": 5, "detallesActividades": [ { "id": 1, "nombre": "Planning" }, { "id": 2, "nombre": "Execution" }, { "id": 3, "nombre": "Review" } ] } ]