This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/master by this push:
new 50271020 Modify the text of data types of property-api (#372)
50271020 is described below
commit 502710205f4b6af3d3c623fdb83497ab313280e5
Author: vichayturen <[email protected]>
AuthorDate: Sun Sep 22 22:25:27 2024 +0800
Modify the text of data types of property-api (#372)
* Modify the text of data types of properties
* Update propertykey.md
* Update propertykey.md
---------
Co-authored-by: imbajin <[email protected]>
---
content/cn/docs/clients/restful-api/propertykey.md | 4 ++--
content/en/docs/clients/restful-api/propertykey.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/content/cn/docs/clients/restful-api/propertykey.md
b/content/cn/docs/clients/restful-api/propertykey.md
index 55c96075..be17d5ec 100644
--- a/content/cn/docs/clients/restful-api/propertykey.md
+++ b/content/cn/docs/clients/restful-api/propertykey.md
@@ -9,8 +9,8 @@ weight: 2
Params说明:
- name:属性类型名称,必填
--
data_type:属性类型数据类型,包括:bool、byte、int、long、float、double、string、date、uuid、blob,默认string类型
-- cardinality:属性类型基数,包括:single、list、set,默认single
+- data_type:属性类型数据类型,包括:bool、byte、int、long、float、double、text、date、uuid、blob,默认
`text` 类型 (代表 string 字符串类型)
+- cardinality:属性类型基数,包括:single、list、set,默认 `single` (代表单属性值)
请求体字段说明:
diff --git a/content/en/docs/clients/restful-api/propertykey.md
b/content/en/docs/clients/restful-api/propertykey.md
index 6b99eb1c..71d50396 100644
--- a/content/en/docs/clients/restful-api/propertykey.md
+++ b/content/en/docs/clients/restful-api/propertykey.md
@@ -9,8 +9,8 @@ weight: 2
Params Description:
- name: The name of the property type, required.
-- data_type: The data type of the property type, including: bool, byte, int,
long, float, double, string, date, uuid, blob. The default data type is string.
-- cardinality: The cardinality of the property type, including: single, list,
set. The default cardinality is single.
+- data_type: The data type of the property type, including: bool, byte, int,
long, float, double, text, blob, date, uuid. The default data type is `text`
(Represent a `string` type)
+- cardinality: The cardinality of the property type, including: single, list,
set. The default cardinality is `single`.
Request Body Field Description: