Commit bbf54acc by jixudong

Replace 项目列表-剧情.md

parent 6f98535b
**测试环境URL**:http://tx-gz14.heyqiwu.cn **测试环境URL**:http://tx-gz14.heyqiwu.cn
...@@ -174,37 +174,51 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/package/plot/move?projectId= ...@@ -174,37 +174,51 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/package/plot/move?projectId=
### 跨BOT拷贝 ### 跨BOT拷贝
URL: api/platform/design/bot/data/copy/cross/bot **METHOD**: POST
METHOD: POST **path**: api/platform/design/bot/data/copy/cross/bot
RequestHeaders: **RequestHeaders:** 同创作平台请求header
| key | value | #### 请求param字段说明
| :------------ | :----------------------------- |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 作品ID |
RequestBody: | key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
```json #### 请求body字段说明
{
"originBotAccount":"6080626246", // 源作品bot帐号
"targetBotAccount":"gz25botceshixinjianzuopin2406461887", // 目标作品帐号
"originPlotCategoryIds":[12903, 12904], // 源作品bot要拷贝的剧情分类ID列表
"originListeningActionGroupIds":[45503, 45519] // 源作品bot要拷贝的监听ID列表
}
``` | key | type | required | description |
| ----------------------------- | ---- | -------- | ------------------------------- |
| originBotAccount | | yes | 源作品bot帐号 |
| targetBotAccount | | yes | 目标作品帐号 |
| originPlotCategoryIds | | yes | 源作品bot要拷贝的剧情分类ID列表 |
| originListeningActionGroupIds | | yes | 源作品bot要拷贝的监听ID列表 |
ResponseBody: #### 请求示例
```js
curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/cross/bot' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURJeU5UZzBNVGtzSW1WNGNDSTZNVGN3TWpJMk5UWXhPU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLkJTYXpJNzV0RHJLQU94WGdVYXRPNUdTcWYyLTcySmZ2RHJoM3MybjRFQ0E6czAwcGVyczNjcmV0' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json;charset=UTF-8' \
-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: txgz14botwww853177949' \
-H 'groupId: 713' \
-H 'mul: true' \
-H 'projectId: 6381' \
--data-raw '{"originBotAccount":"txgz14botwww853177949","targetBotAccount":"1524195459","originPlotCategoryIds":[73798],"originListeningActionGroupIds":[]}' \
--compressed \
--insecure
``` ```
SUCCESS:
#### 响应实例
```json
{ {
"code": 1, "code": 1,
"msg": "成功", "msg": "成功",
...@@ -212,38 +226,53 @@ SUCCESS: ...@@ -212,38 +226,53 @@ SUCCESS:
} }
``` ```
### **作品内拷贝** ### 作品内拷贝
URL: api/platform/design/bot/data/copy/cur/bot **METHOD**: POST
METHOD: POST **path**: api/platform/design/bot/data/copy/cur/bot
RequestHeaders: **RequestHeaders:** 同创作平台请求header
| key | value | #### 请求param字段说明
| :------------ | :----------------------------- |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 作品ID |
RequestBody: | key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
```json #### 请求body字段说明
{
"originBotAccount":"6080626246", // 当前bot帐号 | key | type | required | description |
"originPlotIds":[412440, 412441], // 要拷贝的剧情点ID列表 | ----------------------------- | ---- | -------- | -------------------- |
"originListeningActionGroupIds":[45503, 45519], // 需要拷贝的监听ID列表 | originBotAccount | | yes | 源作品bot帐号 |
"targetPlotCategoryId":13230 // 目标剧情分类ID | originPlotIds | | yes | 要拷贝的剧情点ID列表 |
} | originListeningActionGroupIds | | yes | 需要拷贝的监听ID列表 |
| targetPlotCategoryId | | yes | 目标剧情分类ID |
#### 请求示例
```js
curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/cross/bot' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURJeU5UZzBNVGtzSW1WNGNDSTZNVGN3TWpJMk5UWXhPU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLkJTYXpJNzV0RHJLQU94WGdVYXRPNUdTcWYyLTcySmZ2RHJoM3MybjRFQ0E6czAwcGVyczNjcmV0' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json;charset=UTF-8' \
-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: txgz14botwww853177949' \
-H 'groupId: 713' \
-H 'mul: true' \
-H 'projectId: 6381' \
--data-raw '{"originBotAccount":"txgz14botwww853177949","targetBotAccount":"1524195459","originPlotCategoryIds":[73798],"originListeningActionGroupIds":[]}' \
--compressed \
--insecure
``` ```
ResponseBody: #### 响应实例
```json ```json
SUCCESS:
{ {
"code": 1, "code": 1,
"msg": "成功", "msg": "成功",
...@@ -253,22 +282,44 @@ SUCCESS: ...@@ -253,22 +282,44 @@ SUCCESS:
### 获取拷贝进度 ### 获取拷贝进度
URL: api/platform/design/bot/data/copy/percent?botAccount={BOT帐号例如:6080626246} **METHOD**: GET
**path**: api/platform/design/bot/data/copy/percent
METHOD: GET **RequestHeaders:** 同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---------- | ---- | -------- | -------------- |
| botAccount | | yes | 在引擎中的帐号 |
#### 请求body字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
RequestHeaders: #### 请求示例
| key | value | ```js
| :------------ | :----------------------------- | curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/bot/data/copy/percent?botAccount=txgz14botwww853177949' \
| Content-Type | application/json;charset=utf-8 | -H 'Accept: application/json, text/plain, */*' \
| Authorization | TOKEN | -H 'Accept-Language: zh-CN,zh;q=0.9' \
| botAccount | bot帐号 | -H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURJeU5UZzBNVGtzSW1WNGNDSTZNVGN3TWpJMk5UWXhPU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLkJTYXpJNzV0RHJLQU94WGdVYXRPNUdTcWYyLTcySmZ2RHJoM3MybjRFQ0E6czAwcGVyczNjcmV0' \
| groupId | 组ID | -H 'Connection: keep-alive' \
| mul | true | -H 'Origin: http://localhost:8080' \
| projectId | 作品ID | -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: txgz14botwww853177949' \
-H 'groupId: 713' \
-H 'mul: true' \
-H 'projectId: 6381' \
--compressed \
--insecure
```
ResponseBody: #### 响应实例
```json ```json
SUCCESS: SUCCESS:
...@@ -309,4 +360,108 @@ FAILTURE: ...@@ -309,4 +360,108 @@ FAILTURE:
} }
``` ```
#### ### 获取全部作品数据
\ No newline at end of file
**METHOD**: GET
**path**: api/platform/user/group/all
**RequestHeaders:** 同创作平台请求header
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求body字段说明
| key | type | required | description |
| ---- | ---- | -------- | ----------- |
| 无 | | | |
#### 请求示例
```js
curl 'http://tx-gz14.heyqiwu.cn/api/platform/user/group/all' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9' \
-H 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUzTURBM09Ea3hNemdzSW1WNGNDSTZNVGN3TURjNU5qTXpPQ3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TWpJMGZRLmZoMnNYcFYyeFIzU3VwUTJBeGpzV25iR3ZkQWJuUFUxNGJueF9kRjBBLU06czAwcGVyczNjcmV0' \
-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: 1524195459' \
-H 'groupId: 49' \
-H 'mul: true' \
-H 'projectId: 963' \
--compressed \
--insecure
```
#### 响应实例
```json
{
"code": 1,
"msg": "成功",
"data": [
{
"id": 1,
"name": "小雨相亲",
"ttsName": null,
"showedWorkName": "",
"seriesName": "",
"intro": null,
"botId": 1017,
"botAccount": "6080626246",
"userId": 37,
"username": null,
"userNickname": null,
"nicknames": [],
"generateStatus": 1,
"applyStatus": 0,
"applySuggestion": "",
"watch": 0,
"covers": [],
"defaultPlotImgUrl": "",
"defaultBgmUrl": "",
"preface": null,
"difficulty": "中等",
"suitCrowds": "",
"wordNum": null,
"postURL": "",
"postActive": false,
"startOption": 2,
"edition": 1,
"configContent": "",
"extraOptions": [],
"startAge": 1,
"stopAge": 100,
"workType": 1,
"free": 0,
"audioType": null,
"score": null,
"nerInPretreatment": false,
"archiveOption": 0,
"extra": {
"combinPostForm": false,
"agTaskInfo": {
"progress": null,
"status": 2
}
},
"allowRestart": true,
"hasChecked": false,
"group": {
"id": 76,
"masterId": 37,
"name": "新功能测试",
"multiple": true
},
"labels": []
}
]
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment