GET api/news/{id}?imsi={imsi}
新闻详情
请求信息
URI 参数
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| imsi | string |
Default value is |
Body 请求体 参数
None.
响应消息
内容 描述
CxccApiResponseBaseOfNewsDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| data | NewsDetail |
None. |
|
| code | integer |
None. |
|
| msg | string |
None. |
响应示例
application/json, text/json
Sample:
{
"data": {
"cont": "sample string 1",
"author": "sample string 2",
"source": "sample string 3",
"iscollect": 4,
"rcnews": [
{
"id": "sample string 1",
"title": "sample string 2",
"cname": "sample string 3",
"rnum": 4,
"pubtime": "2025/12/26 05:29:20",
"pubtimeshow": "刚刚",
"imgurl": "sample string 6",
"hitsinm": 7,
"ishot": 0,
"isnew": 1
},
{
"id": "sample string 1",
"title": "sample string 2",
"cname": "sample string 3",
"rnum": 4,
"pubtime": "2025/12/26 05:29:20",
"pubtimeshow": "刚刚",
"imgurl": "sample string 6",
"hitsinm": 7,
"ishot": 0,
"isnew": 1
}
],
"shearid": "sample string 5",
"id": "sample string 6",
"title": "sample string 7",
"cname": "sample string 8",
"rnum": 9,
"pubtime": "2025/12/26 05:29:20",
"pubtimeshow": "刚刚",
"imgurl": "sample string 11",
"hitsinm": 12,
"ishot": 0,
"isnew": 1
},
"code": 1,
"msg": "sample string 2"
}
image/png
Sample:
Sample not available.
image/jpg
Sample:
Sample not available.