Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已连接 API 并且能够上传曲目,但我没有找到任何引用从 API 替换上传曲目的能力的地方。它可以作为 soundcloud.com 管理员上的按钮使用,但是有什么方法可以通过 API 来实现吗?
如果您想替换曲目的音频,则需要删除然后重新创建它。如果您给曲目提供相同的标题,那么如果您要这样做,它应该获得相同的永久链接。
删除和重新创建轨道将涉及向 /tracks/{track_id} 端点发送一个 DELETE 请求,然后向 /me/tracks 端点发送一个 POST 请求,其中至少包含tracks[asset_data]和tracks[title]参数。