Skip to content

Commit 8f846d6

Browse files
author
Thomas Genin
committed
Merge pull request #2 from Expensify/joe-milestones
Adding docs
2 parents 955326c + e84acf1 commit 8f846d6

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)