# 项目列表 (可选)

# 功能描述

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

# 请求

# 请求示例

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": "失败"
}