Skip to content

GitHub 'issues/.../comments' API call returns only 30 comments in one go#50

Open
gozhev wants to merge 1 commit intojlord:masterfrom
gozhev:master
Open

GitHub 'issues/.../comments' API call returns only 30 comments in one go#50
gozhev wants to merge 1 commit intojlord:masterfrom
gozhev:master

Conversation

@gozhev
Copy link

@gozhev gozhev commented Aug 7, 2018

I have noticed that offline-issues saves only first 30 comments from an issue.
For example, the following call
$ offline-issues fritz-smh/yi-hack#118
only saves comments until this one.

I have changed getComments function so that it sequentially requests comments and updates '?since=' parameter to the timestamp of the last fetched comment.

@gozhev gozhev changed the title GitHub 'issues/.../comments' API call returns only 30 issues in one go GitHub 'issues/.../comments' API call returns only 30 comments in one go Aug 7, 2018
@jlord jlord self-requested a review August 8, 2018 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant