Skip to content

Commit

Permalink
update http api url
Browse files Browse the repository at this point in the history
  • Loading branch information
lestercx committed Mar 27, 2024
1 parent cf982e7 commit c79b6b4
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 14 deletions.
4 changes: 3 additions & 1 deletion http_interface/batch_kline_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
## GET Batch K-Line Query

GET /quote-b-api/batch-kline
GET /batch-kline

> Please refer to the complete URL in [API Address Description](./api_address_description.md)
Batch query K-line functionality. Due to the large number of batch query parameters, they are placed in the body, with only the token field parameter remaining in the URL parameters.

Expand Down
8 changes: 5 additions & 3 deletions http_interface/batch_kline_query_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
## GET 批量K线查询

GET /quote-b-api/batch-kline
GET /batch-kline

> 完整的URL请参见[API地址说明](./api_address_description_cn.md)
批量查询K线功能,由于批量查询参数比较多,放入body中,url参数中只保留token字段参数。

> Body 请求参数
```json
{
"trace": "py_http_test1",
"trace": "c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
"data": {
"data_list": [
{
Expand Down Expand Up @@ -55,7 +57,7 @@ GET /quote-b-api/batch-kline
{
"ret": 200,
"msg": "ok",
"trace": "asdfsdfa",
"trace": "c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
"data": {
"kline_list": [
{
Expand Down
4 changes: 2 additions & 2 deletions http_interface/common_standard_header.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

```json
{
"trace": "40f8-9555-14015e32b7a",
"trace": "c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
"data": {
}
}
Expand All @@ -28,7 +28,7 @@
{
"ret": 202,
"msg": "request data param invalid",
"trace": "40f8-9555-14015e32b7a",
"trace": "c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
"data": {}
}

Expand Down
4 changes: 2 additions & 2 deletions http_interface/common_standard_header_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| data | 数据体 | object || 具体数据格式见各个接口定义 |
```json
{
"trace":"asdfsdfa",
"trace":"c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
"data":{
}
}
Expand All @@ -26,7 +26,7 @@
{
"ret":202,
"msg":"request data param invalid",
"trace":"asdfsdfa",
"trace":"c2a8a146-a647-4d6f-ac07-8c4805bf0b74",
"data":{
}
}
Expand Down
3 changes: 2 additions & 1 deletion http_interface/kline_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
## GET K-Line Query

GET /quote-stock-b-api/kline
GET /kline
> Please refer to the complete URL in [API Address Description](./api_address_description.md)
### Request Parameters

Expand Down
3 changes: 2 additions & 1 deletion http_interface/kline_query_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
## GET K线查询

GET /quote-stock-b-api/kline
GET /kline
> 完整的URL请参见[API地址说明](./api_address_description_cn.md)
### 请求参数

Expand Down
3 changes: 2 additions & 1 deletion http_interface/latest_order_book_price_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
## GET Latest Depth Tick Query

GET /quote-stock-b-api/depth-tick
GET /depth-tick
> Please refer to the complete URL in [API Address Description](./api_address_description.md)
### Request Parameters

Expand Down
3 changes: 2 additions & 1 deletion http_interface/latest_order_book_price_query_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
## GET 最新盘口报价查询

GET /quote-stock-b-api/depth-tick
GET /depth-tick
> 完整的URL请参见[API地址说明](./api_address_description_cn.md)
### 请求参数

Expand Down
4 changes: 3 additions & 1 deletion http_interface/latest_transaction_price_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
## GET Latest Trade Tick Query

GET /quote-stock-b-api/trade-tick
GET /trade-tick
> Please refer to the complete URL in [API Address Description](./api_address_description.md)

### Request Parameters

Expand Down
4 changes: 3 additions & 1 deletion http_interface/latest_transaction_price_query_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
## GET 最新成交报价查询

GET /quote-stock-b-api/trade-tick
GET /trade-tick

> 完整的URL请参见[API地址说明](./api_address_description_cn.md)
### 请求参数

Expand Down

0 comments on commit c79b6b4

Please sign in to comment.