# 项目列表 (可选)

# 功能描述

用来获取(搜索)用户的项目列表

# 请求

# 请求示例

GET /project/list HTTPS
Host: <host>
Content-Type: application/json
Authorization: <AuthString>
Cache-Control: 'no-cache'

# 请求参数

名称 描述 类型 必填
keyword 搜索关键字 string
sort 排序规则
- 创建时间 - 1
- 修改时间 - 2
int
page 页码 int
pageSize 每页条数 int

# 请求头

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

# 请求体

# 响应

# 响应头

此接口无特殊响应头。

# 响应体

{
    "code": 0,
    "enMsg": "success",
    "msg": "成功",
    "data": {
        "projectCount": 57,
        "projectList": [{
            "projectId": 16387,
            "title": "1",
            "coverUrl": "https://alieasset.meishesdk.com/test/resource/image/2022/03/07/279/b63f84078f3243c1aa3c7583c70c121c.jpg",
            "createdAt": 1646640246,
            "modifyAt": 1646640761,
            "url": "https://alieasset.meishesdk.com/test/bs_project/2022/03/07/16387/80aad52ae73c4c67b31c5db4a8b2bcf8.xml",
            "uuid": "b2f838d3e1d646c4a86e848fa07ea65a",
            "userId": 1,
            "path": null,
            "type": 1,
            "liveUrl": "",
            "resolvingPower": "540",
            "splitVideoUrl": null,
            "resourceId": null,
            "jobId": null,
            "status": null
        }, ...]
    }
}
字段 类型 解释 是否必须
projectId number 工程id
title string 工程名称
coverUrl string 封面链接
createdAt number 创建时间戳,单位秒
modifyAt number 创建时间戳,单位秒
url string 工程xml文件
uuid string 工程唯一标志符
userId number 用户id
path string 存储key
type number 工程类型
liveUrl string 直播地址
resolvingPower string 分辨率, 前端页面的时间线根据分辨率创建
splitVideoUrl string 拆条视频地址
resourceId number 资源id
jobId number 工程任务id
status number 工程状态

失败响应体:

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