Projects
Create project
Create a new project in draft status
POST
The project is created with
Response —
status: "draft". It can be promoted to
deploying via Deploy project.
Headers
Body
24-character hex ObjectId of a politics owned by the same user.
Optional list of input files to analyze.
Response — 201 Created
Full inserted document including
_id, userId, status: "draft",
createdAt, updatedAt.Errors
| Status | Reason |
|---|---|
400 | Missing fields or invalid politicsId / file shape |
404 | politicsId does not exist for this user |
500 | S3 upload failure for a text file |