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
<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
<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>