清空会员歌单下音乐列表。
POST
HifiveClient client = new DefaultHifiveClient(url, appkey, secret);
HFClearMemberSheetMusicRequest request = new HFClearMemberSheetMusicRequest();
request.setMethod(HifiveRequest.METHOD_POST);
request.setClientId("hf2y7jk19a56qetq05");
request.setSheetId(1L);
request.setVersion("V4.2.0");
request.setTimestamp(System.currentTimeMillis());request.setAccessToken("eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzZWNyZXRLZXkiOiI2ZGJhMTg2ZjBiMDY0MzM0YmYiLCJpc3MiOiJoaWZpdmUiLCJleHAiOjE2MjUyODM1MTcsImlhdCI6MTYyMDc5MDcxN30.nFcUAF5X3WKaRU7ngt9iRYQhrC7ssKoj0hVuroCjO5c");
HFClearSearchHistoryPostResponse response = client.execute(request);
System.out.println(JSON.toJSON(response));
curl -G https://gateway-open.haifanwu.com -H 'Authorization:HF3-HMAC-SHA1 Signature=C991589B12A13F25163CFECA7447FE9A' -H 'X-HF-ClientId:hf2y7jk19a56qetq05' -H 'X-HF-Token:cc24749900a70c83222654b48cc57a2a' -H 'X-HF-AppId:170ae316b9b14c1b9c185988771bde16' -H 'X-HF-Action:ClearMemberSheetMusic' -H 'X-HF-Timestamp:1595820221753' -H 'X-HF-Version:V4.2.0' -H 'X-HF-Nonce:YLJpgkqFNiIVhLBHxMlNlntHuzscVOQU'
-X POST -d 'sheetId=26782'
{
"code": 200,
"msg": "操作成功",
"success": true
}