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" } }