class RecombeeApiClient::DeleteMoreItems
Deletes all the items that pass the filter.
If an item becomes obsolete/no longer available, it is meaningful to **keep it in the catalog** (along with all the interaction data, which are very useful) and **only exclude the item from recommendations**. In such a case, use [ReQL filter](docs.recombee.com/reql.html) instead of deleting the item completely.
Attributes
Public Class Methods
Source
# File lib/recombee_api_client/api/delete_more_items.rb, line 22 def initialize(filter) @filter = filter @timeout = 100000 @ensure_https = false end
-
*Required arguments*
-
filter
-> A [ReQL](docs.recombee.com/reql.html) expression, which returns ‘true` for the items that shall be updated.
-
Public Instance Methods
Source
# File lib/recombee_api_client/api/delete_more_items.rb, line 34 def body_parameters p = Hash.new p['filter'] = @filter p end
Values of body parameters as a Hash
Source
# File lib/recombee_api_client/api/delete_more_items.rb, line 29 def method :delete end
HTTP method
Source
# File lib/recombee_api_client/api/delete_more_items.rb, line 48 def path "/{databaseId}/more-items/" end
Relative path to the endpoint
Source
# File lib/recombee_api_client/api/delete_more_items.rb, line 42 def query_parameters params = {} params end
Values of query parameters as a Hash. name of parameter => value of the parameter