treasure-data / digdag

Workload Automation System
https://www.digdag.io/
Apache License 2.0
1.31k stars 222 forks source link

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

Open wchen4 opened 1 year ago

wchen4 commented 1 year ago

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

yoyama commented 1 year ago

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

agrr12 commented 1 month ago

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.