Comments
| Method | Path | Needs | Purpose |
|---|---|---|---|
| GET | /units/{unitId}/comments |
viewUnits |
List comments ({ "comments": [ … ] }) |
| POST | /units/{unitId}/comments |
editUnits |
Add a comment (returns 201 { "comment": {…} }) |
Add a comment
Section titled “Add a comment”| Field | Type | Notes |
|---|---|---|
body |
string | Markdown |
mentions |
array | optional; each { "type": "user" or "unit", "id": "…", "label": "…" } |
curl -X POST http://localhost:8090/api/agilerr/units/<unit_id>/comments \ -H "X-API-Key: $AGILERR_API_KEY" -H "Content-Type: application/json" \ -d '{"body":"Looks good.","mentions":[]}'Use suggestions to find ids to mention. See Markdown, tags and mentions.
Support the project: Buy Me a Coffee or GitHub Sponsors.