fix(contracts): 广告位 404 码对齐 NOT_FOUND/title 必填/空 PATCH 语义/上限漂移守护
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
+7
-6
@@ -2437,7 +2437,7 @@ export interface components {
|
||||
/** @description 广告位 ID。 */
|
||||
readonly id: string;
|
||||
/** @description 后台备注名(不展示观众)。 */
|
||||
title?: string | null;
|
||||
title: string | null;
|
||||
/** @description 版本化终键(换图递增版本,禁止覆盖)。 */
|
||||
readonly imageObjectKey: string;
|
||||
/** @description 现签 GET(TTL=SIGNED_URL_TTL_SECONDS)。 */
|
||||
@@ -2489,7 +2489,8 @@ export interface components {
|
||||
albumIds?: string[];
|
||||
};
|
||||
/**
|
||||
* @description 部分更新请求(仅提交的字段被修改)。albumIds:未提供=不动,null=转
|
||||
* @description 部分更新请求(仅提交的字段被修改,空请求体 400 VALIDATION_FAILED,
|
||||
* 对照 EmbedSlotUpdateRequest 口径)。albumIds:未提供=不动,null=转
|
||||
* 全局,数组=整体替换;imageStagingKey/imageBytes/imageContentType 三者
|
||||
* 必须同时提供(换图,服务端核验 staging 后转存新版本键)。
|
||||
*/
|
||||
@@ -5264,7 +5265,7 @@ export interface operations {
|
||||
"application/json": components["schemas"]["Error"];
|
||||
};
|
||||
};
|
||||
/** @description 广告位不存在(AD_NOT_FOUND)。 */
|
||||
/** @description 广告位不存在(NOT_FOUND)。 */
|
||||
404: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
@@ -5301,8 +5302,8 @@ export interface operations {
|
||||
};
|
||||
};
|
||||
/**
|
||||
* @description 参数校验失败(VALIDATION_FAILED):字段非法、换图三字段未同时提供
|
||||
* 或 staging 核验失败(UPLOAD_VERIFY_FAILED)。
|
||||
* @description 参数校验失败(VALIDATION_FAILED):字段非法、空请求体、换图三字段
|
||||
* 未同时提供或 staging 核验失败(UPLOAD_VERIFY_FAILED)。
|
||||
*/
|
||||
400: {
|
||||
headers: {
|
||||
@@ -5322,7 +5323,7 @@ export interface operations {
|
||||
"application/json": components["schemas"]["Error"];
|
||||
};
|
||||
};
|
||||
/** @description 广告位不存在(AD_NOT_FOUND)。 */
|
||||
/** @description 广告位不存在(NOT_FOUND)。 */
|
||||
404: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
|
||||
Reference in New Issue
Block a user