文档
测试

根据tag获取文章详情

GET
articles/query-article

接口描述

根据指定tag获取文章详情

请求参数

参数名
类型
描述
必填
tag
string
文章tag
必填

响应参数

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

说明 / 示例

根据指定的tag返回文章。如果没有找到对应tag的文章,则返回404 ```json { "id": 1, "title": "突发!黎巴嫩首都爆炸已致78死4000伤,官方证实2700余吨硝酸铵爆炸", "content":"真是惨烈", "tag":"tfxw" } ```