File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -31,23 +31,21 @@ $installations = $client->api('current_user')->installations();
3131
3232List repositories that are accessible to the authenticated installation.
3333``` php
34- $repositories = $client->api('apps')->listRepositories(456 );
34+ $repositories = $client->api('apps')->listRepositories($userId );
3535```
3636
3737### List repositories for a given installation and user
3838
3939``` php
40- $repositories = $client->api('current_user')->repositoriesByInstallation(456 );
40+ $repositories = $client->api('current_user')->repositoriesByInstallation($installationId, $parameters );
4141```
4242
4343### Add repository to installation
44- Add a single repository to an installation.
4544``` php
46- $client->api('apps')->addRepository(123 );
45+ $client->api('apps')->addRepository($installationId, $repositoryId );
4746```
4847
4948### Remove repository from installation
50- Remove a single repository from an installation.
5149``` php
52- $client->api('apps')->removeRepository(123 );
50+ $client->api('apps')->removeRepository($installationId, $repositoryId );
5351```
You can’t perform that action at this time.
0 commit comments