Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Merge upstream#691

Merged
gjtorikian merged 1 commit intomasterfromaddress-merge-conflict
Jan 17, 2015
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletioncontent/v3/enterprise/management_console.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -33,11 +33,21 @@ When you boot a virtual machine for the first time, you can use the following en

Note that you need to POST to [`/setup/api/configure`](#start-a-configuration-process) to start the actual configuration process.

{{#warning}}

When using this endpoint, your Enterprise instance must have a password set. This can be accomplished two ways:

1. If you're working directly with the API before accessing the web interface, you must pass in the password parameter to set your password.
2. If you set up your instance via the web interface before accessing the API, your calls to this endpoint do not need the password parameter.

{{/warning}}

### Parameters

Name | Type | Description
-----|------|--------------
`license`|`string` | **Required**. The content of your *.ghl* license file.
`password`|`string` | You **must** provide a password *only if* you are uploading your license for the first time. If you previously set a password through the web interface, you don't need this parameter.
`settings`| `string`| Optional path to a JSON file containing your installation settings.

For a list of the available settings, see [the `/setup/api/settings` endpoint](#retrieve-settings).
Expand All@@ -52,7 +62,7 @@ Location: http://<em>hostname</em>/setup/api/configcheck
### Example

<pre class="terminal">
curl -X POST 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>/setup/api/start' -F license=@<em>/path/to/github-enterprise.ghl</em> -F settings=&lt;<em>/path/to/settings.json</em>
curl -X POST 'http://<em>hostname</em>/setup/api/start' -F license=@<em>/path/to/github-enterprise.ghl</em> -F "password=<em>your-amazing-password</em>" -F settings=&lt;<em>/path/to/settings.json</em>
</pre>

## Upgrade a license
Expand Down
8 changes: 4 additions & 4 deletionscontent/v3/oauth.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -302,21 +302,21 @@ receive this error.
To solve this error, start the [OAuth process over from the beginning](#redirect-users-to-request-github-access)
and get a new code.

## Directing users to review their access for an application
## Directing users to review their access for anOAuthapplication

Users can review and revoke their application authorizations from the [settings
screen within GitHub][settings]. Integrators can deep link to the authorization
information for their particular app to let their end users review those
details.

To build this link, you'll need your OAuth application's `client_id` you
received from GitHub when you [registered the application][app-registration].
received from GitHub when you [registered the application][apps].

https://github.com/settings/connections/applications/:client_id

[oauth changes blog]: /changes/2013-10-04-oauth-changes-coming/
[basics auth guide]: /guides/basics-of-authentication/
[deployments]: /v3/repos/deployments
[public keys]: /v3/users/keys/
[settings]: https://github.com/settings/applications#authorized
[app-registration]: https://developer.github.com/guides/basics-of-authentication/#registering-your-app
[settings]: https://github.com/settings
[apps]: https://github.com/settings/applications

[8]ページ先頭

©2009-2025 Movatter.jp