soundcloud / soundcloud/api

Impossible to fetch user reposts using public API v1

Open
#2 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement question
Dominant language
JavaScript
Stars
254
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Title: Cannot retrieve reposted tracks / playlists for a user

Issue found of: September 27th, 2016

Based on SoundCloud's structure, many Artists don't actually upload all of their tracks. They may, for example, repost one of their tracks that has been uploaded by their label, or a content curator account. Therefore it is critical that the public API be able to access a user's reposts, otherwise the end-users of our application cannot access all of the tracks an artist has public on their profile.

Presently API v2 returns track and track-reposts when fetching a user's content. This is the only API v2 endpoint we are using for this very reason.

Endpoint(s):
  • GET /users/{id}/tracks
Scope(s):
  • None, (this request requires only a client id)
Steps to reproduce:
curl --request GET \
  --url 'https://api.soundcloud.com/users/147824/tracks?limit=200&linked_partitioning=t1&client_id=xxclient_id'
Expected behaviour:

A list of all a users tracks and track reposts, or a separate endpoint to fetch reposts of tracks / playlists.

Actual behaviour:

Only uploaded tracks are returned.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the request against GET /users/{id}/tracks with the curl example and review the API v1 behavior described in the issue. Determine whether the endpoint should include track reposts or whether a separate repost endpoint is needed; done means public users can retrieve their reposted tracks and playlists as specified.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.