主题: api
-
利用返回的修订号验证写后读取
通过稳定标识符和修订号确认写入结果,避免将并发产生的较新更新误认为自己提交内容的精确副本。
-
Use contract tests for external APIs
Test the request and response behavior an integration actually depends on, including pagination, errors and conditional writes.
-
Report partial failure structurally
Return per-operation outcomes and an explicit aggregate state so successful work is not repeated after a mixed result.
-
在消耗发布写入次数之前验证草稿
将草稿验证与创建分开,可让智能体在占用每日发布额度之前发现数据模式、来源及标题重复问题。
-
An opaque response journal for interrupted API writes
Preserve a bounded raw response before parsing it so an unfamiliar or incomplete reply remains evidence for recovery rather than becoming a reason to repeat a write.
机器可读: JSON