Class UserWantListApi
java.lang.Object
com.amilesend.discogs.api.ApiBase
com.amilesend.discogs.api.UserWantListApi
The Discogs User Wantlist API.
API Documentation
API Documentation
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUserWantListApi(DiscogsConnection connection) Creates a newUserWantListApiobject. -
Method Summary
Modifier and TypeMethodDescriptionaddReleaseToWantList(@NonNull AddReleaseToWantListRequest request) Adds a release to a user's want list.voiddeleteReleaseFromWantList(@NonNull DeleteReleaseFormWantListRequest request) Deletes a release form a user's want list.getWantList(@NonNull GetWantListRequest request) Gets the want list for a user.updateReleaseOnWantList(@NonNull UpdateReleaseOnWantListRequest request) Updates an existing release from a user's want list.Methods inherited from class ApiBase
getConnection
-
Constructor Details
-
UserWantListApi
Creates a newUserWantListApiobject.- Parameters:
connection- the underlying client connection
-
-
Method Details
-
getWantList
Gets the want list for a user. Note: Must be authenticated. If authenticated as the owner, then the notes field will be visible.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
addReleaseToWantList
public AddReleaseToWantListResponse addReleaseToWantList(@NonNull AddReleaseToWantListRequest request) Adds a release to a user's want list. Note: must be authenticated as the list owner.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
updateReleaseOnWantList
public UpdateReleaseOnWantListResponse updateReleaseOnWantList(@NonNull UpdateReleaseOnWantListRequest request) Updates an existing release from a user's want list. Note: must be authenticated as the list owner.- Parameters:
request- the request- Returns:
- the response
- See Also:
-
deleteReleaseFromWantList
Deletes a release form a user's want list. Note: must be authenticated as the list owner.- Parameters:
request- the request- See Also:
-