Class GetUsersProfileRequest


  • public class GetUsersProfileRequest
    extends Object
    Get a User's Profile request

    Response

    On success, the HTTP status code in the response header is 200 OK and the response body contains a user object in JSON format. On error, the header status code is an error code and the response body contains an error object. If a user with that user_id doesn't exist, the status code is 404 NOT FOUND.

    • Constructor Detail

      • GetUsersProfileRequest

        public GetUsersProfileRequest​(ApiClient apiClient,
                                      String userId)

        Get a User's Profile request

        Parameters:
        apiClient -

        The API client

        userId -

        The user's Spotify user ID.

    • Method Detail

      • build

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