Class CheckCurrentUserFollowsRequest


  • public class CheckCurrentUserFollowsRequest
    extends Object
    Get Following State for Artists/Users request

    Required OAuth scopes

    user-follow-read

    Response

    On success, the HTTP status code in the response header is 200 OK and the response body contains a JSON array of true or false values, in the same order in which the ids were specified. On error, the header status code is an error code and the response body contains an error object.

    • 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 artist or user.

        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.

    • Method Detail