# Function Description

Save a project as a new project

# Request

# request example

POST /project/clone HTTPS
Host: <host>
Content-Type: application/json
Authorization: <AuthString>

# Request Headers

Name Description Type Mandatory
Authorization User token information string true

# Request Parameters

none

# Request Body

{
  "projectId": 16358,
  "title": "title"
}
Field Type Explain Mandatory
projectId number project id true
title string project name true

# Response

# Response Header

No special response header

# Response Body

Successful Response Body:

{
  "code": 0,
  "enMsg": "success",
  "msg": "成功",
  "data": {
    "projectId": 16388,
    "title": "title",
    "coverUrl": "https://alieasset.meishesdk.com/test/resource/image/2022/03/10/16388/4bbaa3e6-eaf2-4c81-8781-13b38e48bc41.jpg",
    "createdAt": 1646899218,
    "modifyAt": 1646899218,
    "url": "https://alieasset.meishesdk.com/test/bs_project/2022/03/10/16388/4bbaa3e6-eaf2-4c81-8781-13b38e48bc41.xml",
    "uuid": "4bbaa3e6-eaf2-4c81-8781-13b38e48bc41",
    "userId": 1,
    "type": 1,
    "path": null,
    "liveUrl": null,
    "resolvingPower": null,
    "splitVideoUrl": null
  }
}
Field Type Type Mandatory
projectId project id number true
title project name string true
coverUrl thumbnail link string true
createdAt ceate time stamp,in second number true
modifyAt modify time stamp,in second number true
url url url of new project string true
uuid Universally Unique Identifier string true
userId user id number true
type saving type 0-Manual saving 1-Automatic saving number true
path cloud-storage path of project files string false
liveUrl Live resource url string false
resolvingPower resolution string false
splitVideoUrl url of segment extraction video string false

Failed Response Body:

{
  "code": <errorCode>,
  "enMsg": <errorMessage>,
  "msg": <errorMessage>,
  "data": null
}