recombee_api_client.api_requests.add_detail_view module

class recombee_api_client.api_requests.add_detail_view.AddDetailView(user_id, item_id, timestamp=UUID('7ac83f6b-7274-4a14-b90d-b06fa9f94c1f'), duration=UUID('7ac83f6b-7274-4a14-b90d-b06fa9f94c1f'), cascade_create=UUID('7ac83f6b-7274-4a14-b90d-b06fa9f94c1f'), recomm_id=UUID('7ac83f6b-7274-4a14-b90d-b06fa9f94c1f'), additional_data=UUID('7ac83f6b-7274-4a14-b90d-b06fa9f94c1f'))

Bases: recombee_api_client.api_requests.request.Request

Adds a detail view of a given item made by a given user.

Required parameters:

  • user_id – User who viewed the item

  • item_id – Viewed item

Optional parameters:

  • timestamp – UTC timestamp of the view as ISO8601-1 pattern or UTC epoch time. The default value is the current time.

  • duration – Duration of the view

  • cascade_create – Sets whether the given user/item should be created if not present in the database.

  • recomm_id – If this detail view is based on a recommendation request, recommId is the id of the clicked recommendation.

  • additional_data – A dictionary of additional data for the interaction.


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


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