From 32dc3fd69068b08a33f4041e3d1b3110814a4224 Mon Sep 17 00:00:00 2001 From: jixudong Date: Thu, 14 Dec 2023 18:40:47 +0800 Subject: [PATCH] Replace 项目列表-监听.md --- gameditor/前端接口/项目列表-监听.md | 119 ++++++++++++++++++++++++++--------------------------------------------------------------------------------------------- 1 file changed, 26 insertions(+), 93 deletions(-) diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\347\233\221\345\220\254.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\347\233\221\345\220\254.md" index 38c4ae2..93ba65b 100644 --- "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\347\233\221\345\220\254.md" +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\347\233\221\345\220\254.md" @@ -4,73 +4,6 @@ [TOC] -### 获取剧情点问答数据 - -**METHOD**: GET - -**path**: api/platform/design/plot/qa/{plotId}/ - -**RequestHeaders:** 同创作平台请求header - -#### 请求path字段说明 - -| key | type | required | description | -| ------ | ---- | -------- | ----------- | -| plotId | | yes | 剧情点ID | - -#### 请求param字段说明 - -| key | type | required | description | -| ---- | ---- | -------- | ----------- | -| 无 | | | | - -#### 请求body字段说明 - -| key | type | required | description | -| ---- | ---- | -------- | ----------- | -| 无 | | | | - -#### 请求示例 - -```js -curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/qa/1914361/' \ - -H 'Accept: application/json, text/plain, */*' \ - -H 'Accept-Language: zh-CN,zh;q=0.9' \ - -H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURFd05qRTNNVE1zSW1WNGNDSTZNVGN3TVRBMk9Ea3hNeXdpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLmlzYl9Hc09VajdZbmQ3alN0ZUVldDhWSjNwYXBZVmxQQ1FGUmpsV3BOZlE6czAwcGVyczNjcmV0' \ - -H 'Connection: keep-alive' \ - -H 'Origin: http://localhost:8080' \ - -H 'Referer: http://localhost:8080/' \ - -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36' \ - -H 'botAccount: 6080626246' \ - -H 'groupId: 76' \ - -H 'mul: true' \ - -H 'projectId: 1' \ - --compressed \ - --insecure -``` - -#### 响应实例 - -```json -{ - "code": 1, - "msg": "成功", - "data": [ - { - "id": 1043272, - "question": "你好吗", - "fType": 0, - "answer": { - "content": "我挺好", - "npcId": 145383, - "npcName": "陌生声音", - "mood": "正常" - } - } - ] -} -``` - ### 分页获取词性定义 **METHOD**: GET @@ -81,11 +14,11 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/qa/1914361/' \ #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | -| pageSize | | yes | 页面数据量 | -| pageNum | | yes | 页码 | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | +| pageSize | number | yes | 页面数据量 | +| pageNum | number | yes | 页码 | #### 请求body字段说明 @@ -162,9 +95,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/keyword/property?projectId=1 #### 请求path字段说明 -| key | type | required | description | -| ---------------------- | ---- | -------- | ----------- | -| listeningActionGroupId | | yes | 监听分组ID | +| key | type | required | description | +| ---------------------- | ------ | -------- | ----------- | +| listeningActionGroupId | number | yes | 监听分组ID | #### 请求param字段说明 @@ -334,11 +267,11 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/listeningAction/305795' \ #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | -| pageSize | | yes | 页面数据量 | -| pageNum | | yes | 页码 | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | +| pageSize | number | yes | 页面数据量 | +| pageNum | number | yes | 页码 | #### 请求body字段说明 @@ -515,9 +448,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/listeningAction/page/?projec #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | #### 请求body字段说明 @@ -605,10 +538,10 @@ app,名词 #### 请求body字段说明 form data -| key | type | required | description | -| --------- | ---- | -------- | ------------ | -| file | | yes | 词性定义文件 | -| projectId | | yes | 项目id | +| key | type | required | description | +| --------- | ------ | -------- | ------------ | +| file | csv | yes | 词性定义文件 | +| projectId | number | yes | 项目id | #### 请求示例 @@ -641,7 +574,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/keyword/property/updown' \ } ``` -### 生成预览可视化对象 +### 监听预览 **METHOD**: GET @@ -651,11 +584,11 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/keyword/property/updown' \ #### 请求param字段说明 -| key | type | required | description | -| --------- | ---- | -------- | ----------- | -| projectId | | yes | 项目id | -| pageSize | | no | 页面数据量 | -| pageNum | | no | 页码 | +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | +| pageSize | number | no | 页面数据量 | +| pageNum | number | no | 页码 | #### 请求body字段说明 -- libgit2 0.27.1