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
4c2fd60e
Commit
4c2fd60e
authored
Aug 16, 2016
by
zhangxiaolin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.gengmei.cc:zhangyunyu/swagger
parents
43d205a3
67c38f37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
7 deletions
+39
-7
ascle.yaml
ascle.yaml
+39
-7
No files found.
ascle.yaml
View file @
4c2fd60e
...
...
@@ -82,7 +82,7 @@ paths:
-
Account
responses
:
'
200'
:
responses
:
ok
description
:
ok
schema
:
{}
examples
:
application/json
:
...
...
@@ -897,10 +897,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
:
...
...
@@ -928,11 +935,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
...
...
@@ -971,11 +984,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
:
回复的内容
...
...
@@ -988,13 +1013,13 @@ paths:
'
200'
:
description
:
OK
/topic/
<topic_id>
/sink
:
/topic/
{topic_id}
/sink
:
post
:
summary
:
话题下沉
description
:
更改话题分值,话题往后排
parameters
:
-
name
:
topic_id
in
:
query
in
:
path
description
:
话题ID
required
:
true
type
:
integer
...
...
@@ -1039,10 +1064,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