Is there a way to query for issue comments that have been updated since a timestamp? #144806
Unanswered
jyasskin
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
If you run
with
you get
That is, there's a comment that was created before the
$since
value and updated after it. That update changed theupdatedAt
time for both the comment and its surrounding issue, but thesince
filter looks in the issue's updated time but looks in the comment's created time. Is there a filter I'm missing that would find just the updated comments?My current best guess is to sort the comments in descending order by updated time, and write manual pagination code to stop once they go below the
$since
value. Is there a better way to do this that won't get up to an extra page of comments for each issue?Beta Was this translation helpful? Give feedback.
All reactions