Skip to content

Commit e84acf1

Browse files
committed
Adding docs
1 parent 61d6aa0 commit e84acf1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/repos.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,3 +238,11 @@ $activity = $client->api('repo')->activity('ornicar', 'php-github-api');
238238
```
239239

240240
Returns an array of commit activity group by week.
241+
242+
### Get the milestones of a repository
243+
244+
```php
245+
milestones = $client->api('repo')->milestones('ornicar', 'php-github-api');
246+
```
247+
248+
Returns a list of milestones.

0 commit comments

Comments
 (0)