GET : /api/designnest/v1/projects/{projectID}/visuals
projectID : the ID of the current project
{
"code" : 1 ,
"message" : "" ,
"data" : [
"list" : {
"paginate" : {
"total" : 0 ,
"has_more_page" : 0 / 1
} ,
"data" : [
{
"id": 0,
"url": "",
"url_type" : 1 / 2 (1:image ; 2:video)
"name": "",
"account_image": "",
"location": "",
"content": {
"title": "",
"description": ""
},
"created_time": "" ,
"vote" : {
"up" : 0 ,
"down" : 0
}
}
]
}
]
}
GET : /api/designnest/v1/projects/{projectID}/visuals/{visualID}
projectID : the ID of the current project
visualID : the ID of the current visual
{
"code" : 1 ,
"message" : "" ,
"data" : [
"detail" : [
"id": 0,
"url": url ,
"name": "",
"account_image": url ,
"location": "",
"content": {
"title": "",
"description": ""
},
"created_time": ""
]
]
}
POST : /api/designnest/v1/projects/{projectID}/visuals
projectID : the ID of the current project
{
"project" : {
"visual" : {
"url" : '' ,
"title" : '' ,
"content" : '' ,
"location" : 0 ,
"tags" : [name1 , name2 , ...] ,
"type" : 1 / 2
}
}
}
url : url
title : Title of visual image
content : Content of visual image
{
"code" : 1 ,
"message" : "" ,
"data" : [
"id": 0,
"url": "",
"name": "",
"account_image": "",
"location": "",
"content": {
"title": "",
"description": ""
},
"created_time": ""
]
}
PATCH : /api/designnest/v1/projects/{projectID}/visuals/{visualID}
projectID : the ID of the current project
visualID : the ID of the current visual
{
"project" : {
"visual" : {
"url" : '' ,
"title" : '' ,
"content" : '' ,
"location" : 0
}
}
}
url : url
title : Title of visual image
content : Content of visual image
{
"code" : 1 ,
"message" : "" ,
"data" : [
"id" => 0 ,
"url" => ''
]
}
DELETE : /api/designnest/v1/projects/{projectID}/visuals/{visualID}
projectID : the ID of the current project
visualID : the ID of the current visual
{
"code" : 1 ,
"message" : "" ,
}