@@ -24,9 +24,9 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
2424 /* *
2525 * Check to see if the current user is following another Spotify users.
2626 *
27- * @param user Spotify ID to check.
27+ * @param user user id or uri to check.
2828 *
29- * @throws BadRequestException if [userId ] is a non-existing id
29+ * @throws BadRequestException if [user ] is a non-existing id
3030 */
3131 fun isFollowingUser (user : String ): SpotifyRestAction <Boolean > {
3232 return toAction(Supplier {
@@ -37,8 +37,8 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
3737 /* *
3838 * Check to see if the logged-in Spotify user is following the specified playlist.
3939 *
40- * @param playlistOwner Spotify ID of the creator of the playlist
41- * @param playlistId Spotify playlist ID
40+ * @param playlistOwner id or uri of the creator of the playlist
41+ * @param playlistId playlist id or uri
4242 *
4343 * @return booleans representing whether the user follows the playlist. User IDs **not** found will return false
4444 *
@@ -59,7 +59,7 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
5959 *
6060 * @param users List of the user Spotify IDs to check. Max 50
6161 *
62- * @throws BadRequestException if [userIds ] contains a non-existing id
62+ * @throws BadRequestException if [users ] contains a non-existing id
6363 */
6464 fun isFollowingUsers (vararg users : String ): SpotifyRestAction <List <Boolean >> {
6565 return toAction(Supplier {
@@ -73,9 +73,9 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
7373 /* *
7474 * Check to see if the current user is following a Spotify artist.
7575 *
76- * @param artistId Spotify ID to check.
76+ * @param artist artist id to check.
7777 *
78- * @throws BadRequestException if [artistId ] is a non-existing id
78+ * @throws BadRequestException if [artist ] is a non-existing id
7979 */
8080 fun isFollowingArtist (artist : String ): SpotifyRestAction <Boolean > {
8181 return toAction(Supplier {
@@ -86,9 +86,9 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
8686 /* *
8787 * Check to see if the current user is following one or more artists.
8888 *
89- * @param artistIds List of the artist Spotify IDs to check. Max 50
89+ * @param artists List of the artist ids or uris to check. Max 50
9090 *
91- * @throws BadRequestException if [artistIds ] contains a non-existing id
91+ * @throws BadRequestException if [artists ] contains a non-existing id
9292 */
9393 fun isFollowingArtists (vararg artists : String ): SpotifyRestAction <List <Boolean >> {
9494 return toAction(Supplier {
@@ -174,7 +174,7 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
174174 /* *
175175 * Add the current user as a follower of a playlist.
176176 *
177- * @param playlist The Spotify ID of the playlist. Any playlist can be followed, regardless of its
177+ * @param playlist the spotify id or uri of the playlist. Any playlist can be followed, regardless of its
178178 * public/private status, as long as you know its playlist ID.
179179 * @param followPublicly Defaults to true. If true the playlist will be included in user’s public playlists,
180180 * if false it will remain private. To be able to follow playlists privately, the user must have granted the playlist-modify-private scope.
@@ -196,7 +196,7 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
196196 *
197197 * @param user The user to be unfollowed from
198198 *
199- * @throws BadRequestException if [userId ] is not found
199+ * @throws BadRequestException if [user ] is not found
200200 */
201201 fun unfollowUser (user : String ): SpotifyRestAction <Unit > {
202202 return toAction(Supplier {
@@ -224,7 +224,7 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
224224 /* *
225225 * Remove the current user as a follower of an artist
226226 *
227- * @param artistId The artist to be unfollowed from
227+ * @param artist The artist to be unfollowed from
228228 *
229229 * @throws BadRequestException if an invalid id is provided
230230 */
@@ -237,7 +237,7 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
237237 /* *
238238 * Remove the current user as a follower of artists
239239 *
240- * @param artistIds The artists to be unfollowed from
240+ * @param artists The artists to be unfollowed from
241241 *
242242 * @throws BadRequestException if an invalid id is provided
243243 */
@@ -254,7 +254,7 @@ class ClientFollowingAPI(api: SpotifyAPI) : FollowingAPI(api) {
254254 /* *
255255 * Remove the current user as a follower of a playlist.
256256 *
257- * @param playlistId The Spotify ID of the playlist that is to be no longer followed.
257+ * @param playlist the spotify id or uri of the playlist that is to be no longer followed.
258258 *
259259 * @throws BadRequestException if the playlist is not found
260260 */
0 commit comments