Skip to content

docs(webhooks): model-only resource type (B-225 PR-F2) - #32

Merged
sam2tom merged 4 commits into
mainfrom
codex/b225-webhooks-model-only
Oct 7, 2026
Merged

sam2tom merged 4 commits into
mainfrom
codex/b225-webhooks-model-only

Conversation

@sam2tom

@sam2tom sam2tom commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

B-225 PR-F2(sandbase-monorepo 迭代 T-009)。只改公开文档 api-reference/webhooks.md,不打 docs tag。

依赖:内容对应 apiserver PR-1(sandbaseai/sandbase-monorepo#1036)上线后的契约,建议在 PR-1 合并后合并;monorepo 链为 PR-0 #1035 → PR-1 #1036 → PR-2 #1037 → PR-3 #1038 → PR-4 #1039 → PR-6,PR-5(sandbaseai/sandbase-admin#4)在 PR-0 之后任意时点。

compare:main...codex/b225-webhooks-model-only

摘要

  • 25d6e152:webhook 只订阅 Model 事件;示例改为 resourceType:"model" + model.generation.*;字段表注明 session/sandbox/template 已下线、新建返回 400;删除 Session 事件表、Session 投递示例与 agentID 字段
  • a52966ed:事件表补 model.generation.cancelled;per-task 回调状态补 cancelled
  • dfc026d6:存量行 PATCH 说明与 api §3.2 对齐(除非同一请求把 resourceType 改为 model,否则 400)
  • /events/webhooks 路径、鉴权、签名、重试描述不变

门禁

  • npm run test:api-reference(59 pages ok)、npm run test:links(2570 ok)、npm run test:doc-content(117 ok)、npm run build 通过

测试文件处理

无测试文件变更。

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

…odel-only

# Conflicts:
#	api-reference/webhooks.md
@sam2tom
sam2tom merged commit c2ab60e into main Oct 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant