Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sajaldi/energy/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Projects API allows you to manage projects, activities, dependencies, and track progress programmatically.Authentication
All API requests require Django session authentication. See Authentication for details.Endpoints
Create Activity
Create a new activity within a project. Endpoint:POST /proyectos/actividades/crear/
ID of the parent project
Activity name
Activity description
Start date (YYYY-MM-DD)
Duration in days
User ID of responsible person
Array of predecessor activity IDs
Created activity ID
Auto-generated activity code
Activity status
Update Activity Progress
Update the completion percentage of an activity. Endpoint:POST /proyectos/actividades/<activity_id>/progreso/
Completion percentage (0-100)
Get Project Details
Retrieve complete project information including activities and dependencies. Endpoint:GET /proyectos/api/proyectos/<project_id>/
Response:
Get Gantt Data
Retrieve project schedule data formatted for Gantt chart rendering. Endpoint:GET /proyectos/<project_id>/gantt/data/
Response:
Related Endpoints
Documents API
Link project documentation
Assets API
Associate activities with locations