# Function description

Get the material list The interface used by Cloud Clip

# Request

# Request example

GET /materialNew/list HTTPS
Host: <host>
Authorization: <AuthString>

# Request Parameters

Name Description Type Mandatory
type Material type
1. theme
2. filter
3. caption
4. sticker
5. transition
6. font
7. music
8. particle
15.compound caption
int Yes
category The id of the secondary or tertiary classification int No
aspectRatio Support aspect ratio
1. 16v9
2. 1v1
3. 9v16
4. 4v3
5. 3v4
6. 18v9
7. 9v18
int No
page number of pages int Yes
pageSize Quantity per page int Yes
keyword keywords String No
userId the id of the current login user int No

# Request Headers

Name Description Type Mandatory
Authorization User token information string yes

# Request Body

none

# Response

# Response Header

No special response header

# Response Body

Successful Response Body :

{
  "code": 0,
  "message": "success",
  "data": {
    "materialList": [
      {
        "id": "0A976108-04DB-4B36-8888-F615DB96ADB7",
        "materialType": 7,
        "version": 1,
        "displayName": "清明雨上.mp3",
        "displayNamezhCN": "清明雨上aaaaa.mp3",
        "packageUrl": "https://xxx.net/material/music/0A976108-04DB-4B36-8888-F615DB96ADB7/0A976108-04DB-4B36-8888-F615DB96ADB7.mp3",
        "coverUrl": "aaaaaaaa",
        "supportedAspectRatio": 0,
        "demoUrl": "",
        "demoDuration": 0,
        "stringValue": "",
        "lastUpdateTime": "21-6-4 下午5:58",
        "ratioFlag": 0,
        "status": 1,
        "m3u8Url": "https://xxx.net/editor/2021/06/04/audio/dde8adc0-c099-45d1-bd7f-3c9294f7a76c/dde8adc0-c099-45d1-bd7f-3c9294f7a76c.m3u8",
        "duration": 219938,
        "uploadId": 114181,
        "ifCanUse": 1,
        "userId": 1,
        "jobId": 39730,
        "leftChannelUrl": "https://xxx.net/editor/2021/06/04/audio/dde8adc0-c099-45d1-bd7f-3c9294f7a76c/dde8adc0-c099-45d1-bd7f-3c9294f7a76c-0-leftchannel.data",
        "rightChannelUrl": "https://xxx.net/editor/2021/06/04/audio/dde8adc0-c099-45d1-bd7f-3c9294f7a76c/dde8adc0-c099-45d1-bd7f-3c9294f7a76c-0-rightchannel.data",
        "orderScore": 1,
        "categoryCustom": 38
      },
      ...
    ],
    "materialCount": 5
  }
}

The response body of the failed request is

{
  "code": <errorCode>,
  "message": <errorMessage>,
  "data": null
}