You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<imgheight="16" width="16" src="https://github.com/ymendel.png" alt="Avatar for ymendel">
3704
-
<ahref="https://github.com/ymendel">ymendel</a>
3703
+
<imgheight="16" width="16" src="https://github.com/Caged.png" alt="Avatar for Caged">
3704
+
<ahref="https://github.com/Caged">Caged</a>
3705
3705
</li>
3706
3706
</ul>
3707
3707
</div>
3708
3708
3709
-
<p>We’re following in the footsteps of GitHub.com’s ability to <ahref="https://github.com/blog/143-inline-file-editing">edit</a> and
3710
-
<ahref="https://github.com/blog/1327-creating-files-on-github">create</a> files in your web browser. Starting today, the
3711
-
<ahref="/v3/repos/contents/">Repository Contents API</a> will let you easily <ahref="/v3/repos/contents/#create-a-file">create</a>, <ahref="/v3/repos/contents/#update-a-file">update</a>, and even
<ahref="/changes/2013-05-06-create-update-delete-individual-files/">Create, update, and delete individual files</a>
3722
3730
</h2>
3723
3731
3724
3732
<divclass="meta">
@@ -3729,27 +3737,19 @@ <h2 class="title">
3729
3737
3730
3738
</li>
3731
3739
<liclass="who_when">
3732
-
<imgheight="16" width="16" src="https://github.com/Caged.png" alt="Avatar for Caged">
3733
-
<ahref="https://github.com/Caged">Caged</a>
3740
+
<imgheight="16" width="16" src="https://github.com/ymendel.png" alt="Avatar for ymendel">
3741
+
<ahref="https://github.com/ymendel">ymendel</a>
3734
3742
</li>
3735
3743
</ul>
3736
3744
</div>
3737
3745
3738
-
<p>Today we’re happy to open our <ahref="/v3/repos/statistics">Repository Statistics API</a> to everyone. We’re using
3739
-
repository statistics to power <ahref="https://github.com/github/linguist/graphs">our graphs</a>,
3740
-
but we can’t wait to see what others can do with this information.</p>
3741
-
3742
-
<p>Starting today, these resources are available to you:</p>
3746
+
<p>We’re following in the footsteps of GitHub.com’s ability to <ahref="https://github.com/blog/143-inline-file-editing">edit</a> and
3747
+
<ahref="https://github.com/blog/1327-creating-files-on-github">create</a> files in your web browser. Starting today, the
3748
+
<ahref="/v3/repos/contents/">Repository Contents API</a> will let you easily <ahref="/v3/repos/contents/#create-a-file">create</a>, <ahref="/v3/repos/contents/#update-a-file">update</a>, and even
<p>The Management Console API helps you manage your GitHub Enterprise installation.</p>
72
72
73
+
<divclass="alert tip">
74
+
75
+
<p>You must explicitly set the port number when making API calls to the Management Console. If SSL is enabled on your Enterprise instance, the port number is <code>8443</code>; otherwise, the port number is <code>8080</code>.</p>
76
+
77
+
<p>If you don’t want to provide a port number, you’ll need to configure your tool to automatically follow redirects.</p>
78
+
79
+
</div>
80
+
73
81
<h2id="authentication">Authentication</h2>
74
82
75
83
<p>You need to pass your <ahref="https://help.github.com/enterprise/2.0/admin/articles/accessing-the-management-console/">Management Console password</a> as an authentication token to every Management Console API endpoint except <ahref="#upload-a-license-for-the-first-time"><code>/setup/api/start</code></a>.</p>
76
84
77
85
<p>Use the <code>api_key</code> parameter to send this token with each request. For example:</p>
0 commit comments