rm variable name of variable api (#595)

* rm variable name of variable api

* update zh and jp docs

---------

Co-authored-by: Riskey <riskey47@dify.ai>
This commit is contained in:
非法操作
2025-12-12 14:53:38 +08:00
committed by GitHub
parent bb1d1e0503
commit 57e04ab0b1
3 changed files with 4 additions and 10 deletions

View File

@@ -505,8 +505,7 @@
{ "$ref": "#/components/parameters/ConversationIdPathParam" },
{ "$ref": "#/components/parameters/UserQueryParam" },
{ "$ref": "#/components/parameters/LastIdQueryParam" },
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100" },
{ "$ref": "#/components/parameters/VariableNameQueryParam" }
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100" }
],
"responses": {
"200": {
@@ -757,7 +756,6 @@
"LastIdQueryParam": { "name": "last_id", "in": "query", "description": "ID of the last record for pagination.", "schema": { "type": "string" } },
"SortByQueryParam": { "name": "sort_by", "in": "query", "description": "Sorting field (e.g., -updated_at).", "schema": { "type": "string", "enum": ["created_at", "-created_at", "updated_at", "-updated_at"], "default": "-updated_at" } },
"ConversationIdPathParam": { "name": "conversation_id", "in": "path", "required": true, "description": "Conversation ID.", "schema": { "type": "string" } },
"VariableNameQueryParam": { "name": "variable_name", "in": "query", "description": "Filter by variable name.", "schema": { "type": "string" } },
"AnnotationIdPathParam": { "name": "annotation_id", "in": "path", "required": true, "description": "Annotation ID.", "schema": { "type": "string", "format": "uuid" } },
"AnnotationActionPathParam": { "name": "action", "in": "path", "required": true, "description": "Action: 'enable' or 'disable'.", "schema": { "type": "string", "enum": ["enable", "disable"] } },
"JobIdPathParam": { "name": "job_id", "in": "path", "required": true, "description": "Job ID.", "schema": { "type": "string", "format": "uuid" } }

View File

@@ -484,8 +484,7 @@
{ "$ref": "#/components/parameters/ConversationIdPathParamJp" },
{ "$ref": "#/components/parameters/UserQueryParamJp" },
{ "$ref": "#/components/parameters/LastIdQueryParamJp" },
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100Jp" },
{ "$ref": "#/components/parameters/VariableNameQueryParamJp" }
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100Jp" }
],
"responses": {
"200": { "description": "会話変数を正常に取得しました。", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConversationVariablesResponseJp" } } } },
@@ -576,8 +575,7 @@
"ConversationIdQueryParamJp": { "name": "conversation_id", "in": "query", "required": true, "description": "会話ID。", "schema": { "type": "string", "format": "uuid" } },
"LastIdQueryParamJp": { "name": "last_id", "in": "query", "description": "(Optional)現在のページの最後の記録のID、デフォルトはnullです。", "schema": { "type": "string", "format": "uuid", "nullable": true } },
"SortByQueryParamJp": { "name": "sort_by", "in": "query", "description": "(Optional)ソートフィールド、デフォルト:-updated_at更新時間で降順にソート。利用可能な値created_at, -created_at, updated_at, -updated_at。'-'は逆順を表します。", "schema": { "type": "string", "enum": ["created_at", "-created_at", "updated_at", "-updated_at"], "default": "-updated_at" } },
"ConversationIdPathParamJp": { "name": "conversation_id", "in": "path", "required": true, "description": "会話ID。", "schema": { "type": "string", "format": "uuid" } },
"VariableNameQueryParamJp": { "name": "variable_name", "in": "query", "description": "(任意)変数名でフィルタリングします。", "schema": { "type": "string" } }
"ConversationIdPathParamJp": { "name": "conversation_id", "in": "path", "required": true, "description": "会話ID。", "schema": { "type": "string", "format": "uuid" } }
},
"responses": {
"BadRequestGenericJp": { "description": "リクエストパラメータエラー。考えられる原因invalid_param, app_unavailable, provider_not_initialize, provider_quota_exceeded, model_currently_not_support, completion_request_error。", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponseJp" } } } },

View File

@@ -484,8 +484,7 @@
{ "$ref": "#/components/parameters/ConversationIdPathParamCn" },
{ "$ref": "#/components/parameters/UserQueryParamCn" },
{ "$ref": "#/components/parameters/LastIdQueryParamCn" },
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100Cn" },
{ "$ref": "#/components/parameters/VariableNameQueryParamCn" }
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100Cn" }
],
"responses": {
"200": { "description": "成功获取对话变量。", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConversationVariablesResponseCn" } } } },
@@ -636,7 +635,6 @@
"LastIdQueryParamCn": { "name": "last_id", "in": "query", "description": "(选填)当前页最后面一条记录的 ID默认 null。", "schema": { "type": "string", "format": "uuid", "nullable": true } },
"SortByQueryParamCn": { "name": "sort_by", "in": "query", "description": "(选填)排序字段,默认 -updated_at (按更新时间倒序排列)。可选值created_at, -created_at, updated_at, -updated_at。'-' 代表倒序。", "schema": { "type": "string", "enum": ["created_at", "-created_at", "updated_at", "-updated_at"], "default": "-updated_at" } },
"ConversationIdPathParamCn": { "name": "conversation_id", "in": "path", "required": true, "description": "会话 ID。", "schema": { "type": "string", "format": "uuid" } },
"VariableNameQueryParamCn": { "name": "variable_name", "in": "query", "description": "(选填)按变量名称筛选。", "schema": { "type": "string" } },
"AnnotationIdPathParamCn": { "name": "annotation_id", "in": "path", "required": true, "description": "标注 ID。", "schema": { "type": "string", "format": "uuid" } },
"AnnotationActionPathParamCn": { "name": "action", "in": "path", "required": true, "description": "动作,只能是 'enable' 或 'disable'。", "schema": { "type": "string", "enum": ["enable", "disable"] } },
"JobIdPathParamCn": { "name": "job_id", "in": "path", "required": true, "description": "任务 ID从标注回复初始设置接口返回的 job_id。", "schema": { "type": "string", "format": "uuid" } }