获取某个作品的详细信息
开发中GET
/api/illustration/detail在查看作品详情页面获取某个作品的详细信息
请求参数
Query 参数
id
string
作品id
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
状态码
message
string
状态信息
data
#/definitions/91614560必需
示例
{
"code": 200,
"message": "consectetur culpa",
"data": {
"id": "34",
"name": "劳计什",
"intro": "consequat nisi",
"labels": [
{
"id": "28",
"name": "工至府统她",
"img": "http://dummyimage.com/400x400",
"color": "reprehenderit deserunt et"
},
{
"id": "51",
"name": "严由东特",
"img": "http://dummyimage.com/400x400",
"color": "in enim sint dolor elit"
},
{
"id": "17",
"name": "许农离共切",
"img": "http://dummyimage.com/400x400",
"color": "Ut deserunt"
}
],
"imgList": [
"http://dummyimage.com/400x400"
],
"authorInfo": {
"id": "32",
"username": "何艳",
"avatar": "http://dummyimage.com/100x100",
"intro": "Ut",
"works": [
{
"id": "87",
"name": "接了准义并",
"imgList": [
"http://dummyimage.com/400x400"
],
"authorId": "60",
"authorName": "会当么金相",
"authorAvatar": "http://dummyimage.com/100x100",
"isLiked": true
}
],
"isFollowing": false
},
"isLiked": true,
"isCollected": true,
"openComment": false,
"isAIGenerated": true,
"comments": [
{
"id": "49",
"content": "eiusmod nulla consectetur",
"createdAt": "2016-02-20 03:37:22",
"authorInfo": {
"id": "76",
"username": "傅娜",
"avatar": "http://dummyimage.com/100x100"
},
"level": 0,
"replyTo": {
"id": "11",
"username": "乔超"
},
"childComments": [
{
"id": "98",
"content": "magna velit dolore",
"createdAt": "1988-04-05 01:25:40",
"authorInfo": {
"id": "86",
"username": "秦秀英",
"avatar": "http://dummyimage.com/100x100"
},
"level": 1,
"replyTo": {
"id": "86",
"username": "高丽"
},
"childComments": []
},
{
"id": "54",
"content": "proident irure",
"createdAt": "2013-10-16 05:38:19",
"authorInfo": {
"id": "95",
"username": "苏磊",
"avatar": "http://dummyimage.com/100x100"
},
"level": 1,
"replyTo": {
"id": "16",
"username": "罗秀英"
},
"childComments": []
},
{
"id": "35",
"content": "irure in",
"createdAt": "1979-04-29 20:56:29",
"authorInfo": {
"id": "78",
"username": "文静",
"avatar": "http://dummyimage.com/100x100"
},
"level": 1,
"replyTo": {
"id": "10",
"username": "沈艳"
},
"childComments": []
}
]
}
]
}
}
修改于 6 个月前