反馈工单对象

创建返回工单和本次对话,本人列表只返回工单摘要。以下区分省略与null,不能因共用后端模型包含管理员字段就声称本人列表会返回它们。

字段

类型

说明

id

string

工单唯一ID,用于引用工单。

ticket_no

string 或 null

展示编号;创建成功通常为FB-后接至少八位数字,不能替代id。

account_id

string

当前认证主体归属标识,不等同于UC subject或工作区成员ID。

uc_account_id

string 或 null

由认证会话提供的UC账户标识;个人访问令牌等路径可能为空,不能在请求中指定。

title

string 或 null

问题标题。

description

string 或 null

问题描述。

expected_behavior

string 或 null

预期结果。

actual_behavior

string 或 null

实际结果。

reproduction_steps

string 或 null

重现步骤。

suggested_priority

string 或 null

提交者建议。

status

string

submitted、processing、closed;创建时为submitted。

admin_reply

string 或 null

管理员回复,没有回复时为空。

created_at

string

RFC3339时间。

updated_at

string

最近更新时间,RFC3339。

messages

object(对象数组)

仅创建且有对话时返回;本人列表省略。

messages[].sequence

integer

从0开始的消息顺序。

messages[].role

string

user或assistant。

messages[].content

string

原始消息内容,校验不会自动删除首尾空白。

messages[].created_at

string

消息记录时间,RFC3339。

服务端为本次记录生成ID/编号并提交系统事务。创建成功只证明平台内保存,不代表工单已处理、已建立GitHub Issue或奖励已发放。

最后更新于