Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reorderTracksInPlaylist documentation missing #40

Closed
rkstar opened this issue Oct 29, 2015 · 2 comments
Closed

reorderTracksInPlaylist documentation missing #40

rkstar opened this issue Oct 29, 2015 · 2 comments

Comments

@rkstar
Copy link

rkstar commented Oct 29, 2015

not a huge deal, but i had to dive into the code to find this one:

line 1096

  /**
   * Reorder tracks in a playlist.
   * @param {string} userId The playlist's owner's user ID
   * @param {string} playlistId The playlist's ID
   * @param {int} rangeStart The position of the first track to be reordered.
   * @param {int} insertBefore The position where the tracks should be inserted.
   * @param {Object} options Optional parameters, i.e. range_length and snapshot_id.
   * @param {requestCallback} [callback] Optional callback method to be called instead of the promise.
   * @returns {Promise|undefined} A promise that if successful returns an object containing a snapshot_id. If rejected,
   * it contains an error object. Not returned if a callback is given.
   */
  this.reorderTracksInPlaylist = function(userId, playlistId, rangeStart, insertBefore, options, callback) {
  }

it would be great to have the documentation include this function for future users.

@thelinmichael
Copy link
Owner

Ah, thanks! Will add it.

@JMPerez
Copy link
Collaborator

JMPerez commented Mar 2, 2016

This is fixed. The documentation now includes that endpoint and some others that were missing, like searching for playlists, or the ones for dealing with user's albums.

Thanks @rkstar!

@JMPerez JMPerez closed this as completed Mar 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants