Class CheckCurrentUserFollowsRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.follow.CheckCurrentUserFollowsRequest
-
public class CheckCurrentUserFollowsRequest extends Object
Get Following State for Artists/Users requestRequired OAuth scopes
user-follow-readResponse
On success, the HTTP status code in the response header is
200OK and the response body contains a JSON array oftrueorfalsevalues, in the same order in which theidswere specified. On error, the header status code is an error code and the response body contains an error object.
-
-
Constructor Summary
Constructors Constructor Description CheckCurrentUserFollowsRequest(ApiClient apiClient, String type, String ids)Get Following State for Artists/Users request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<List<Boolean>>build()Build the request into an executable call
-
-
-
Constructor Detail
-
CheckCurrentUserFollowsRequest
public CheckCurrentUserFollowsRequest(ApiClient apiClient, String type, String ids)
Get Following State for Artists/Users request
- Parameters:
apiClient-The API client
type-The ID type: either
artistoruser.ids-A comma-separated list of the artist or the user Spotify IDs to check. For example:
ids=74ASZWbe4lXaubB36ztrGX,08td7MxkoHQkXnWAYD8d6Q. A maximum of 50 IDs can be sent in one request.
-
-