File tree 1 file changed +4
-6
lines changed 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();
31
31
32
32
List repositories that are accessible to the authenticated installation.
33
33
``` php
34
- $repositories = $client->api('apps')->listRepositories(456 );
34
+ $repositories = $client->api('apps')->listRepositories($userId );
35
35
```
36
36
37
37
### List repositories for a given installation and user
38
38
39
39
``` php
40
- $repositories = $client->api('current_user')->repositoriesByInstallation(456 );
40
+ $repositories = $client->api('current_user')->repositoriesByInstallation($installationId, $parameters );
41
41
```
42
42
43
43
### Add repository to installation
44
- Add a single repository to an installation.
45
44
``` php
46
- $client->api('apps')->addRepository(123 );
45
+ $client->api('apps')->addRepository($installationId, $repositoryId );
47
46
```
48
47
49
48
### Remove repository from installation
50
- Remove a single repository from an installation.
51
49
``` php
52
- $client->api('apps')->removeRepository(123 );
50
+ $client->api('apps')->removeRepository($installationId, $repositoryId );
53
51
```
You can’t perform that action at this time.
0 commit comments