| Type | Explain |
|---|---|
| 1 | images |
| 2 | video |
GET : /api/designnest/v1/projects/{projectID}/story_lines
projectID : the ID of the current project
| flag | name |
|---|---|
| 1 | story line |
| 2 | look a like |
| image >> type | name |
|---|---|
| 0 | default |
| 1 | image |
| 2 | logo |
{
"code" : 1 ,
"message" : "" ,
"data" : [
"list" : {
"paginate" : {
"total" : 0 ,
"has_more_page" : 0 / 1
} ,
"data" : [
{
"flag" : 0 ,
"id" : 0 ,
"title" : "" ,
"content" : "" ,
"start_time" : "" ,
"media" : [
{
"id" : 0 ,
"type" : 0 ,
"url" : ""
} ,
...
] ,
"media_type" : 0 ,
"read_more" : ""
} ,
...
]
}
]
}
POST : /api/designnest/v1/projects/{projectID}/story_lines
projectID : the ID of the current project
{
"project" : {
"story_line" : {
"title" : '',
"content" : '' ,
"media_type" : 0 ,
"media" => [
{
"id" : 0 ,
"url" : ""
} ,
...
]
}
}
}
media_type : media type of story line
media.*.url : media url of story line
media.*.id : media id of story line
title : Title of story line
content : Content of story line
{
"code" : 1 ,
"message" : "" ,
"data" : [
"id" : 0 ,
"title" : "" ,
"content" : "" ,
"start_time" : "" ,
"media" : [
{
"id" : 0 ,
"url" : ""
} ,
...
] ,
"media_type" : 0
]
}
PATCH : /api/designnest/v1/projects/{projectID}/story_lines/{storyLineID}
projectID : the ID of the current project
storyLineID : the ID of the current story line
{
"project" : {
"story_line" : {
"title" : '',
"content" : '' ,
"media_type" : 0 ,
"media" => [
{
"id" : 0 ,
"url" : ""
} ,
...
]
}
}
}
media_type : media type of story line
media.*.url : media url of story line
media.*.id : media id of story line
title : Title of story line
content : Content of story line
{
"code" : 1 ,
"message" : "" ,
"data" : [
"id" => 0
]
}
DELETE : /api/designnest/v1/projects/{projectID}/story_lines/{storyLineID}
projectID : the ID of the current project
storyLineID : the ID of the current story lines
{
"code" : 1 ,
"message" : "" ,
"data" : [
"id" => 0
]
}