You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/AddItemProperty.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ <h5>Parameters:</h5>
128
128
129
129
130
130
131
-
<tdclass="description last">Value type of the item property to be created. One of: `int`, `double`, `string`, `boolean`, `timestamp`, `set`</td>
131
+
<tdclass="description last">Value type of the item property to be created. One of: `int`, `double`, `string`, `boolean`, `timestamp`, `set`, `image` or `imageList`.</td>
<divclass="class-description">The view portions feature is currently experimental.
34
-
Sets viewed portion of an item (for example a video or article) by a user (at a session).
33
+
<divclass="class-description">Sets viewed portion of an item (for example a video or article) by a user (at a session).
35
34
If you send new request with the same (`userId`, `itemId`, `sessionId`), the portion gets updated.</div>
36
35
37
36
@@ -153,7 +152,7 @@ <h5>Parameters:</h5>
153
152
154
153
155
154
156
-
<tdclass="description last">Viewed portion of the item (number between 0.0 (viewed nothing) and 1.0 (viewed full item) ).</td>
155
+
<tdclass="description last">Viewed portion of the item (number between 0.0 (viewed nothing) and 1.0 (viewed full item) ). It should be the really viewed part of the item, no matter seeking, so 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`.</td>
157
156
</tr>
158
157
159
158
@@ -180,7 +179,7 @@ <h5>Parameters:</h5>
180
179
- Allowed parameters:
181
180
- *sessionId*
182
181
- Type: string
183
-
- Description: Id of session in which the user viewed the item
182
+
- Description: ID of session in which the user viewed the item. Default is `null` (`None`, `nil`, `NULL` etc. depending on language).
184
183
- *timestamp*
185
184
- Type: string|number
186
185
- Description: UTC timestamp of the rating as ISO8601-1 pattern or UTC epoch time. The default value is the current time.
* @param {string} propertyName - Name of the item property to be created. Currently, the following names are reserved:`id`, `itemid`, case insensitively. Also, the length of the property name must not exceed 63 characters.
44
-
* @param {string} type - Value type of the item property to be created. One of: `int`, `double`, `string`, `boolean`, `timestamp`, `set`
44
+
* @param {string} type - Value type of the item property to be created. One of: `int`, `double`, `string`, `boolean`, `timestamp`, `set`, `image` or `imageList`.
0 commit comments