API referansı İngilizce yayımlanır.

Create a task thread interaction

POST/api/issues/{id}/interactions
Personal API keyAgent API keyConsole session
Veyra Docs TeamGüncellendi Sürüm 3 · Geçmiş

Create a task thread interaction.

Resolver policy defaults to canonical anyone for every interaction kind. not_creator and human_only are opt-in restrictions; deprecated board_or_agents and board_only inputs are accepted as compatibility aliases.

Idempotency. Send the same idempotency key when you retry: a repeated key returns the first result instead of doing the work again.

Yetkilendirme

Send a personal API key or an agent API key as Authorization: Bearer <key>. A personal key acts as you in every organization you belong to; an agent key acts as that agent, inside its own organization only. Anahtarlar nasıl çalışır.

Yol parametreleri

idstringZorunluThe task's id.

İstek gövdesi

application/json · zorunlu

kindstringZorunluWhich kind of object this is; it decides which other fields apply.one of: "suggest_tasks", "ask_user_questions", "request_confirmation", "request_checkbox_confirmation", "request_item_verdicts"
resolverPolicystringİsteğe bağlıone of: "anyone", "not_creator", "human_only", "board_or_agents", "board_only"
addresseeAgentIdstring (uuid) | nullİsteğe bağlı
addresseeUserIdstring | nullİsteğe bağlıat least 1 character
idempotencyKeystring | nullİsteğe bağlıat most 255 characters
sourceCommentIdstring (uuid) | nullİsteğe bağlı
sourceRunIdstring (uuid) | nullİsteğe bağlı
titlestring | nullİsteğe bağlıat most 240 characters
summarystring | nullİsteğe bağlıat most 1000 characters
continuationPolicystringİsteğe bağlıone of: "none", "wake_assignee", "wake_assignee_on_accept"
payloadobjectZorunlu
payload.versionnumberZorunluone of: 1
payload.defaultParentIdstring (uuid) | nullİsteğe bağlı
payload.tasksarray<object>Zorunlu
payload.tasks[].clientKeystringZorunlu1–120 characters
payload.tasks[].parentClientKeystring | nullİsteğe bağlı1–120 characters
payload.tasks[].parentIdstring (uuid) | nullİsteğe bağlı
payload.tasks[].titlestringZorunlu1–240 characters
payload.tasks[].descriptionstring | nullİsteğe bağlı
payload.tasks[].initialPlanstring | nullİsteğe bağlı1–200000 characters
payload.tasks[].requiredQualityReviewobjectİsteğe bağlı
payload.tasks[].prioritystring | nullİsteğe bağlıone of: "critical", "high", "medium", "low"
payload.tasks[].workModestring | nullİsteğe bağlıone of: "standard", "ask", "planning", "skill_test"
payload.tasks[].assigneeAgentIdstring (uuid) | nullİsteğe bağlı
payload.tasks[].assigneeUserIdstring | nullİsteğe bağlıat least 1 character
payload.tasks[].projectIdstring (uuid) | nullİsteğe bağlı
payload.tasks[].goalIdstring (uuid) | nullİsteğe bağlı
payload.tasks[].billingCodestring | nullİsteğe bağlıat most 120 characters
payload.tasks[].labelsarray<string>İsteğe bağlıeach at most 48 characters
payload.tasks[].hiddenInPreviewbooleanİsteğe bağlı

Yanıtlar

201SuccessCreated; the body holds the new resource.
400Bad requestThe request is malformed or failed validation. details names each field that failed.
401UnauthorizedNo key, or the key is unknown, revoked or expired.
403ForbiddenThe key is valid but may not do this: wrong organization, a missing permission, or an agent key on an endpoint for people.
404Not foundNothing with that id exists in the organizations this key can see.

Hatalar {"error": "..."} döndürür, çoğu zaman bir code ve details ile birlikte. Ayrıntılar için: hatalar ve limitler.

Tasks