This repository was archived by the owner on Nov 1, 2017. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -469,7 +469,9 @@ organization, you get:
469469 : resource => : TeamMember }]
470470%>
471471
472- ## Remove team repository {#remove-team-repo}
472+ <a id =" remove-team-repo " />
473+
474+ ## Remove team repository
473475
474476In order to remove a repository from a team, the authenticated user must have
475477admin access to the repository or be a maintainer of the team.
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ title: Collaborators | GitHub API
66
77{: toc }
88
9+ <a id =" list " />
10+
911## List collaborators
1012
1113 GET /repos/:owner/:repo/collaborators
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ title: Deploy Keys | GitHub API
66
77{: toc }
88
9+ <a id =" list " />
10+
911## List deploy keys
1012
1113 GET /repos/:owner/:repo/keys
@@ -15,6 +17,8 @@ title: Deploy Keys | GitHub API
1517<%= headers 200, : pagination => default_pagination_rels %>
1618<%= json(: deploy_key ) { |h| [ h] } %>
1719
20+ <a id =" get " />
21+
1822## Get a deploy key
1923
2024 GET /repos/:owner/:repo/keys/:id
@@ -24,6 +28,8 @@ title: Deploy Keys | GitHub API
2428<%= headers 200 %>
2529<%= json : deploy_key %>
2630
31+ <a id =" create " />
32+
2733## Add a new deploy key
2834
2935 POST /repos/:owner/:repo/keys
@@ -47,11 +53,15 @@ Here's how you can create a read-only deploy key:
4753<%= headers 201, : Location => get_resource(: deploy_key )[ 'url'] %>
4854<%= json : deploy_key %>
4955
56+ <a id =" edit " />
57+
5058## Edit a deploy key
5159
5260Deploy keys are immutable. If you need to update a key, [ remove the
5361key] ( #remove-a-deploy-key ) and [ create a new one] ( #add-a-new-deploy-key ) instead.
5462
63+ <a id =" delete " />
64+
5565## Remove a deploy key
5666
5767 DELETE /repos/:owner/:repo/keys/:id
You can’t perform that action at this time.
0 commit comments