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
* @param {string} filter.request_id - filter visits by `requestId`.
263
-
* @param {string} filter.linked_id - filter visits by your custom identifier.
264
-
* @param {string} filter.paginationKey - use `paginationKey` to get the next page of results. When more results are available (e.g., you requested 200 results using `limit` parameter, but a total of 600 results are available), the `paginationKey` top-level attribute is added to the response. The key corresponds to the `requestId` of the last returned event. In the following request, use that value in the `paginationKey` parameter to get the next page of results:
265
-
*
266
-
* 1. First request, returning most recent 200 events: `GET api-base-url/visitors/:visitorId?limit=200`
267
-
* 2. Use `response.paginationKey` to get the next page of results: `GET api-base-url/visitors/:visitorId?limit=200&paginationKey=1683900801733.Ogvu1j`
268
-
*
269
-
* Pagination happens during scanning and before filtering, so you can get less visits than the `limit` you specified with more available on the next page. When there are no more results available for scanning, the `paginationKey` attribute is not returned.
270
-
* @example
271
-
* ```javascript
272
-
* client
273
-
* .getVisitorHistory('<visitorId>', { limit: 1 })
274
-
* .then((visitorHistory) => {
275
-
* console.log(visitorHistory)
276
-
* })
277
-
* .catch((error) => {
278
-
* if (isVisitorsError(error)) {
279
-
* console.log(error.statusCode, error.message)
280
-
* if (error.status === 429) {
281
-
* retryLater(error.retryAfter) // Needs to be implemented on your side
282
-
* }
283
-
* }
284
-
* })
285
-
* ```
286
-
*/
258
+
* @deprecated Please use {@link FingerprintJsServerApiClient.getVisits} instead
* @param {string} filter.request_id - filter visits by `requestId`.
301
+
* @param {string} filter.linked_id - filter visits by your custom identifier.
302
+
* @param {string} filter.paginationKey - use `paginationKey` to get the next page of results. When more results are available (e.g., you requested 200 results using `limit` parameter, but a total of 600 results are available), the `paginationKey` top-level attribute is added to the response. The key corresponds to the `requestId` of the last returned event. In the following request, use that value in the `paginationKey` parameter to get the next page of results:
303
+
*
304
+
* 1. First request, returning most recent 200 events: `GET api-base-url/visitors/:visitorId?limit=200`
305
+
* 2. Use `response.paginationKey` to get the next page of results: `GET api-base-url/visitors/:visitorId?limit=200&paginationKey=1683900801733.Ogvu1j`
306
+
*
307
+
* Pagination happens during scanning and before filtering, so you can get less visits than the `limit` you specified with more available on the next page. When there are no more results available for scanning, the `paginationKey` attribute is not returned.
308
+
* @example
309
+
* ```javascript
310
+
* client
311
+
* .getVisits('<visitorId>', { limit: 1 })
312
+
* .then((visitorHistory) => {
313
+
* console.log(visitorHistory)
314
+
* })
315
+
* .catch((error) => {
316
+
* if (isVisitorsError(error)) {
317
+
* console.log(error.statusCode, error.message)
318
+
* if (error.status === 429) {
319
+
* retryLater(error.retryAfter) // Needs to be implemented on your side
0 commit comments