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
661c0673
Commit
661c0673
authored
Sep 07, 2021
by
zhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加了查询作品的一些数据统计接口文档
parent
f65a50d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
9 deletions
+50
-9
导入txt文件和监听百分比.md
dramaeditor/导入txt文件和监听百分比.md
+2
-9
查询作品的所有数据的数量.md
dramaeditor/查询作品的所有数据的数量.md
+48
-0
No files found.
dramaeditor/导入txt文件和监听百分比.md
View file @
661c0673
...
...
@@ -16,13 +16,6 @@
| id | Long | 作品id | Y |
| flags | Boolean | 累加还是覆盖,true为覆盖 | Y |
4.
请求体示例
```
curl --location --request post 'http://localhost:48089/work/importTxt?id=1'
上传的文件
```
## 响应参数
-
响应参数示例
...
...
@@ -52,7 +45,7 @@ curl --location --request post 'http://localhost:48089/work/importTxt?id=1'
4.
请求体示例
```
curl --location --request post 'http://localhost:48089/work/getPercent?
i
d=1'
curl --location --request post 'http://localhost:48089/work/getPercent?
projectI
d=1'
上传的文件
```
...
...
dramaeditor/查询作品的所有数据的数量.md
0 → 100644
View file @
661c0673
## 1.1获取作品的所有数据的数量
## 请求参数
1. 请求方式
Request Method: get
Path: /plotpoint/getAllCount
2. 请求头:无
3. 请求参数
| 参数名 | 参数类型 | 描述 | 必须 |
| ------ | -------- | ------ | ---- |
| workId | Long | 作品id | Y |
4.
请求示例体
```
curl --location --request GET 'localhost:48089/plotpoint/getAllCount?workId=1155' \
--header 'Authorization: Basic ZXlKaGJHY2lPaUpJVXpJMU5pSjkuZXlKcFlYUWlPakUyTXpBNU9ETXlOamtzSW1WNGNDSTZNVFl6TVRBMk9UWTJPU3dpWVhWMGFHOXlhWFI1SWpveExDSnBaQ0k2TVgwLjJVSHNHUlFHSWoxTHpXNG5Bc0VWRFpPd2JBci1ZeHVKRFRjLXdwWDZ6aGM6czAwcGVyczNjcmV0' \
--header 'Content-Type: application/json' \
--data-raw '{
"workId":295
}'
```
## 响应参数
-
响应参数示例
```
{
"code": 1,
"msg": "成功",
"data": {
"branchesCount": 164,
"intentsCount": 163,
"commentCount": 0,
"textCount": 9171,
"plotCount": 199
}
}
```
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