文档
测试

请求指定文章

GET
http://127.0.0.1:8000/article/{articleID}/

接口描述

请求指定的文章

接口描述

|支持格式|请求方式|请求参数| |-|-|-| |JSON|GET|无|

响应参数

参数名
类型
描述
必填
errmsg
String
处理请求是否成功
必填
data
Dist
文章字典
必填

请求示例

1. **==GET==** http://127.0.0.1:8000/article/2/ ```JSON { "errmsg": "ok", "data": { "id": 2, "title": "测试文章标题111", "type": "专题聚焦", "synopsis": "测试新闻内容缩写11111", "image_path": "https://www.acgtubao.com/wp-content/uploads/2020/09/43753889_p0.jpg", "body": "文章测试1111111111111111", "message_count": 7856, "time": "2023-1-1" } }