digdag icon indicating copy to clipboard operation
digdag copied to clipboard

Incorrect description of the `last_id` query param on GET /api/attempts endpoint.

Open wchen4 opened this issue 2 years ago • 2 comments

The doc shows "list attempts whose id is GREATER THAN this id for pagination", however, the actual behavior is that it shows where id is LESS THAN the supplied last_id.

image

wchen4 avatar Aug 16 '23 21:08 wchen4

Hi, thank you for your report. I confirmed your report is right. We will fix it later.

yoyama avatar Aug 17 '23 07:08 yoyama

Do we have any updates on this matter? It seems that the logic still hasn't been fixed.

We are dealing with a use case where we collect attempts of workflow executions, and we would like to apply the 'last_id' logic to perform incremental loads of these attempts.

agrr12 avatar Oct 03 '24 13:10 agrr12