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

Commitb5a405c

Browse files
committed
update all examples to https
1 parent4a91f27 commitb5a405c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

‎content/v3/enterprise/management_console.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ You need to pass your [Management Console password](https://help.github.com/ente
2323
Use the`api_key` parameter to send this token with each request. For example:
2424

2525
```command-line
26-
$ curl -L 'http://<em>hostname</em>:<em>admin_port</em>/setup/api?api_key=<em>your-amazing-password</em>'
26+
$ curl -L 'https://<em>hostname</em>:<em>admin_port</em>/setup/api?api_key=<em>your-amazing-password</em>'
2727
```
2828

2929
You can also use standard HTTP authentication to send this token. For example:
3030

3131
```command-line
32-
$ curl -L 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api'
32+
$ curl -L 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api'
3333
```
3434

3535
##Upload a license for the first time
@@ -96,7 +96,7 @@ Name | Type | Description
9696
###Example
9797

9898
```command-line
99-
$ curl -L -X POST 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/upgrade'
99+
$ curl -L -X POST 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/upgrade'
100100
```
101101

102102
##Check configuration status
@@ -125,7 +125,7 @@ Status | Description
125125
###Example
126126

127127
```command-line
128-
$ curl -L 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/configcheck'
128+
$ curl -L 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/configcheck'
129129
```
130130

131131
##Start a configuration process
@@ -144,7 +144,7 @@ This endpoint allows you to start a configuration process at any time for your u
144144
###Example
145145

146146
```command-line
147-
$ curl -L -X POST 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/configure'
147+
$ curl -L -X POST 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/configure'
148148
```
149149

150150
##Retrieve settings
@@ -159,7 +159,7 @@ $ curl -L -X POST 'http://api_key:<em>your-amazing-password</em>@<em>hostname</e
159159
###Example
160160

161161
```command-line
162-
$ curl -L 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings'
162+
$ curl -L 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings'
163163
```
164164

165165
##Modify settings
@@ -181,7 +181,7 @@ Name | Type | Description
181181
###Example
182182

183183
```command-line
184-
$ curl -L -X PUT 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings' --data-urlencode "settings=`cat /path/to/settings.json`"
184+
$ curl -L -X PUT 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings' --data-urlencode "settings=`cat /path/to/settings.json`"
185185
```
186186

187187
##Check maintenance status
@@ -198,7 +198,7 @@ Check your installation's maintenance status:
198198
###Example
199199

200200
```command-line
201-
$ curl -L 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/maintenance'
201+
$ curl -L 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/maintenance'
202202
```
203203

204204
##Enable or disable maintenance mode
@@ -225,7 +225,7 @@ The possible values for `when` are `now` or any date parseable by
225225
###Example
226226

227227
```command-line
228-
$ curl -L -X POST 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/maintenance' -d 'maintenance=<em>{"enabled":true, "when":"now"}</em>'
228+
$ curl -L -X POST 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/maintenance' -d 'maintenance=<em>{"enabled":true, "when":"now"}</em>'
229229
```
230230

231231
##Retrieve authorized SSH keys
@@ -240,7 +240,7 @@ $ curl -L -X POST 'http://api_key:<em>your-amazing-password</em>@<em>hostname</e
240240
###Example
241241

242242
```command-line
243-
$ curl -L 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings/authorized-keys'
243+
$ curl -L 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings/authorized-keys'
244244
```
245245

246246
##Add a new authorized SSH key
@@ -282,5 +282,5 @@ Name | Type | Description
282282
###Example
283283

284284
```command-line
285-
$ curl -L -X DELETE 'http://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings/authorized-keys' -F authorized_key=@<em>/path/to/key.pub</em>
285+
$ curl -L -X DELETE 'https://api_key:<em>your-amazing-password</em>@<em>hostname</em>:<em>admin_port</em>/setup/api/settings/authorized-keys' -F authorized_key=@<em>/path/to/key.pub</em>
286286
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp