From 23949230ee4beeeb7c2050086f8366c9f3f389d9 Mon Sep 17 00:00:00 2001 From: John Chen Date: Mon, 17 Feb 2025 20:55:34 +0800 Subject: [PATCH] fix document (#3806) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit V2版本“获取集合列表”接口的path区分了大小写,使用/api/core/dataset/collection/listv2会返回404,必须使用大写V --- docSite/content/zh-cn/docs/development/openapi/dataset.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docSite/content/zh-cn/docs/development/openapi/dataset.md b/docSite/content/zh-cn/docs/development/openapi/dataset.md index efe1d6397..582d80832 100644 --- a/docSite/content/zh-cn/docs/development/openapi/dataset.md +++ b/docSite/content/zh-cn/docs/development/openapi/dataset.md @@ -735,7 +735,7 @@ data 为集合的 ID。 **4.8.19+** ```bash -curl --location --request POST 'http://localhost:3000/api/core/dataset/collection/listv2' \ +curl --location --request POST 'http://localhost:3000/api/core/dataset/collection/listV2' \ --header 'Authorization: Bearer {{authorization}}' \ --header 'Content-Type: application/json' \ --data-raw '{