Calls gh_api() for every page of a list, 100 items a page, and returns NULL
instead of an error.
Arguments
- endpoint
The endpoint, such as
"/user"or"POST /graphql". Its placeholders take the values of the same names in....- ...
The values of the placeholders and the parameters of the request, passed to
gh::gh().- token
GitHub token, or
NULLfor the one that gh finds.
Examples
if (FALSE) { # \dontrun{
releases <- rghcard:::gh_all("/repos/{owner}/{repo}/releases", owner = "r-lib", repo = "gh")
length(releases)
} # }