Class SaveShowsUserRequest


  • public class SaveShowsUserRequest
    extends Object
    Save Shows for Current User request

    Required OAuth scopes

    user-library-modify

    Response

    On success, the HTTP status code in the response header is 200 OK. On error, the header status code is an error code and the response body contains an error object. A 403 Forbidden while trying to add a show when you do not have the user's authorisation or when the user already has have over 10,000 items saved in library.

    • Constructor Detail

      • SaveShowsUserRequest

        public SaveShowsUserRequest​(ApiClient apiClient,
                                    List<String> ids)

        Save Shows for Current User request

        Parameters:
        apiClient -

        The API client

        ids -

        A JSON array of the Spotify IDs.
        A maximum of 50 items can be specified in one request. Note: if the ids parameter is present in the query string, any IDs listed here in the body will be ignored.

    • Method Detail

      • build

        public ApiCall<Void> build()
        Build the request into an executable call