Skip to content

Commit 0125992

Browse files
committed
add: 添加api(work/report)
from #12
1 parent 2cd6491 commit 0125992

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

_sidebar.md

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- [发布作品](/work/publish.md)
3232
- [取消发布作品](/work/unpublish.md)
3333
- [作品信息](/work/details.md)
34+
- [举报作品](/work/report.md)
3435
- [作品继承树](/work/tree.md)
3536
- [作品源码](/work/source-code.md)
3637
- 论坛

work/report.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# 举报作品
2+
3+
> `/nemo/v2/report/work` `POST` `需要cookies`
4+
5+
!> 慎用此 api,多次恶意举报他人可能会造成封号!
6+
7+
## POST 请求信息
8+
9+
| key | value | type |
10+
| :-------------: | :------------: | :----: |
11+
| report_describe | 举报的详细信息 | string |
12+
| report_reason | 举报类型 | string |
13+
| work_id | 作品 id | int |
14+
15+
## 返回内容
16+
17+
?> 如果请求信息正确,此请求无返回内容

0 commit comments

Comments
 (0)