API 参考 / admin
POST /api/v1/admin/support/intake/{intakeId}/reject · adminRejectSupportIntake
垃圾 / 重复 / 信息不足的收件驳回(B-00113 / 决策 D6):只改收件箱状态,不碰业务对象。 与转正式单共用同一把并发闸:只有仍处 pending 的条目能被驳回,否则 409。要求平台超管。
本接口要求浏览器会话。Bearer API Token 无法调用——Token 的生命周期管理必须在网页端完成。
intakeId(必填)noteid(必填)type(必填)status(必填)title(必填)description(必填)module(必填)severity(必填)role(必填)contact(必填)submitterUserId(必填)submitterEmail(必填)source(必填)sourceMetadata(必填)sourceMetadata.pluginVersionsourceMetadata.hostTypesourceMetadata.hostVersionsourceMetadata.operationIdsourceMetadata.traceIdsourceMetadata.reproductionattachments(必填)attachments[].id(必填)attachments[].fileName(必填)attachments[].mimeType(必填)attachments[].size(必填)convertedProjectIdconvertedObjectIdconvertedDisplayKeyreviewedByreviewedAtreviewNotecreatedAt(必填)401:Problem 错误响应403:Problem 错误响应404:Problem 错误响应409:Problem 错误响应curl -X POST "https://你的项目.workflow.games/api/v1/admin/support/intake/{intakeId}/reject" \
-H "Authorization: Bearer wfp_…" \
-H "content-type: application/json" \
--data '{"note":"示例文本"}'HTTP/1.1 200
{
"id": "018f3c2e-0000-7000-8000-000000000000",
"type": "bug",
"status": "pending",
"title": "示例标题",
"description": "一段描述文字",
"module": "示例文本",
"severity": "示例文本",
"role": "示例文本",
"contact": "示例文本",
"submitterUserId": "018f3c2e-0000-7000-8000-000000000000",
"submitterEmail": "[email protected]",
"source": "human",
"sourceMetadata": {
"pluginVersion": "示例文本",
"hostType": "codex",
"hostVersion": "示例文本"
},
"attachments": [
{
"id": "018f3c2e-0000-7000-8000-000000000000",
"fileName": "示例标题",
"mimeType": "示例文本",
"size": 1
}
],
"createdAt": "示例文本"
}合同真值:OpenAPI 3.1(0.1.0)。
相关:Agent 接入指南 · 使用指南 · API 参考索引