Skip to content
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

Update Apps to accept query parameters as per specification #1137

Closed
Rezrazi opened this issue Apr 2, 2024 · 0 comments
Closed

Update Apps to accept query parameters as per specification #1137

Rezrazi opened this issue Apr 2, 2024 · 0 comments

Comments

@Rezrazi
Copy link

Rezrazi commented Apr 2, 2024

The documentation for application installations provides endpoints that accept parameters, for instance https://docs.github.com/fr/rest/apps/installations?apiVersion=2022-11-28#list-repositories

The current implementation prevents the end user of the library from passing their own parameters:

    public function listRepositories($userId = null)
    {
        $parameters = [];
        if ($userId) {
            $parameters['user_id'] = $userId;
        }

        $this->configurePreviewHeader();

        return $this->get('/installation/repositories', $parameters);
    }
@Rezrazi Rezrazi closed this as not planned Won't fix, can't repro, duplicate, stale Apr 2, 2024
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 a pull request may close this issue.

1 participant