的SoundCloud API - 更换曲目 [英] Soundcloud API - Replace Track

查看:127
本文介绍了的SoundCloud API - 更换曲目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已连接API和我能够上传曲目,但我没有任何地方引用,从API替换上传轨道的能力找到。它可作为soundcloud.com的admin按钮,但没有任何办法从API呢?

I have the API connected and am able to upload tracks, but I haven't found anywhere that references the ability to replace an uploaded track from the API. It's available as a button on the admin of soundcloud.com, but is there any way to do it from the API?

推荐答案

如果您想更换音频轨道,你将需要删除,然后重新创建它。如果你给轨道相同的标题,它应该得到同样的永久链接,如果这就是你以后。

If you'd like to replace the audio for a track, you would need to delete and then re-create it. If you give the track the same title, it should get the same permalink if that's what you're after.

删除并重新创建的轨道将需要发送一个DELETE请求到/曲目/ {track_id}端点后跟一个POST请求/ ME /跟踪端点至少轨道[asset_data]和曲目[标题]参数

Deleting and recreating a track would involve sending a DELETE request to the /tracks/{track_id} endpoint followed by a POST request to the /me/tracks endpoint with the tracks[asset_data] and tracks[title] parameters at a minimum.

这篇关于的SoundCloud API - 更换曲目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆