李经理:15682290831

通用服务端
视频编辑SDK
K歌SDK

功能说明

获取全部已上架的歌单列表,列表信息包括歌单名、歌单封面、歌曲数量、歌单描述、歌单推荐音乐等信息。

请求方法

GET

Header

以下请求参数列表仅列出了部分公共参数,完整公共参数列表见 公共参数列表

请求参数

请求示例

              HFSheetRequest request = new HFSheetRequest();
request.setMethod(HFRequest.METHOD_GET);
request.setClientId("hf2y7jk19a56qetq05");
request.setLanguage(LangageEnum.CN.getValue());
request.setTagId("10162,10136");
request.setTagFilter(1);
request.setRecoNum(10);
request.setPage(1);
request.setPageSize(10);
try {
 HFSheetRequest response = client.execute(request);
 System.out.println(JSON.toJSON(response));
} catch (ApiException e) {
 e.printStackTrace();
}
            

响应数据

        curl -G https://gateway-open.haifanwu.com -H 'Authorization:HF3-HMAC-SHA1 Signature=572846305DD1001C6605D3721766AB32' -H 'X-HF-ClientId:hf2y7jk19a56qetq05' -H 'X-HF-AppId:170ae316b9b14c1b9c185988771bde16' -H 'X-HF-Action:Sheet' -H 'X-HF-Timestamp:1595829997599' -H 'X-HF-Version:V4.2.0' -H 'X-HF-Nonce:ylaZYiVwcGlTeMpmbbQppNNAHiyCFhus' 
-X GET -d 'Language=1&RecoNum=1&Page=1&PageSize=10' 
  {
    "code": 10200,
    "msg": "操作成功",
    "data": {
      "record": [{
        "sheetId": 727,
        "sheetName": "动漫",
        "musicTotal": 10,
        "type": 0,
        "describe": "",
        "free": 1,
        "price": 0,
        "tag": [{
          "tagId": 1455,
          "tagName": "动漫游戏",
          "child": []
        }],
        "music": [{
          "musicId": "2F0835609D",
          "musicName": "Scumville (a)",
          "albumId": "21",
          "albumName": "Underground Indie",
          "duration": 170,
          "bpm": 131,
          "auditionBegin": 0,
          "auditionEnd": 0,
          "tag": [{
            "tagId": 959,
            "tagName": "有人声",
            "child": [{
              "tagId": 961,
              "tagName": "Vocal Background",
              "child": []
            } ,{
              "tagId": 562,
              "tagName": "连续",
              "child": []
            }]
          }],
          "cover": [{
            "url": "https://static-hifiveai-open.haifanwu.com/artwork/artwork_02.png",
            "size": ""
          }],
          "artist": [],
          "author": [],
          "composer": [{
            "name": "Aaron Frederick Laszlo Wheeler",
            "code": "4B4054C1B",
            "avatar": "https://static-hifiveai-open.haifanwu.com/artist/default.png?sign=a5800b322816dfc86bf03e57154abdd1&t=1595829998"
          }, {
            "name": "Jamye  Tovey",
            "code": "4B4054C97",
            "avatar": "https://static-hifiveai-open.haifanwu.com/artist/default.png?sign=a5800b322816dfc86bf03e57154abdd1&t=1595829998"
          }],
          "arranger": [],
          "version": [{
            "name": "主版本",
            "musicId": "2F0835609D",
            "free": 1,
            "price": 0,
            "majorVersion": true,
            "duration": 170,
            "auditionBegin": 0,
            "auditionEnd": 0
          }]
        }],
        "cover": [{
          "url": "https://hifive-web.obs.cn-north-4.myhuaweicloud.com:443/news/png/2020-6-23/3cd544f341d3a8b464b7220c8e77f0dc.png",
          "size": null
        }]
      }],
      "meta": {
        "totalCount": 4,
        "currentPage": 1
      }
    },
    "taskId": "b43bf6b50b324f498395d78f089d7ef5"
  }

      
  • 功能说明
  • 请求方法
  • Header
  • 请求参数
  • 请求示例
  • 响应数据