mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 18:20:26 +08:00
📝 API 英文文档 Fix https://github.com/siyuan-note/siyuan/issues/4095
This commit is contained in:
parent
6110289bd5
commit
78a691c39d
36
API.md
36
API.md
@ -480,12 +480,12 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||||||
"doOperations": [
|
"doOperations": [
|
||||||
{
|
{
|
||||||
"action": "insert",
|
"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>",
|
"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",
|
"id": "20211230115020-g02dfx0",
|
||||||
"parentID": "",
|
"parentID": "",
|
||||||
"previousID": "20211229114650-vrek5x6",
|
"previousID": "20211229114650-vrek5x6",
|
||||||
"retData": null
|
"retData": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"undoOperations": null
|
"undoOperations": null
|
||||||
}
|
}
|
||||||
@ -609,13 +609,13 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||||||
"doOperations": [
|
"doOperations": [
|
||||||
{
|
{
|
||||||
"action": "update",
|
"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>",
|
"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",
|
"id": "20211230161520-querkps",
|
||||||
"parentID": "",
|
"parentID": "",
|
||||||
"previousID": "",
|
"previousID": "",
|
||||||
"retData": null
|
"retData": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"undoOperations": null
|
"undoOperations": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -671,7 +671,7 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||||||
{
|
{
|
||||||
"id": "20210912214605-uhi5gco",
|
"id": "20210912214605-uhi5gco",
|
||||||
"attrs": {
|
"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,
|
"code": 0,
|
||||||
"msg": "",
|
"msg": "",
|
||||||
"data": {
|
"data": {
|
||||||
"hPath": "/Please Start Here",
|
"hPath": "/Please Start Here",
|
||||||
"content": "## 🍫 Content Block\n\nIn SiYuan, the only important core concept is..."
|
"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,
|
"code": 0,
|
||||||
"msg": "",
|
"msg": "",
|
||||||
"data": {
|
"data": {
|
||||||
"details": "Finishing boot...",
|
"details": "Finishing boot...",
|
||||||
"progress": 100
|
"progress": 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
36
API_zh_CN.md
36
API_zh_CN.md
@ -480,12 +480,12 @@
|
|||||||
"doOperations": [
|
"doOperations": [
|
||||||
{
|
{
|
||||||
"action": "insert",
|
"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>",
|
"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",
|
"id": "20211230115020-g02dfx0",
|
||||||
"parentID": "",
|
"parentID": "",
|
||||||
"previousID": "20211229114650-vrek5x6",
|
"previousID": "20211229114650-vrek5x6",
|
||||||
"retData": null
|
"retData": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"undoOperations": null
|
"undoOperations": null
|
||||||
}
|
}
|
||||||
@ -609,13 +609,13 @@
|
|||||||
"doOperations": [
|
"doOperations": [
|
||||||
{
|
{
|
||||||
"action": "update",
|
"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>",
|
"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",
|
"id": "20211230161520-querkps",
|
||||||
"parentID": "",
|
"parentID": "",
|
||||||
"previousID": "",
|
"previousID": "",
|
||||||
"retData": null
|
"retData": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"undoOperations": null
|
"undoOperations": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -671,7 +671,7 @@
|
|||||||
{
|
{
|
||||||
"id": "20210912214605-uhi5gco",
|
"id": "20210912214605-uhi5gco",
|
||||||
"attrs": {
|
"attrs": {
|
||||||
"custom-attr1": "line1\nline2"
|
"custom-attr1": "line1\nline2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -769,8 +769,8 @@
|
|||||||
"code": 0,
|
"code": 0,
|
||||||
"msg": "",
|
"msg": "",
|
||||||
"data": {
|
"data": {
|
||||||
"hPath": "/0 请从这里开始",
|
"hPath": "/0 请从这里开始",
|
||||||
"content": "## 🍫 内容块\n\n在思源中,唯一重要的核心概念是..."
|
"content": "## 🍫 内容块\n\n在思源中,唯一重要的核心概念是..."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -791,8 +791,8 @@
|
|||||||
"code": 0,
|
"code": 0,
|
||||||
"msg": "",
|
"msg": "",
|
||||||
"data": {
|
"data": {
|
||||||
"details": "Finishing boot...",
|
"details": "Finishing boot...",
|
||||||
"progress": 100
|
"progress": 100
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user