Skip to content

Update Apps to accept query parameters as per specification #1137

@Rezrazi

Description

@Rezrazi

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);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions