Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
swagger
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
张允禹
swagger
Commits
cc43ae62
Commit
cc43ae62
authored
Aug 16, 2016
by
zhangxiaolin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.gengmei.cc:zhangyunyu/swagger
parents
1f3e46e2
b0d1fa98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
194 additions
and
18 deletions
+194
-18
ascle.yaml
ascle.yaml
+194
-18
No files found.
ascle.yaml
View file @
cc43ae62
...
@@ -19,7 +19,6 @@ paths:
...
@@ -19,7 +19,6 @@ paths:
schema
:
{}
schema
:
{}
examples
:
examples
:
application/json
:
application/json
:
error_code
:
0
data
:
data
:
doctor
:
doctor
:
department
:
美容外科
department
:
美容外科
...
@@ -115,7 +114,6 @@ paths:
...
@@ -115,7 +114,6 @@ paths:
schema
:
{}
schema
:
{}
examples
:
examples
:
application/json
:
application/json
:
error_code
:
0
data
:
data
:
doctor
:
doctor
:
department
:
美容外科
department
:
美容外科
...
@@ -154,7 +152,6 @@ paths:
...
@@ -154,7 +152,6 @@ paths:
schema
:
{}
schema
:
{}
examples
:
examples
:
application/json
:
application/json
:
error_code
:
0
error
:
0
error
:
0
message
:
'
'
message
:
'
'
data
:
null
data
:
null
...
@@ -178,7 +175,6 @@ paths:
...
@@ -178,7 +175,6 @@ paths:
schema
:
{}
schema
:
{}
examples
:
examples
:
application/json
:
application/json
:
error_code
:
0
error
:
0
error
:
0
message
:
'
'
message
:
'
'
data
:
null
data
:
null
...
@@ -208,7 +204,6 @@ paths:
...
@@ -208,7 +204,6 @@ paths:
schema
:
{}
schema
:
{}
examples
:
examples
:
application/json
:
application/json
:
error_code
:
0
error
:
0
error
:
0
message
:
'
'
message
:
'
'
data
:
null
data
:
null
...
@@ -225,8 +220,6 @@ paths:
...
@@ -225,8 +220,6 @@ paths:
schema
:
{}
schema
:
{}
examples
:
examples
:
application/json
:
application/json
:
error_code
:
0
success
:
true
data
:
data
:
status
:
1
status
:
1
title
:
0123456789012345
title
:
0123456789012345
...
@@ -248,7 +241,6 @@ paths:
...
@@ -248,7 +241,6 @@ paths:
schema
:
{}
schema
:
{}
examples
:
examples
:
application/json
:
application/json
:
error_code
:
0
error
:
0
error
:
0
message
:
'
'
message
:
'
'
data
:
null
data
:
null
...
@@ -265,8 +257,6 @@ paths:
...
@@ -265,8 +257,6 @@ paths:
schema
:
{}
schema
:
{}
examples
:
examples
:
application/json
:
application/json
:
error_code
:
0
success
:
true
data
:
data
:
-
send_time
:
1470137721
-
send_time
:
1470137721
content
:
zcxklvnkj.bfak.wbf分爱死了的女阿克苏的那款那棵树的部分款
content
:
zcxklvnkj.bfak.wbf分爱死了的女阿克苏的那款那棵树的部分款
...
@@ -304,8 +294,6 @@ paths:
...
@@ -304,8 +294,6 @@ paths:
schema
:
{}
schema
:
{}
examples
:
examples
:
application/json
:
application/json
:
error_code
:
0
success
:
true
data
:
data
:
accepted_list
:
accepted_list
:
-
send_time
:
1470137721
-
send_time
:
1470137721
...
@@ -341,8 +329,6 @@ paths:
...
@@ -341,8 +329,6 @@ paths:
image
:
'
http://hera.s.gmei.com/bulletin/2016/03/23/b3e00f8825'
image
:
'
http://hera.s.gmei.com/bulletin/2016/03/23/b3e00f8825'
title
:
我的第一个公告
title
:
我的第一个公告
content_id
:
2
content_id
:
2
error_code
:
0
success
:
true
# ------------------------
# ------------------------
/bulletin/{id}
:
/bulletin/{id}
:
get
:
get
:
...
@@ -363,8 +349,6 @@ paths:
...
@@ -363,8 +349,6 @@ paths:
content_id
:
2
content_id
:
2
message
:
'
'
message
:
'
'
error
:
0
error
:
0
success
:
true
error_code
:
0
# ------------------------
# ------------------------
/switch
:
/switch
:
get
:
get
:
...
@@ -710,8 +694,6 @@ paths:
...
@@ -710,8 +694,6 @@ paths:
total
:
10
total
:
10
message
:
'
'
message
:
'
'
error
:
0
error
:
0
success
:
true
error_code
:
0
# ------------------------
# ------------------------
/statement/{id}
:
/statement/{id}
:
get
:
get
:
...
@@ -841,6 +823,39 @@ paths:
...
@@ -841,6 +823,39 @@ paths:
error
:
0
error
:
0
message
:
"
"
message
:
"
"
/search/reply
:
get
:
summary
:
用户回复列表
description
:
搜用户相关的,非私信类的话题,根据帖子权重和最后修改时间降序排列
parameters
:
-
name
:
page
in
:
query
description
:
分页
required
:
false
type
:
integer
format
:
integer
tags
:
-
Topic
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
data
:
total
:
1235
topics
:
-
title
:
'
颜医生,请问玻尿酸丰下巴怎样收费'
doctor_num
:
4
user_name
:
'
变美不为男人'
city
:
'
北京'
score
:
3
date
:
145678345
id
:
12177395
error
:
0
message
:
"
"
/tag
:
/tag
:
get
:
get
:
summary
:
获取查询标签
summary
:
获取查询标签
...
@@ -891,6 +906,167 @@ paths:
...
@@ -891,6 +906,167 @@ paths:
image_thumb
:
"
http://pic.gengmei.cc/2015/05/25/35fe857608-web"
image_thumb
:
"
http://pic.gengmei.cc/2015/05/25/35fe857608-web"
image
:
"
http://pic.gengmei.cc/2015/05/25/35fe857608-w"
image
:
"
http://pic.gengmei.cc/2015/05/25/35fe857608-w"
/topic/<topic_id>/reply
:
get
:
summary
:
帖子回复
description
:
帖子回复
parameters
:
-
name
:
page
in
:
query
description
:
请求第几页的数据,默认为1
required
:
false
type
:
integer
format
:
integer
tags
:
-
Topic
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
message
:
'
'
error
:
0
data
:
user_nickname
:
"
王飏"
content
:
"
hehe
\n
您提供的照片不符合标准,无法给出具体建议,建议上传……"
reply_id
:
12048264
user_type
:
2
user_id
:
"
newhos11161827"
user_portrait
:
"
http://wanmeizhensuo.qiniudn.com/2015/02/14/9c808ed226"
is_liked
:
false
favor_amount
:
0
is_best_reply
:
false
comments
:
-
comment_id
:
12048265
content
:
"
hehehe您的问题难以准确回答,建议咨询您的手术医生……"
comment_user_id
:
"
newhos11161827"
nickname
:
"
王飏医生"
at_user_type
:
0
at_user_id
:
602329
at_nickname
:
"
"
is_best_reply
:
false
comment_user_type
:
2
reply_date
:
128833445
/topic/<topic_id>/reply/<reply_id>
:
post
:
summary
:
回复
description
:
回复话题,回复话题的回复
parameters
:
-
name
:
content
in
:
query
description
:
回复的内容
required
:
true
type
:
string
format
:
string
tags
:
-
Topic
responses
:
'
200'
:
description
:
OK
/topic/<topic_id>/sink
:
post
:
summary
:
话题下沉
description
:
更改话题分值,话题往后排
parameters
:
-
name
:
topic_id
in
:
query
description
:
话题ID
required
:
true
type
:
integer
format
:
integer
tags
:
-
Topic
responses
:
'
200'
:
description
:
OK
/conversation
:
get
:
summary
:
私信列表
description
:
私信列表
parameters
:
-
name
:
page
in
:
query
description
:
页数
required
:
false
type
:
integer
format
:
integer
tags
:
-
Conversation
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
message
:
'
'
error
:
0
data
:
-
jump_value
:
"
111549_602329"
is_new
:
false
user_key
:
"
111549_602329"
doctor_id
:
"
"
id
:
1270639
jump_type
:
"
6"
nickname
:
"
发疯了的猫"
portrait
:
"
http://pic.gengmei.cc/2015/09/08/1226facfe0"
hospital_id
:
"
"
last_reply_time
:
145554334
text
:
"
呵呵大"
/conversation/<target_user_id>
:
get
:
summary
:
私信详情
description
:
私信详情
tags
:
-
Conversation
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
error
:
0
message
:
"
"
data
:
-
id
:
2936562
user_key
:
"
111549_602329"
audio
:
"
"
portrait
:
"
http://pic.gengmei.cc/2015/09/01/e587955d7f-thumb"
uid
:
111549
nickname
:
"
发疯了的猫"
reply_time
:
145665544
type
:
"
0"
image
:
"
"
image_thumb
:
"
"
text
:
"
干嘛"
send_time
:
113345455
doctor_id
:
"
"
post
:
summary
:
回复私信
description
:
回复私信
parameters
:
-
name
:
type
in
:
formData
description
:
回复类型
required
:
true
type
:
integer
format
:
integer
-
name
:
content
in
:
formData
description
:
回复内容
required
:
true
type
:
string
tags
:
-
Conversation
responses
:
'
200'
:
description
:
OK
# ------------------------
# ------------------------
/reserve
:
/reserve
:
get
:
get
:
...
...
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