docs: update API endpoint examples safely
Use the documented API host and replace credential fragments with placeholders.
This commit is contained in:
@@ -11,10 +11,10 @@ outline: deep
|
||||
## 服务地址
|
||||
|
||||
```text
|
||||
https://api.iotlcm.example.com
|
||||
https://apiv3.5iot.cn
|
||||
```
|
||||
|
||||
HTTP(`http://api.iotlcm.example.com`)仅为存量兼容保留,不做自动跳转,新接入请使用 HTTPS。
|
||||
HTTP(`http://apiv3.5iot.cn`)仅为存量兼容保留,不做自动跳转,新接入请使用 HTTPS。
|
||||
|
||||
## 接口信息
|
||||
|
||||
@@ -52,7 +52,7 @@ POST /openapi/v3/query/operator-token
|
||||
"data": {
|
||||
"chanAlias": "中国移动物联网",
|
||||
"chanKey": "channel_010",
|
||||
"accessToken": "YOUR_ACCESS_TOKENf3515b3bdaeca904dd2e904061b65e8153",
|
||||
"accessToken": "YOUR_ACCESS_TOKEN",
|
||||
"tokenExpire": "2026-09-09 16:00:00"
|
||||
},
|
||||
"error": null
|
||||
@@ -76,7 +76,7 @@ POST /openapi/v3/query/operator-token
|
||||
|
||||
```bash
|
||||
curl --request POST \
|
||||
--url https://api.iotlcm.example.com/openapi/v3/query/operator-token \
|
||||
--url https://apiv3.5iot.cn/openapi/v3/query/operator-token \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{
|
||||
"appId": "7s9g2p5n8z1d4m6r",
|
||||
|
||||
Reference in New Issue
Block a user