开放平台素材管理图片素材列表

图片素材列表

调用方式

  • 请求方式: POST
  • 请求地址: https://tls2s.allapp.link/manage/campaign/images_list?project_id=你的ProjectId

请求头参数(Header)

参数必须说明
Content-Typeapplication/json声明json格式
AuthorizationBearer md5(OpenSecret+(空格)+md5(请求body))OpenSecret 获取方式:Dashboard > 开发配置 > 开放平台秘钥 获取OpenSecret

请求内容参数(Body)

请求示例:

{
    "page": 1,
    "page_size": 1000
}

参数说明

参数必须类型说明
project_idstring项目id
pagenumber第几页(最小填 1)
page_sizenumber每页数量(不超过 1,000)

返回示例

{
    "code": 200,
    "msg": "请求成功",
    "data": {
        "list": [
            {
                "image_id": "206102297654579200",
                "image_path": "https://i1.branchcn.com/resource/2025/01/08/ctv4ee6rdj7u4hbe0990"
            },
            {
                "image_id": "206103320674689024",
                "image_path": "https://i1.branchcn.com/resource/2025/01/08/ctv4gb6rdj7u4hbe09a0"
            },
            {
                "image_id": "206103334419423232",
                "image_path": "https://i1.branchcn.com/resource/2025/01/08/ctv4gc6rdj7u4hbe09b0"
            },
            {
                "image_id": "206104279110905856",
                "image_path": "https://i1.branchcn.com/resource/2025/01/08/ctv4i4erdj7u4hbe09c0"
            },
            {
                "image_id": "206368053424287744",
                "image_path": "https://i1.branchcn.com/resource/2025/01/09/ctvjteerdj7ov05dogf0"
            }
        ],
        "total": 5
    }
}

返回参数说明

参数类型说明
codenumber返回状态码 200为成功返回
msgstring返回状态码信息
dataobject返回内容
data.totalnumber玩法列表
data.listarray(object)玩法列表
data.list.image_idstring图片id
data.list.image_pathstring图片地址