Skip to content

Commit 57e04ab

Browse files
hjlarryRiskey
andauthored
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>
1 parent bb1d1e0 commit 57e04ab

3 files changed

Lines changed: 4 additions & 10 deletions

File tree

en/api-reference/openapi_chatflow.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,7 @@
505505
{ "$ref": "#/components/parameters/ConversationIdPathParam" },
506506
{ "$ref": "#/components/parameters/UserQueryParam" },
507507
{ "$ref": "#/components/parameters/LastIdQueryParam" },
508-
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100" },
509-
{ "$ref": "#/components/parameters/VariableNameQueryParam" }
508+
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100" }
510509
],
511510
"responses": {
512511
"200": {
@@ -757,7 +756,6 @@
757756
"LastIdQueryParam": { "name": "last_id", "in": "query", "description": "ID of the last record for pagination.", "schema": { "type": "string" } },
758757
"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" } },
759758
"ConversationIdPathParam": { "name": "conversation_id", "in": "path", "required": true, "description": "Conversation ID.", "schema": { "type": "string" } },
760-
"VariableNameQueryParam": { "name": "variable_name", "in": "query", "description": "Filter by variable name.", "schema": { "type": "string" } },
761759
"AnnotationIdPathParam": { "name": "annotation_id", "in": "path", "required": true, "description": "Annotation ID.", "schema": { "type": "string", "format": "uuid" } },
762760
"AnnotationActionPathParam": { "name": "action", "in": "path", "required": true, "description": "Action: 'enable' or 'disable'.", "schema": { "type": "string", "enum": ["enable", "disable"] } },
763761
"JobIdPathParam": { "name": "job_id", "in": "path", "required": true, "description": "Job ID.", "schema": { "type": "string", "format": "uuid" } }

ja/api-reference/openapi_chatflow.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,7 @@
484484
{ "$ref": "#/components/parameters/ConversationIdPathParamJp" },
485485
{ "$ref": "#/components/parameters/UserQueryParamJp" },
486486
{ "$ref": "#/components/parameters/LastIdQueryParamJp" },
487-
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100Jp" },
488-
{ "$ref": "#/components/parameters/VariableNameQueryParamJp" }
487+
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100Jp" }
489488
],
490489
"responses": {
491490
"200": { "description": "会話変数を正常に取得しました。", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConversationVariablesResponseJp" } } } },
@@ -576,8 +575,7 @@
576575
"ConversationIdQueryParamJp": { "name": "conversation_id", "in": "query", "required": true, "description": "会話ID。", "schema": { "type": "string", "format": "uuid" } },
577576
"LastIdQueryParamJp": { "name": "last_id", "in": "query", "description": "(Optional)現在のページの最後の記録のID、デフォルトはnullです。", "schema": { "type": "string", "format": "uuid", "nullable": true } },
578577
"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" } },
579-
"ConversationIdPathParamJp": { "name": "conversation_id", "in": "path", "required": true, "description": "会話ID。", "schema": { "type": "string", "format": "uuid" } },
580-
"VariableNameQueryParamJp": { "name": "variable_name", "in": "query", "description": "(任意)変数名でフィルタリングします。", "schema": { "type": "string" } }
578+
"ConversationIdPathParamJp": { "name": "conversation_id", "in": "path", "required": true, "description": "会話ID。", "schema": { "type": "string", "format": "uuid" } }
581579
},
582580
"responses": {
583581
"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" } } } },

zh/api-reference/openapi_chatflow.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,7 @@
484484
{ "$ref": "#/components/parameters/ConversationIdPathParamCn" },
485485
{ "$ref": "#/components/parameters/UserQueryParamCn" },
486486
{ "$ref": "#/components/parameters/LastIdQueryParamCn" },
487-
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100Cn" },
488-
{ "$ref": "#/components/parameters/VariableNameQueryParamCn" }
487+
{ "$ref": "#/components/parameters/LimitQueryParamDefault20Max100Cn" }
489488
],
490489
"responses": {
491490
"200": { "description": "成功获取对话变量。", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConversationVariablesResponseCn" } } } },
@@ -636,7 +635,6 @@
636635
"LastIdQueryParamCn": { "name": "last_id", "in": "query", "description": "(选填)当前页最后面一条记录的 ID,默认 null。", "schema": { "type": "string", "format": "uuid", "nullable": true } },
637636
"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" } },
638637
"ConversationIdPathParamCn": { "name": "conversation_id", "in": "path", "required": true, "description": "会话 ID。", "schema": { "type": "string", "format": "uuid" } },
639-
"VariableNameQueryParamCn": { "name": "variable_name", "in": "query", "description": "(选填)按变量名称筛选。", "schema": { "type": "string" } },
640638
"AnnotationIdPathParamCn": { "name": "annotation_id", "in": "path", "required": true, "description": "标注 ID。", "schema": { "type": "string", "format": "uuid" } },
641639
"AnnotationActionPathParamCn": { "name": "action", "in": "path", "required": true, "description": "动作,只能是 'enable' 或 'disable'。", "schema": { "type": "string", "enum": ["enable", "disable"] } },
642640
"JobIdPathParamCn": { "name": "job_id", "in": "path", "required": true, "description": "任务 ID,从标注回复初始设置接口返回的 job_id。", "schema": { "type": "string", "format": "uuid" } }

0 commit comments

Comments
 (0)