API `v1/recents` returns unexpected results

Options

API: https://api.pipedrive.com/v1/recents?limit=2&start=2&since_timestamp=2024-03-27%2014%3A16%3A00&items=person'

This API returning same item in different pages. I have 22 items in Person list.

Here are results for query params:

since_timestamp = 2024-01-01 00:00:00, items = person

For start = 0, limit = 2, it returns person with ID [11, 17]

For start = 2, limit = 2, it returns person with ID [17, 16]

For start = 4, limit = 2, it returns person with ID [4, 3]

For start = 6, limit = 2, it returns person with ID [4, 3]

For start = 8, limit = 2, it returns person with ID [4, 3]

For start = 10, limit = 2, it returns person with ID [4, 3]

For start = 12, limit = 2, it returns person with ID [4, 3]

For start = 14, limit = 2, it returns person with ID [4, 3]

For start = 16, limit = 2, it returns person with ID [4, 3]

Why is API returning exactly same item in different pages queried using different start cursor? I mean [4, 3] in page 1 is exactly same as [4, 3] in next page. This is a bug in my view.

Can someone from Eng team help me understand what does this result mean?

Tagged:

Answers

  • Manuel Oliveira
    Manuel Oliveira Admin Posts: 1,078 COMMUNITY MANAGER
    First Answer First Anniversary 5 Likes First Comment
    Options

    Hi @choezin that endpoint returns data about recent changes that occurred after a timestamp, so it might be that those same items had changes made to them multiple times.