recombee_api_client.api_requests.delete_bookmark module

class recombee_api_client.api_requests.delete_bookmark.DeleteBookmark(user_id: str, item_id: str, timestamp: Union[str, int] = UUID('6aa4a1a4-438f-449a-8598-be400fd1e602'))

Bases: recombee_api_client.api_requests.request.Request

Deletes a bookmark uniquely specified by userId, itemId, and timestamp or all the bookmarks with given userId and itemId if timestamp is omitted.

Required parameters:

Parameters
  • user_id – ID of the user who made the bookmark.

  • item_id – ID of the item of which was bookmarked.

Optional parameters:

Parameters

timestamp – Unix timestamp of the bookmark. If the timestamp is omitted, then all the bookmarks with given userId and itemId are deleted.

get_body_parameters() → dict

Values of body parameters as a dictionary (name of parameter: value of the parameter).

get_query_parameters() → dict

Values of query parameters as a dictionary (name of parameter: value of the parameter).