Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
062855b6
Commit
062855b6
authored
Jun 30, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
541aa596
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
13 deletions
+90
-13
work_data_api.md
app_doc/work_data_api.md
+30
-13
dramaeditor_doc.md
dramaeditor/dramaeditor_doc.md
+60
-0
No files found.
app_doc/work_data_api.md
View file @
062855b6
...
@@ -489,20 +489,27 @@ METHOD: GET
...
@@ -489,20 +489,27 @@ METHOD: GET
1
1
```
```
##### 通过bot
username
列表获取作品信息
##### 通过bot
ID
列表获取作品信息
URL: baseUrl:18082/api/work/byBotAccounts
URL: baseUrl:18082/api/work/byBotAccounts
METHOD: POST
METHOD: POST
ReqeustParams:
| Parameter | Type | Description |
| :----------- |:------| :------------ |
| userId | String | 用户Id(选填,兼容以前的接口) |
RequestHeaders:
RequestHeaders:
| key | value |
| key | value |
| :----------- | :------------: |
| :----------- | :------------: |
| App-Channel-Id | 渠道(可为空) |
| App-Channel-Id | 渠道 |
| ApiToken | token |
RequestBody:
RequestBody:
```
```
json
{
{
"botAccounts"
:[
"botAccounts"
:[
"6854303973"
,
"6854303973"
,
...
@@ -518,18 +525,28 @@ ResponseBody:
...
@@ -518,18 +525,28 @@ ResponseBody:
"msg": "成功",
"msg": "成功",
"data": [
"data": [
{
{
"aipioneerUsername": "6854303973",
"aipioneerUsername": "gz33botxiaowutousujianyibot423905769",
"image": "http://didi-gz4.jiaoyou365.com/Editor//upload/img/other/2019/09/19110704225.jpeg",
"image": "http://api-pre.heyqiwu.cn/media/gz33botxiaowutousujianyibot423905769/img/YZBSVYZ1621937951350_cover_list_page_1x1.jpeg",
"workname": "星球问答",
"workname": "投诉建议",
"authorname": "北卡",
"authorname": "八度妖",
"hot": 1448
"hot": 89.0,
"tip": ""
},
{
"aipioneerUsername": "gz38botmigongbeifen255564915",
"image": "http://api-pre.heyqiwu.cn/media/gz38botmigongbeifen255564915/img/XcSYUfc1621659929874_cover_list_page_1x1.jpeg",
"workname": "勇闯知识迷宫",
"authorname": "君心",
"hot": 97.0,
"tip": ""
},
},
{
{
"aipioneerUsername": "5741775745",
"aipioneerUsername": "gz38botwolongxiansheng0426234967194",
"image": "http://didi-gz4.jiaoyou365.com/Editor//upload/img/other/2019/09/19103050852.jpeg",
"image": "http://api-pre.heyqiwu.cn/media/gz38botwolongxiansheng0426234967194/img/bWFTPLR1619490989558_cover_list_page_1x1.jpeg",
"workname": "小神童闯关",
"workname": "卧龙先生",
"authorname": "迷津玄师",
"authorname": "君心",
"hot": 173
"hot": 96.0,
"tip": "New"
}
}
]
]
}
}
...
...
dramaeditor/dramaeditor_doc.md
0 → 100644
View file @
062855b6
#### 获取项目列表
```
[
{
"id":123, // 项目ID
"name":"游戏世界", // 项目名称
"countWord":123123 // 统计文字总数(不可编辑)
}
]
```
#### 获取剧情列表
```
[{
"id": 1231,
"num": "1-1",
"texts":[
{
"npcName":"长老",
"content":"欢迎来到游戏世界"
}
],
"projectId": 1,
"ownerId": 1
}]
```
#### 获取单个剧情点
```
{
"id": 1231,
"num": "1-1",
"texts":[
{
"npcName":"长老",
"content":"欢迎来到游戏世界"
}
],
"branchs":[
{
"name":"分支1",
"examples":[
"好的",
"嗯嗯"
],
"nextPlotNum":"1-2"
},
{
"name":"分支2",
"examples":[
"不好",
"no"
],
"nextPlotNum":"1-3"
}
],
"projectId": 1,
"ownerId": 1
}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment