Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
api_document
Project
Project
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
backend
api_document
Commits
267d8cb8
Commit
267d8cb8
authored
Aug 16, 2016
by
RobertDing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX - url 参数定义方式
parent
b0d1fa98
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
9 deletions
+41
-9
ascle.yaml
ascle.yaml
+41
-9
No files found.
ascle.yaml
View file @
267d8cb8
...
...
@@ -876,10 +876,17 @@ paths:
-
name
:
眼睛
id
:
123
/topic/
<topic_id>
:
/topic/
{topic_id}
:
get
:
summary
:
帖子详情
description
:
帖子详情
parameters
:
-
name
:
topic_id
in
:
path
description
:
帖子ID
required
:
true
type
:
integer
format
:
integer
tags
:
-
Topic
responses
:
...
...
@@ -907,11 +914,17 @@ paths:
image
:
"
http://pic.gengmei.cc/2015/05/25/35fe857608-w"
/topic/
<topic_id>
/reply
:
/topic/
{topic_id}
/reply
:
get
:
summary
:
帖子回复
description
:
帖子回复
parameters
:
-
name
:
topic_id
in
:
path
description
:
帖子ID
required
:
false
type
:
integer
format
:
integer
-
name
:
page
in
:
query
description
:
请求第几页的数据,默认为1
...
...
@@ -950,11 +963,23 @@ paths:
comment_user_type
:
2
reply_date
:
128833445
/topic/
<topic_id>/reply/<reply_id>
:
/topic/
{topic_id}/reply/{reply_id}
:
post
:
summary
:
回复
description
:
回复话题,回复话题的回复
parameters
:
-
name
:
topic_id
in
:
path
description
:
话题ID
required
:
true
type
:
integer
format
:
integer
-
name
:
reply_id
in
:
path
description
:
回复ID
required
:
true
type
:
integer
format
:
integer
-
name
:
content
in
:
query
description
:
回复的内容
...
...
@@ -967,13 +992,13 @@ paths:
'
200'
:
description
:
OK
/topic/<topic_id>
/sink
:
post
:
/topic/{topic_id}
/sink
:
post
:
summary
:
话题下沉
description
:
更改话题分值,话题往后排
parameters
:
-
name
:
topic_id
in
:
query
in
:
path
description
:
话题ID
required
:
true
type
:
integer
...
...
@@ -984,8 +1009,8 @@ paths:
'
200'
:
description
:
OK
/conversation
:
get
:
/conversation
:
get
:
summary
:
私信列表
description
:
私信列表
parameters
:
...
...
@@ -1018,10 +1043,17 @@ paths:
last_reply_time
:
145554334
text
:
"
呵呵大"
/conversation/<target_user_id>
:
/conversation/{target_user_id}
:
get
:
summary
:
私信详情
description
:
私信详情
parameters
:
-
name
:
target_user_id
in
:
path
description
:
私信用户ID
required
:
true
type
:
integer
format
:
integer
tags
:
-
Conversation
responses
:
...
...
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