Documentation
¶
Overview ¶
Post a comment with file attachments.
Two-step flow:
- Upload the file via /file/upload (multipart) — server returns a UUID.
- Post the comment with `files: [{"uuid": "..."}]`.
The OpenAPI spec models attachments differently from what the live server accepts; the {"uuid": "..."} shape is what works in practice. We use *WithBody to escape the typed body, since the typed model can't represent that shape.
FREELO_TASK_ID=12345 FREELO_FILE=./README.md go run ./examples/05_comment_with_files
Click to show internal directories.
Click to hide internal directories.