-
-
Notifications
You must be signed in to change notification settings - Fork 454
[11.8] Allow specifying params for Wiki::showAll() #670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
You should use the result pager to fetch different pages, assuming that is your use case here. |
Thanks for the hint, I will definitely keep that in mind as we probably have some wikis with over 20 pages 👍 |
Passing the option is still useful though: $pages = (new ResultPager($this->gitlab->connection()))->fetchAll(
$this->gitlab->wiki(),
'showAll',
[
$projectId,
['with_contents' => true]
],
); |
Is there anything else I can do here? Would love to see this merged, I am currently blocked by being unable to use the GitLab API to its full extent. |
I don't know what to do about the test failure, tests against the local PHP 7.4 setup (using |
I was unable to push to your branch because you unchecked the option. I'm going to re-create this PR. |
Thanks for the PR. :) |
https://docs.gitlab.com/ee/api/wikis.html#list-wiki-pages