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
686d49d3
Commit
686d49d3
authored
Aug 15, 2016
by
RobertDing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ADD - 帖子列表
parent
8b678671
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
0 deletions
+56
-0
ascle.yaml
ascle.yaml
+56
-0
No files found.
ascle.yaml
View file @
686d49d3
...
@@ -696,6 +696,62 @@ paths:
...
@@ -696,6 +696,62 @@ paths:
online_time
:
1458730446
online_time
:
1458730446
message
:
'
'
message
:
'
'
error
:
0
error
:
0
# ------------------------
/search/topic
get
:
summary
:
帖子列表
description
:
搜索帖子列表, 搜正常的,公共的,在线的,咨询类的,tag相关的话题,根据时间降序排列
parameters
:
-
name
:
page
in
:
query
description
:
分页
required
:
false
type
:
integer
format
:
integer
-
name
:
tag_id
in
:
query
description
:
标签 id, 数据从 /tag 获取
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
:
'
北京'
date
:
145678345
error
:
0
message
:
"
"
/tag
get
:
summary
:
获取查询标签
description
:
用于查询帖子列表的tags
tags
:
-
Topic
responses
:
'
200'
:
description
:
OK
schema
:
{}
examples
:
application/json
:
message
:
'
'
error
:
0
data
:
total
:
1234
tags
:
-
name
:
眼睛
id
:
123
# ------------------------
# ------------------------
/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