# Function Description

Save historical project information to facilitate users to roll back and edit historical project versions. The Save type can be divided into manual saving and automatic saving. Manual saving is triggered by the user clicking the front-end button manually, and automatic saving is triggered by the frontend automatically.

# Request

POST /project/history/save
HOST: <host>
Content-Type: applicaiton/json

# Request Parameters

Field Type Explain mandatory
projectId number project id true
URL int project xml file url true
type number save type, 0-manually save, 1-Automatically save true
displayName string display Information false

# Response

# Response Header

No special response header

# Response Body

Successful Response Body:

{
  "code": 0,
  "enMsg": "success",
  "msg": "成功"
}

Failed Response Body:

{
  "code": -1,
  "enMsg": "failed",
  "msg": "失败"
}