Skip to content

Commit 848c747

Browse files
committed
Merge pull request github#129 from tobie/contrib-api
Add documentation for the Repo Contributors API.
2 parents 9938e69 + b456d1a commit 848c747

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

content/v3/repos/contributors.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Repo Contributors | GitHub API
3+
---
4+
5+
# Repo Contributors API
6+
7+
## List
8+
9+
GET /repos/:user/:repo/contributors
10+
11+
### Response
12+
13+
<%= headers 200 %>
14+
<%= json(:contributor) { |h| [h] } %>

layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ <h3><a href="#" class="js-expand-btn collapsed">&nbsp;</a><a href="/v3/repos/">R
9090
<li><a href="/v3/repos/comments/">Comments</a></li>
9191
<li><a href="/v3/repos/commits/">Commits</a></li>
9292
<li><a href="/v3/repos/contents/">Contents</a></li>
93+
<li><a href="/v3/repos/contributors/">Contributors</a></li>
9394
<li><a href="/v3/repos/downloads/">Downloads</a></li>
9495
<li><a href="/v3/repos/forks/">Forks</a></li>
9596
<li><a href="/v3/repos/keys/">Keys</a></li>

0 commit comments

Comments
 (0)