后端接口定义
后端接口定义文档用于定义后端服务的接口,包括接口的URL、请求方法(如GET、POST等)、请求参数、返回数据格式。
Last updated
后端接口定义文档用于定义后端服务的接口,包括接口的URL、请求方法(如GET、POST等)、请求参数、返回数据格式。
Last updated
本文档是软件后端接口定义文档,遵循Swagger2.0协议,是对Swagger自动生成的API文档的详细标注。该文档主要起到如下作用:
对开发团队/第三方开发者
前端可以根据本文档进行后端接口调用
测试可以根据本文档进行接口测试
后端可以参考该文档进行迭代开发
对用户
用户可以了解后端系统的可用功能
本文档由 负责编写。
获取所有用户的列表
A page number within the paginated result set.
获取成功
获取指定用户的详细信息
A unique integer value identifying this user.
删除指定用户
A unique integer value identifying this user.
解绑用户车辆通行证信息
删除用户
获取所有电动车的列表
brand
rating
release_date
min_price
max_price
Which field to use when ordering the results.
A page number within the paginated result set.
获取成功
No content
获取所有电动车ID列表
A page number within the paginated result set.
No content
获取指定电动车的详细信息
A unique integer value identifying this bike.
No content
删除指定电动车
A unique integer value identifying this bike.
No content
删除电动车图片
A unique integer value identifying this bike image.
No content
获取所有渠道的列表
A page number within the paginated result set.
获取成功
No content
获取所有渠道ID列表
A page number within the paginated result set.
获取成功
No content
获取指定渠道的详细信息
A unique integer value identifying this channel.
No content
删除指定渠道
A unique integer value identifying this channel.
No content
获取所有车小圈帖子
A page number within the paginated result set.
No content
获取用户发布过的帖子
A page number within the paginated result set.
No content
获取指定的车小圈帖子
A UUID string identifying this post.
No content
删除指定的车小圈帖子
A UUID string identifying this post.
No content
获取所有评论
A page number within the paginated result set.
No content
获取指定的车小圈帖子评论
A unique integer value identifying this comment.
No content
删除指定的车小圈帖子评论
A unique integer value identifying this comment.
No content
获取当前用户的所有点赞过的帖子
A page number within the paginated result set.
No content
获取当前用户的所有收藏过的帖子
A page number within the paginated result set.
No content
修改当前用户对特定帖子点赞/收藏状态
No content
获取特定帖子的点赞/收藏数量
No content
获取首页的车小圈帖子,支持指定页码
A page number within the paginated result set.
Number of results to return per page.
No content
发布新的商品
No content
获取当前用户发布的所有商品
获取成功
No content
获取指定商品的详细信息
A unique value identifying this goods.
No content
A unique value identifying this goods.
No content
获取用户的所有预约
A page number within the paginated result set.
No content
获取指定的预约详情
A unique integer value identifying this appointment.
No content
删除指定的预约
A unique integer value identifying this appointment.
No content
获取所有服务商家
A page number within the paginated result set.
No content
获取指定的服务商家详情
A unique integer value identifying this service shop.
No content
删除指定的服务商家
A unique integer value identifying this service shop.
No content
获取所有服务提示
A page number within the paginated result set.
No content
获取指定的服务提示详情
A unique integer value identifying this service tip.
No content
删除指定的服务提示
A unique integer value identifying this service tip.
No content
获取所有举报报告
A page number within the paginated result set.
No content
获取指定举报报告的详细信息
A UUID string identifying this 举报.
No content
用户登录获取JWT
创建新用户
Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
^[\w.@+-]+$
Takes a refresh type JSON web token and returns an access type JSON web token if the refresh token is valid.
更新指定用户的详细信息
A unique integer value identifying this user.
Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
^[\w.@+-]+$
部分更新指定用户的详细信息
A unique integer value identifying this user.
Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
^[\w.@+-]+$
绑定用户车辆通行证信息
创建新的电动车
No content
更新指定电动车的信息
A unique integer value identifying this bike.
No content
部分更新指定电动车的信息
A unique integer value identifying this bike.
No content
创建电动车图片
No content
创建新的渠道
No content
更新指定渠道的信息
A unique integer value identifying this channel.
No content
部分更新指定渠道的信息
A unique integer value identifying this channel.
No content
创建车小圈帖子
0
0
No content
更新指定的车小圈帖子
A UUID string identifying this post.
0
0
No content
部分更新指定的车小圈帖子
A UUID string identifying this post.
0
0
No content
为帖子创建新评论
0
No content
更新指定的车小圈帖子评论
A unique integer value identifying this comment.
0
No content
部分更新指定的车小圈帖子评论
A unique integer value identifying this comment.
0
No content
修改当前用户对另一用户的关注状态
No content
A unique value identifying this goods.
A unique value identifying this goods.
创建新的预约
pending
Possible values: No content
更新指定的预约信息
A unique integer value identifying this appointment.
pending
Possible values: No content
部分更新指定的预约信息
A unique integer value identifying this appointment.
pending
Possible values: No content
创建新的服务商家
No content
更新指定的服务商家信息
A unique integer value identifying this service shop.
No content
部分更新指定的服务商家信息
A unique integer value identifying this service shop.
No content
创建新的服务提示
No content
更新指定的服务提示信息
A unique integer value identifying this service tip.
No content
部分更新指定的服务提示信息
A unique integer value identifying this service tip.
No content
创建或更新举报报告
pending
Possible values: No content
更新指定举报报告的信息
A UUID string identifying this 举报.
pending
Possible values: No content
部分更新指定举报报告的信息
A UUID string identifying this 举报.
pending
Possible values: No content