# 查询工程历史版本(可选)

# 功能描述

历史工程保存分为手动保存和自动保存。

# 请求

# 请求示例

GET /project/history/list HTTPS
Host: <host>
Content-Type: application/json
Authorization: <AuthString>

# 请求参数

字段 类型 解释 是否必须
projectId number 工程id
displayName string 展示名称

# 请求头

名称 描述 类型 必填
Authorization 用户token信息 string

# 请求体

# 响应

# 响应头

此接口无特殊响应头

# 响应体

成功响应体: ​

{
	"code": 0,
	"enMsg": "success",
	"msg": "成功",
	"data": {
		"manual": [{
			"id": 25,
			"userId": 1,
			"projectId": 16385,
			"url": "https://alieasset.meishesdk.com/test/bs_project/history/381b59fecf8843afa4cee889a8074d63/0/1.xml",
			"displayName": null,
			"versionNumber": 1,
			"createdAt": "2022-03-07 06:10:03",
			"status": 1,
			"modifyAt": "2022-03-07 06:10:03",
			"type": 0
		}],
		"auto": [{
			"id": 26,
			"userId": 1,
			"projectId": 16385,
			"url": "https://alieasset.meishesdk.com/test/bs_project/history/381b59fecf8843afa4cee889a8074d63/1/1.xml",
			"displayName": null,
			"versionNumber": 1,
			"createdAt": "2022-03-07 06:15:05",
			"status": 1,
			"modifyAt": "2022-03-07 06:15:05",
			"type": 1
		}]
	}
}

失败响应体:

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