Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

移动“准备开发”和“长连接”,组织到 ”API 附录“ 下面并默认折叠。 #267

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/api-reference/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"position": 4.5,
"label": "API 附录",
"collapsible": true,
"collapsed": true,
"link": null
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
---
title: 如何调用 API
title: Overview
id: how-to-access-api
slug: /how-to-access-api
sidebar_position: 1
---

## 开发前须知
本部分内容主要介绍 LongPort OpenAPI 的基础信息,包括如何访问 API、如何使用 API、如何获取 API 接口文档等,内容比较原始。

:::success 提示
建议可以直接采用 SDK 的方式访问 API,SDK 已经封装了 API 的调用方式,使用起来更加方便。

https://open.longportapp.com/sdk
:::

## API 须知

| 注意事项 | 参考文档 |
| -------------------------------------------- | ------------------------------------------------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"position": 5,
"label": "长连接",
"collapsible": true,
"collapsed": false,
"collapsed": true,
"link": null
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"position": 3,
"label": "通信协议",
"collapsible": true,
"collapsed": false,
"collapsed": true,
"link": null
}
7 changes: 0 additions & 7 deletions docs/getting-developed/_category_.json

This file was deleted.

14 changes: 5 additions & 9 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -1037,12 +1037,8 @@ SDK 的详细 API 文档请访问:

## 反馈及沟通

- GitHub Issues: <https://github.com/longportapp/openapi-sdk/>

- 微信沟通群(已满):

<img src="https://pub.lbkrs.com/files/202205/akTNrRTBrT5aMX4f/qrcode.jpg" className="max-w-2xl" />

- 飞书沟通群:

<img src="https://assets.lbkrs.com/uploads/2acb32b6-0718-4304-8d73-432a2d53aa97/feishu.png" className="max-w-2xl" />
| 渠道 | 二维码 / 链接 |
| ------------------ | ---------------------------------------------------------------------------------------------- |
| GitHub Issues | <https://github.com/longportapp/openapi-sdk/issues> |
| 微信沟通群(已满) | <img src="https://pub.lbkrs.com/files/202205/akTNrRTBrT5aMX4f/qrcode.jpg" /> |
| 飞书沟通群 | <img src="https://assets.lbkrs.com/uploads/2acb32b6-0718-4304-8d73-432a2d53aa97/feishu.png" /> |
2 changes: 1 addition & 1 deletion docs/quote/_category_.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"label": "行情",
"collapsible": true,
"collapsed": true,
"collapsed": false,
"link": null,
"position": 3
}
16 changes: 0 additions & 16 deletions docs/socket/overview.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/trade/_category_.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"label": "交易",
"collapsible": true,
"collapsed": true,
"collapsed": false,
"position": 4,
"link": null
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"position": 4.5,
"label": "API Reference",
"collapsible": true,
"collapsed": true,
"link": null
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
---
title: How to access an API
title: Overview
id: how-to-access-api
slug: /how-to-access-api
sidebar_position: 1
---

## Pre-Development Notes
This section mainly introduces the basic information of LongPort OpenAPI, including how to access the API, how to use the API, how to obtain the API interface document, etc., the content is relatively primitive.

:::success Tip
It is recommended to directly use the SDK to access the API, the SDK has encapsulated the API call method, which is more convenient to use.

https://open.longportapp.com/sdk
:::

## Notes

| Precautions | Reference Documents |
| ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"position": 3,
"label": "Protocol",
"collapsible": true,
"collapsed": false,
"collapsed": true,
"link": null
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1045,5 +1045,7 @@ For detailed SDK API document, please visit:

## Contact & Feedback

- GitHub Issues: <https://github.com/longportapp/openapi-sdk>
- Join **Discord** LongPort OpenAPI Server: <https://discord.gg/2gUTSCS6>
| Contact | Description |
| ------- | --------------------------------------------------- |
| GitHub | <https://github.com/longportapp/openapi-sdk/issues> |
| Discord | <https://discord.gg/2gUTSCS6> |
16 changes: 0 additions & 16 deletions i18n/en/docusaurus-plugin-content-docs/current/socket/overview.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"position": 4.5,
"label": "API 附錄",
"collapsible": true,
"collapsed": true,
"link": null
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
---
title: 如何調用 API
title: Overview
id: how-to-access-api
slug: /how-to-access-api
sidebar_position: 1
---

## 開發前須知
本部分內容主要介紹 LongPort OpenAPI 的基礎訊息,包括如何存取 API、如何使用 API、如何取得 API 介面文件等,內容較為原始。

:::success 提示
建議可以直接採用 SDK 的方式存取 API,SDK 已經封裝了 API 的呼叫方式,使用起來更方便。

https://open.longportapp.com/sdk
:::

## API 須知

| 注意事項 | 參考文檔 |
| -------------------------------------------- | ------------------------------------------------- |
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -963,12 +963,10 @@ SDK 的詳細 API 文檔請訪問:

<https://longportapp.github.io/openapi-sdk/>

- GitHub Issues: <https://github.com/longportapp/openapi-sdk/>
## 回饋及溝通

- 微信溝通羣(已滿):

<img src="https://pub.lbkrs.com/files/202205/akTNrRTBrT5aMX4f/qrcode.jpg" className="max-w-2xl" />

- 飛書溝通羣:

<img src="https://assets.lbkrs.com/uploads/2acb32b6-0718-4304-8d73-432a2d53aa97/feishu.png" className="max-w-2xl" />
| 頻道 | 二維碼 / 連結 |
| -------------------- | ---------------------------------------------------------------------------------------------- |
| GitHub Issues | <https://github.com/longportapp/openapi-sdk/issues> |
| 微信溝通群(已完成) | <img src="https://pub.lbkrs.com/files/202205/akTNrRTBrT5aMX4f/qrcode.jpg" /> |
| 飛書溝通群 | <img src="https://assets.lbkrs.com/uploads/2acb32b6-0718-4304-8d73-432a2d53aa97/feishu.png" /> |
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"label": "行情",
"collapsible": true,
"collapsed": true,
"collapsed": false,
"link": null,
"position": 3
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"label": "交易",
"collapsible": true,
"collapsed": true,
"collapsed": false,
"position": 4,
"link": null
}
Loading