文档
测试

获取文章详情

GET
articles/<文章ID>

接口描述

获取文章详情

响应参数

参数名
类型
描述
必填
id
int
文章ID
必填
title
string
文章标题
必填
author
string
作者
必填
thumbnail
string
缩略图
必填
read_count
int
阅读量 示例:0
必填
created_at
string
创建时间 示例:2020-08-09T02:24:40.494836+08:00
必填
type
string
类型
必填
content
string
示例:黎巴嫩首都贝鲁特港口区4日傍晚发生剧烈爆炸,目前爆炸已造成78人死亡,超4000人受伤。除了已知的伤亡数字外,还有大量人员下落不明。
必填
created_at
string
示例:2020-08-09T02:24:40.494836+08:00
必填

说明 / 示例

根据文章ID 返回文章详情信息 ```json { "id": 1, "title": "突发!黎巴嫩首都爆炸已致78死4000伤,官方证实2700余吨硝酸铵爆炸", "author": "青岛海丽安防", "abstract": "这是简介", "thumbnail": "http://mp.nsw888.com/xSource/NS115845111/20200805165252_1240.jpg", "read_count": 3, "created_at": "2020-08-09T02:24:40.494836+08:00", "type": "zzsc" } ```