根据歌单id,获取歌单详情
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| collect_id | Number | 可选 | 12 | 歌单id | |
| page | PagingVo | 可选 | 分页信息 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| songs | Page | songs | 返回的歌曲信息 |
|
|||
| result_code | ResultCode | ResultCode | 系统自动生成 |
|
|||
| collect | CollectDto | collect | 歌单详情 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); XiamiContentSongsCollectGetRequest req = new XiamiContentSongsCollectGetRequest(); req.setCollectId(12L); XiamiContentSongsCollectGetRequest.PagingVo obj1 = new XiamiContentSongsCollectGetRequest.PagingVo(); obj1.setPage(1L); obj1.setPageSize(20L); req.setPage(obj1); XiamiContentSongsCollectGetResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<xiami_content_songs_collect_get_response>
<songs>
<song_list>
<song_info_dto>
<singers>
<artist_dto>
<area>China 中国大陆</area>
<gender>M</gender>
<alias>demo</alias>
<artist_name>鱼小墨</artist_name>
<artist_logo>https://pic.xiami.net/qianxun/4a73364f1b7c85ed6838bd459bc7d2d1/129e7214834d88f5a7112ace32895969-1200x1200.jpg</artist_logo>
<artist_id>5213273916</artist_id>
</artist_dto>
</singers>
<song_name>南大街的我(女版)</song_name>
<composers>
<artist_dto>
<area>China 中国大陆</area>
<gender>M</gender>
<alias>demo</alias>
<artist_name>鱼小墨</artist_name>
<artist_logo>https://pic.xiami.net/qianxun/4a73364f1b7c85ed6838bd459bc7d2d1/129e7214834d88f5a7112ace32895969-1200x1200.jpg</artist_logo>
<artist_id>5213273916</artist_id>
</artist_dto>
</composers>
<artists>
<artist_dto>
<area>China 中国大陆</area>
<gender>M</gender>
<alias>demo</alias>
<artist_name>鱼小墨</artist_name>
<artist_logo>https://pic.xiami.net/qianxun/4a73364f1b7c85ed6838bd459bc7d2d1/129e7214834d88f5a7112ace32895969-1200x1200.jpg</artist_logo>
<artist_id>5213273916</artist_id>
</artist_dto>
</artists>
<album>
<album_logo>https://pic.xiami.net/images/album/img80/8626/5fb1eec14f695_431326280_1605496513.jpg</album_logo>
<album_name>南大街的我(女版)</album_name>
<sub_name>南大街的我</sub_name>
<album_status>1</album_status>
<gmt_publish>1605888000000</gmt_publish>
<album_id>5021930962</album_id>
<language>国语</language>
</album>
<songwriters>
<artist_dto>
<artist_id>5213273916</artist_id>
<artist_logo>https://pic.xiami.net/qianxun/4a73364f1b7c85ed6838bd459bc7d2d1/129e7214834d88f5a7112ace32895969-1200x1200.jpg</artist_logo>
<artist_name>鱼小墨</artist_name>
<alias>鱼小墨</alias>
<gender>M</gender>
<area>China 中国大陆</area>
</artist_dto>
</songwriters>
<producers>
<artist_dto>
<artist_id>5213273916</artist_id>
<artist_logo>https://pic.xiami.net/qianxun/4a73364f1b7c85ed6838bd459bc7d2d1/129e7214834d88f5a7112ace32895969-1200x1200.jpg</artist_logo>
<artist_name>鱼小墨</artist_name>
<alias>鱼小墨</alias>
<gender>M</gender>
<area>China 中国大陆</area>
</artist_dto>
</producers>
<tags>
<tag_link>
<parent>
<parent>
<code>cat_2_530</code>
<name_cn>其他</name_cn>
<description>demo</description>
<pid>0</pid>
<name_en>demo</name_en>
<id>530</id>
</parent>
<code>cat_2_2325</code>
<name_cn>语种</name_cn>
<description>demo</description>
<pid>530</pid>
<name_en>demo</name_en>
<id>2325</id>
</parent>
<code>cat_2_2325_4_32803093</code>
<name_cn>国语</name_cn>
<description>demo</description>
<pid>2325</pid>
<name_en>demo</name_en>
<id>32803093</id>
</tag_link>
</tags>
<duration>184000</duration>
<copyright_status>1</copyright_status>
<arrangements>
<artist_dto>
<area>China 中国大陆</area>
<gender>M</gender>
<alias>鱼小墨</alias>
<artist_name>鱼小墨</artist_name>
<artist_logo>https://pic.xiami.net/qianxun/4a73364f1b7c85ed6838bd459bc7d2d1/129e7214834d88f5a7112ace32895969-1200x1200.jpg</artist_logo>
<artist_id>5213273916</artist_id>
</artist_dto>
</arrangements>
<lyrics>
<lyric_dto>
<lyric_type>TXT</lyric_type>
<lyric_id>251276498</lyric_id>
<lyric_url>http://img.xiami.net/lyric/58/2107460158_1605500714831_9149.TXT</lyric_url>
</lyric_dto>
</lyrics>
<song_sub_name>歌曲副标题</song_sub_name>
<song_id>2107460158</song_id>
<publish_status>1</publish_status>
</song_info_dto>
</song_list>
<paging>
<pages>114161</pages>
<count>114161</count>
<page_size>1</page_size>
<page>1</page>
</paging>
</songs>
<result_code>
<msg>success</msg>
<code>0</code>
<success>true</success>
</result_code>
<collect>
<collect_id>15</collect_id>
<name>欧美轻松</name>
<description>描述</description>
<theme>主题</theme>
<partner_id>1</partner_id>
<scene>场景</scene>
</collect>
</xiami_content_songs_collect_get_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|