Projects π‘ BETA
Projects are tenant-scoped records in botproject, with tasks, resources, dependencies and Gantt/timeline views exposed through one shared router.
Overview
botproject::configure mounts /projects*, /tasks* and /resources* routes plus /api/-prefixed aliases. Project state is persisted in PostgreSQL by ProjectService.
Creating Projects
| Surface | Route or mechanism |
|---|---|
| REST | POST /api/projects |
| Update | PUT /api/projects/:project_id |
| Status change | POST /api/projects/:project_id/status |
| Delete | DELETE /api/projects/:project_id |
Project Structure
A project owns tasks, resources and assignments. Tasks can depend on other tasks; the service computes Gantt data, timelines and the critical path from those records.
Working with Projects
| Operation | Route |
|---|---|
| List tasks | GET /api/projects/:project_id/tasks |
| Add a task | POST /api/projects/:project_id/tasks |
| Update progress | PUT /api/tasks/:task_id/progress |
| Add a dependency | POST /api/tasks/:task_id/dependencies |
| Assign a resource | POST /api/tasks/:task_id/assign |
Import and Export
ProjectImportService provides import with configurable conflict resolution and format; export.rs produces project exports. Both are handler-backed, not file-watcher features.
Project Templates
No dedicated project-template keyword is registered in the BASIC keyword tree. Use a saved project or a script that creates the required records through the routes above.
Limits
- There is no
CREATE PROJECTBASIC keyword; a script must call the HTTP surface or use a tool that does. - Import formats are limited to those implemented in
botproject. - Project data is scoped by the project id; cross-project references are not implied.
Related
- Chapter overview - Index of this chapter.
See Also
- Project App User Guide - UI walkthrough
- Project app - Application surface
- BASIC Reference - Available keywords