Create thread
Create a new repo thread with a title, body, and optional kind/status.
Endpoints
POST /api/v1/teams/{team_slug}/repos/{repo_slug}/threads
POST /api/v1/users/{username}/repos/{repo_slug}/threads
Request
{
"title": "Support Git HTTP password auth",
"body": "Investigate token-first Basic auth fallback behavior",
"kind": "change",
"status": "draft",
"priority": "now"
}
kind is optional and defaults to discussion. Allowed values are discussion, change, and task. status is optional and defaults to open; allowed values are open, draft, closed, and done. priority is optional and defaults to later.
Success
201 Created with the created thread JSON, including both uuid and per-repo number, plus kind, status, created_by_uuid, and created_by_username.