📝 API 英文文档 Fix https://github.com/siyuan-note/siyuan/issues/4095
This commit is contained in:
parent
6110289bd5
commit
78a691c39d
2 changed files with 36 additions and 36 deletions
36
API.md
36
API.md
|
@ -480,12 +480,12 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||
"doOperations": [
|
||||
{
|
||||
"action": "insert",
|
||||
"data": "<div data-node-id=\"20211230115020-g02dfx0\" data-node-index=\"1\" data-type=\"NodeParagraph\" class=\"p\"><div contenteditable=\"true\" spellcheck=\"false\">foo<strong style=\"color: var(--b3-font-color8);\">bar</strong>baz</div><div class=\"protyle-attr\" contenteditable=\"false\"></div></div>",
|
||||
"id": "20211230115020-g02dfx0",
|
||||
"parentID": "",
|
||||
"previousID": "20211229114650-vrek5x6",
|
||||
"retData": null
|
||||
}
|
||||
"data": "<div data-node-id=\"20211230115020-g02dfx0\" data-node-index=\"1\" data-type=\"NodeParagraph\" class=\"p\"><div contenteditable=\"true\" spellcheck=\"false\">foo<strong style=\"color: var(--b3-font-color8);\">bar</strong>baz</div><div class=\"protyle-attr\" contenteditable=\"false\"></div></div>",
|
||||
"id": "20211230115020-g02dfx0",
|
||||
"parentID": "",
|
||||
"previousID": "20211229114650-vrek5x6",
|
||||
"retData": null
|
||||
}
|
||||
],
|
||||
"undoOperations": null
|
||||
}
|
||||
|
@ -609,13 +609,13 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||
"doOperations": [
|
||||
{
|
||||
"action": "update",
|
||||
"data": "<div data-node-id=\"20211230161520-querkps\" data-node-index=\"1\" data-type=\"NodeParagraph\" class=\"p\"><div contenteditable=\"true\" spellcheck=\"false\">foo<strong>bar</strong>baz</div><div class=\"protyle-attr\" contenteditable=\"false\"></div></div>",
|
||||
"id": "20211230161520-querkps",
|
||||
"parentID": "",
|
||||
"previousID": "",
|
||||
"retData": null
|
||||
}
|
||||
],
|
||||
"data": "<div data-node-id=\"20211230161520-querkps\" data-node-index=\"1\" data-type=\"NodeParagraph\" class=\"p\"><div contenteditable=\"true\" spellcheck=\"false\">foo<strong>bar</strong>baz</div><div class=\"protyle-attr\" contenteditable=\"false\"></div></div>",
|
||||
"id": "20211230161520-querkps",
|
||||
"parentID": "",
|
||||
"previousID": "",
|
||||
"retData": null
|
||||
}
|
||||
],
|
||||
"undoOperations": null
|
||||
}
|
||||
]
|
||||
|
@ -671,7 +671,7 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||
{
|
||||
"id": "20210912214605-uhi5gco",
|
||||
"attrs": {
|
||||
"custom-attr1": "line1\nline2"
|
||||
"custom-attr1": "line1\nline2"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -769,8 +769,8 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||
"code": 0,
|
||||
"msg": "",
|
||||
"data": {
|
||||
"hPath": "/Please Start Here",
|
||||
"content": "## 🍫 Content Block\n\nIn SiYuan, the only important core concept is..."
|
||||
"hPath": "/Please Start Here",
|
||||
"content": "## 🍫 Content Block\n\nIn SiYuan, the only important core concept is..."
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -791,8 +791,8 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||
"code": 0,
|
||||
"msg": "",
|
||||
"data": {
|
||||
"details": "Finishing boot...",
|
||||
"progress": 100
|
||||
"details": "Finishing boot...",
|
||||
"progress": 100
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
36
API_zh_CN.md
36
API_zh_CN.md
|
@ -480,12 +480,12 @@
|
|||
"doOperations": [
|
||||
{
|
||||
"action": "insert",
|
||||
"data": "<div data-node-id=\"20211230115020-g02dfx0\" data-node-index=\"1\" data-type=\"NodeParagraph\" class=\"p\"><div contenteditable=\"true\" spellcheck=\"false\">foo<strong style=\"color: var(--b3-font-color8);\">bar</strong>baz</div><div class=\"protyle-attr\" contenteditable=\"false\"></div></div>",
|
||||
"id": "20211230115020-g02dfx0",
|
||||
"parentID": "",
|
||||
"previousID": "20211229114650-vrek5x6",
|
||||
"retData": null
|
||||
}
|
||||
"data": "<div data-node-id=\"20211230115020-g02dfx0\" data-node-index=\"1\" data-type=\"NodeParagraph\" class=\"p\"><div contenteditable=\"true\" spellcheck=\"false\">foo<strong style=\"color: var(--b3-font-color8);\">bar</strong>baz</div><div class=\"protyle-attr\" contenteditable=\"false\"></div></div>",
|
||||
"id": "20211230115020-g02dfx0",
|
||||
"parentID": "",
|
||||
"previousID": "20211229114650-vrek5x6",
|
||||
"retData": null
|
||||
}
|
||||
],
|
||||
"undoOperations": null
|
||||
}
|
||||
|
@ -609,13 +609,13 @@
|
|||
"doOperations": [
|
||||
{
|
||||
"action": "update",
|
||||
"data": "<div data-node-id=\"20211230161520-querkps\" data-node-index=\"1\" data-type=\"NodeParagraph\" class=\"p\"><div contenteditable=\"true\" spellcheck=\"false\">foo<strong>bar</strong>baz</div><div class=\"protyle-attr\" contenteditable=\"false\"></div></div>",
|
||||
"id": "20211230161520-querkps",
|
||||
"parentID": "",
|
||||
"previousID": "",
|
||||
"retData": null
|
||||
}
|
||||
],
|
||||
"data": "<div data-node-id=\"20211230161520-querkps\" data-node-index=\"1\" data-type=\"NodeParagraph\" class=\"p\"><div contenteditable=\"true\" spellcheck=\"false\">foo<strong>bar</strong>baz</div><div class=\"protyle-attr\" contenteditable=\"false\"></div></div>",
|
||||
"id": "20211230161520-querkps",
|
||||
"parentID": "",
|
||||
"previousID": "",
|
||||
"retData": null
|
||||
}
|
||||
],
|
||||
"undoOperations": null
|
||||
}
|
||||
]
|
||||
|
@ -671,7 +671,7 @@
|
|||
{
|
||||
"id": "20210912214605-uhi5gco",
|
||||
"attrs": {
|
||||
"custom-attr1": "line1\nline2"
|
||||
"custom-attr1": "line1\nline2"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -769,8 +769,8 @@
|
|||
"code": 0,
|
||||
"msg": "",
|
||||
"data": {
|
||||
"hPath": "/0 请从这里开始",
|
||||
"content": "## 🍫 内容块\n\n在思源中,唯一重要的核心概念是..."
|
||||
"hPath": "/0 请从这里开始",
|
||||
"content": "## 🍫 内容块\n\n在思源中,唯一重要的核心概念是..."
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -791,8 +791,8 @@
|
|||
"code": 0,
|
||||
"msg": "",
|
||||
"data": {
|
||||
"details": "Finishing boot...",
|
||||
"progress": 100
|
||||
"details": "Finishing boot...",
|
||||
"progress": 100
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue