User-Item Interactions

List User View Portions

Lists all the view portions ever submitted by the given user.

get/{databaseId}/users/{userId}/viewportions/

Path parameters

databaseIdstring required

ID of your database.

userIdstring required

ID of the user whose view portions are to be listed.

Response

Successful operation.

userIdstring required

User who viewed a portion of the item

itemIdstring required

Viewed item

portionnumber double required

Viewed portion of the item (number between 0.0 (viewed nothing) and 1.0 (viewed full item) ). It should be the actual viewed part of the item, no matter the seeking. For example, if the user seeked immediately to half of the item and then viewed 10% of the item, the portion should still be 0.1.

sessionIdstring

ID of the session in which the user viewed the item. Default is null (None, nil, NULL etc., depending on the language).

cascadeCreateboolean

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

recommIdstring

If this view portion is based on a recommendation request, recommId is the id of the clicked recommendation.

additionalDataobject

A dictionary of additional data for the interaction.

autoPresentedboolean

Indicates whether the item was automatically presented to the user (e.g., in a swiping feed) or explicitly requested by the user (e.g., by clicking on a link). Defaults to false.

timeSpentnumber double

The duration (in seconds) that the user viewed the item. In update requests, this value may only increase and is required only if it has changed.

Changes

No recorded changes to this endpoint across all 1 revision of this API.