-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-setup-openapi.yml
More file actions
1324 lines (1289 loc) · 42.2 KB
/
github-setup-openapi.yml
File metadata and controls
1324 lines (1289 loc) · 42.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.3
info:
version: 1.1.4
title: GitHub Setup API
description: >-
The GitHub Setup APIs provide endpoints for configuring and managing the
initial setup and administrative settings of GitHub Enterprise Server
instances. These APIs allow system administrators to programmatically
control enterprise-level configurations such as authentication settings,
license management, maintenance mode operations, server statistics and
health checks, and other foundational setup tasks required to deploy and
maintain a GitHub Enterprise Server installation. This API is primarily used
by DevOps teams and system administrators to automate GitHub Enterprise
Server deployments, integrate server management into infrastructure-as-code
workflows, monitor server health and performance, and ensure consistent
configuration across multiple enterprise instances.
license:
name: MIT
url: https://spdx.org/licenses/MIT
termsOfService: https://docs.github.com/articles/github-terms-of-service
contact:
name: Support
url: https://support.github.com/contact?tags=dotcom-rest-api
x-github-plan: ghes
x-github-release: 3.9
tags:
- name: Add
- name: All
- name: Authorized
- name: Configuration
- name: Create
- name: Disables
- name: Enables
- name: Get
- name: Keys
- name: Licenses
- name: Maintenance
- name: Modes
- name: Process
- name: Remove
- name: Sets
- name: Settings
- name: Ssh
- name: Start
- name: Status
- name: Upgrade
servers:
- url: '{protocol}://{hostname}/api/v3'
variables:
hostname:
description: Self-hosted Enterprise Server hostname
default: HOSTNAME
protocol:
description: Self-hosted Enterprise Server protocol
default: http
externalDocs:
description: GitHub Enterprise Developer Docs
url: https://docs.github.com/enterprise-server@3.9/rest/
paths:
/setup/api/configcheck:
get:
summary: GitHub Get the Configuration Status
description: >-
This endpoint allows you to check the status of the most recent
configuration process:
Note that you may need to wait several seconds after you start a process
before you can check its status.
The different statuses are:
| Status | Description |
| - | |
| `PENDING` | The job has not started yet |
| `CONFIGURING` | The job is running |
| `DONE` | The job has finished correctly |
| `FAILED` | The job has finished unexpectedly |
operationId: getTheConfigurationStatus
tags:
- Configuration
- Get
- Status
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#get-the-configuration-status
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/configuration-status'
examples:
default:
$ref: '#/components/examples/configuration-status'
'401':
description: Unauthorized
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/setup/api/configure:
post:
summary: GitHub Start Configuration Process
description: >-
The GitHub Setup API's `/setup/api/configure` endpoint accepts POST
requests to initiate the configuration process for a new GitHub
Enterprise Server instance. This endpoint is typically called during the
initial setup phase when administrators need to establish basic system
settings such as management console password, hostname, and other
foundational configurations. The API operation triggers the
configuration workflow that prepares the instance for use, and it
returns a response indicating whether the configuration process has
successfully started or if any errors occurred during initialization.
operationId: startConfigurationProcess
tags:
- Configuration
- Process
- Start
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#start-a-configuration-process
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'202':
description: Response
'401':
description: Unauthorized
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/setup/api/maintenance:
get:
summary: GitHub Get the Maintenance Status
description: >-
The GitHub Setup API endpoint `/setup/api/maintenance` using the GET
method retrieves the current maintenance status of a GitHub Enterprise
Server instance. This operation allows administrators and monitoring
systems to programmatically check whether the server is currently in
maintenance mode, which is useful for coordinating deployments,
upgrades, or troubleshooting activities. The endpoint returns
information about the maintenance state, helping teams understand if the
instance is available for normal operations or if maintenance procedures
are currently active, enabling better orchestration of administrative
tasks and communication with users about system availability.
operationId: getTheMaintenanceStatus
tags:
- Get
- Maintenance
- Status
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#get-the-maintenance-status
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/maintenance-status'
examples:
default:
$ref: '#/components/examples/maintenance-status'
'401':
description: Unauthorized
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
post:
summary: GitHub Enable or Disable Maintenance Mode
description: >-
**Note:** The request body for this operation must be submitted as
`application/x-www-form-urlencoded` data. You can submit a parameter
value as a string, or you can use a tool such as `curl` to submit a
parameter value as the contents of a text file. For more information,
see the [`curl`
documentation](https://curl.se/docs/manpage.html#--data-urlencode).
operationId: enableOrDisableMaintenanceMode
tags:
- Disables
- Enables
- Maintenance
- Modes
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#enable-or-disable-maintenance-mode
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/maintenance-status'
examples:
default:
$ref: '#/components/examples/maintenance-status'
'401':
description: Unauthorized
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
maintenance:
type: string
description: >-
A JSON string with the attributes `enabled` and `when`.
The possible values for `enabled` are `true` and `false`.
When it's `false`, the attribute `when` is ignored and the
maintenance mode is turned off. `when` defines the time
period when the maintenance was enabled.
The possible values for `when` are `now` or any date
parseable by
[mojombo/chronic](https://github.com/mojombo/chronic).
required:
- maintenance
examples:
default:
value:
maintenance: '{"enabled":true, "when":"now"}'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/setup/api/settings:
get:
summary: GitHub Get Settings
description: >-
Gets the settings for your instance. To change settings, see the [Set
settings
endpoint](https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#set-settings).
**Note:** You cannot retrieve the management console password with the
Enterprise administration API.
operationId: getSettings
tags:
- Get
- Settings
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#get-settings
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/enterprise-settings'
examples:
default:
$ref: '#/components/examples/enterprise-settings'
'401':
description: Unauthorized
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
put:
summary: GitHub Set Settings
description: >-
Applies settings on your instance. For a list of the available settings,
see the [Get settings
endpoint](https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#get-settings).
**Notes:**
- The request body for this operation must be submitted as
`application/x-www-form-urlencoded` data. You can submit a parameter
value as a string, or you can use a tool such as `curl` to submit a
parameter value as the contents of a text file. For more information,
see the [`curl`
documentation](https://curl.se/docs/manpage.html#--data-urlencode).
- You cannot set the management console password with the Enterprise
administration API. Use the `ghe-set-password` utility to change the
management console password. For more information, see "[Command-line
utilities](https://docs.github.com/enterprise-server@3.9/admin/configuration/configuring-your-enterprise/command-line-utilities#ghe-set-password)."
operationId: setSettings
tags:
- Sets
- Settings
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#set-settings
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'204':
description: Response
'401':
description: Unauthorized
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
settings:
type: string
description: >-
A JSON string with the new settings. Note that you only need
to pass the specific settings you want to modify. For a list
of the available settings, see the [Get settings
endpoint](https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#get-settings).
required:
- settings
examples:
'204':
value:
settings: '{ "enterprise": { "public_pages": true }}'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/setup/api/settings/authorized-keys:
get:
summary: GitHub Get All Authorized Ssh Keys
description: >-
The GitHub Setup API endpoint `/setup/api/settings/authorized-keys` with
the GET method retrieves a complete list of all authorized SSH keys that
have been configured for the GitHub instance. This operation allows
administrators to view all SSH public keys that are currently authorized
for authentication purposes, providing visibility into which keys have
access to the system. The endpoint returns information about each
authorized key, which typically includes details such as the key
fingerprint, key type, and associated metadata. This is particularly
useful for security audits, access management, and ensuring that only
approved SSH keys maintain access to the GitHub server.
operationId: getAllAuthorizedSshKeys
tags:
- All
- Authorized
- Get
- Keys
- Ssh
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#get-all-authorized-ssh-keys
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ssh-key'
examples:
default:
$ref: '#/components/examples/ssh-key-items'
'401':
description: Unauthorized
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
post:
summary: GitHub Add an Authorized Ssh Key
description: >-
**Note:** The request body for this operation must be submitted as
`application/x-www-form-urlencoded` data. You can submit a parameter
value as a string, or you can use a tool such as `curl` to submit a
parameter value as the contents of a text file. For more information,
see the [`curl`
documentation](https://curl.se/docs/manpage.html#--data-urlencode).
operationId: addAnAuthorizedSshKey
tags:
- Add
- Authorized
- Keys
- Ssh
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#add-an-authorized-ssh-key
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'201':
description: Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ssh-key'
examples:
default:
$ref: '#/components/examples/ssh-key-items'
'401':
description: Unauthorized
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
authorized_key:
type: string
description: The public SSH key.
required:
- authorized_key
examples:
default:
value:
authorized_key: >-
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgQCssTL/Vtu/ODLTj0VtZoRAbvf7uiv5997GyDq0MoAZUjb5jmA5wYe2/wF6sFuhiZTnZoF1ZtCHunPp0hM/GHrn6VySBhNncx14YO8FPt1CIhEeRMSEjUK9cY3xAbS365oXY8vnUHJsS9+1tr/2bx/+4NJfcUt/Ezf1OR/0LStQXw==
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
delete:
summary: GitHub Remove an Authorized Ssh Key
description: >-
**Note:** The request body for this operation must be submitted as
`application/x-www-form-urlencoded` data. You can submit a parameter
value as a string, or you can use a tool such as `curl` to submit a
parameter value as the contents of a text file. For more information,
see the [`curl`
documentation](https://curl.se/docs/manpage.html#--data-urlencode).
operationId: removeAnAuthorizedSshKey
tags:
- Authorized
- Keys
- Remove
- Ssh
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#remove-an-authorized-ssh-key
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'200':
description: Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ssh-key'
examples:
default:
$ref: '#/components/examples/ssh-key-items'
'401':
description: Unauthorized
requestBody:
required: true
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
authorized_key:
type: string
description: The public SSH key.
required:
- authorized_key
examples:
default:
value:
authorized_key: >-
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgQCssTL/Vtu/ODLTj0VtZoRAbvf7uiv5997GyDq0MoAZUjb5jmA5wYe2/wF6sFuhiZTnZoF1ZtCHunPp0hM/GHrn6VySBhNncx14YO8FPt1CIhEeRMSEjUK9cY3xAbS365oXY8vnUHJsS9+1tr/2bx/+4NJfcUt/Ezf1OR/0LStQXw==
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/setup/api/start:
post:
summary: GitHub Create Github License
description: >-
When you boot a GitHub instance for the first time, you can use the
following endpoint to upload a license.
Note that you need to `POST` to
[`/setup/api/configure`](https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#start-a-configuration-process)
to start the actual configuration process.
When using this endpoint, your GitHub 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.
**Note:** The request body for this operation must be submitted as
`multipart/form-data` data. You can can reference the license file by
prefixing the filename with the `@` symbol using `curl`. For more
information, see the [`curl`
documentation](https://curl.se/docs/manpage.html#-F).
operationId: createGithubLicense
tags:
- Create
- Licenses
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#create-a-github-license
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'202':
description: Response
'401':
description: Unauthorized
requestBody:
required: true
content:
multipart/form-data:
schema:
type: object
properties:
license:
type: string
description: The content of your _.ghl_ license file.
password:
type: string
description: >-
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:
type: string
description: >-
An optional JSON string containing the installation
settings. For a list of the available settings, see the [Get
settings
endpoint](https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#get-settings).
required:
- license
examples:
default:
value:
license: '@enterprise.ghl'
password: secret
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/setup/api/upgrade:
post:
summary: GitHub Upgrade License
description: >-
This API upgrades your license and also triggers the configuration
process.
**Note:** The request body for this operation must be submitted as
`multipart/form-data` data. You can can reference the license file by
prefixing the filename with the `@` symbol using `curl`. For more
information, see the [`curl`
documentation](https://curl.se/docs/manpage.html#-F).
operationId: upgradeLicense
tags:
- Licenses
- Upgrade
externalDocs:
description: API method documentation
url: >-
https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/management-console#upgrade-a-license
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
responses:
'202':
description: Response
'401':
description: Unauthorized
requestBody:
required: false
content:
multipart/form-data:
schema:
type: object
properties:
license:
type: string
description: The content of your new _.ghl_ license file.
examples:
default:
value:
license: '@enterprise.ghl'
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: management-console
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
components:
examples:
configuration-status:
value:
status: running
progress:
- status: DONE
key: Appliance core components
- status: DONE
key: GitHub utilities
- status: DONE
key: GitHub applications
- status: CONFIGURING
key: GitHub services
- status: PENDING
key: Reloading appliance services
maintenance-status:
value:
status: scheduled
scheduled_time: Tuesday, January 22 at 15:34 -0800
connection_services:
- name: git operations
number: 0
- name: mysql queries
number: 233
- name: aqueduct jobs
number: 34
- name: resque jobs
number: 54
enterprise-settings:
value:
enterprise:
private_mode: false
public_pages: false
subdomain_isolation: true
signup_enabled: false
github_hostname: ghe.local
identicons_host: dotcom
http_proxy:
auth_mode: default
expire_sessions: false
admin_password:
configuration_id: 1401777404
configuration_run_count: 4
avatar:
enabled: false
uri: ''
customer:
name: GitHub
email: stannis@themannis.biz
uuid: af6cac80-e4e1-012e-d822-1231380e52e9
secret_key_data: |
--BEGIN PGP PRIVATE KEY BLOCK--
Version: GnuPG v1.4.10 (GNU/Linux)
lQcYBE5TCgsBEACk4yHpUcapplebaumBMXYMiLF+nCQ0lxpx...
--END PGP PRIVATE KEY BLOCK--
public_key_data: |
--BEGIN PGP PUBLIC KEY BLOCK--
Version: GnuPG v1.4.10 (GNU/Linux)
mI0ETqzZYgEEALSe6snowdenXyqvLfSQ34HWD6C7....
--END PGP PUBLIC KEY BLOCK--
license:
seats: 0
evaluation: false
perpetual: false
unlimited_seating: true
support_key: ssh-rsa AAAAB3N....
ssh_allowed: true
cluster_support: false
expire_at: '2016-04-27T00:00:00-07:00'
github_ssl:
enabled: false
cert:
key:
ldap:
host:
port: 0
base: []
uid:
bind_dn:
password:
method: Plain
search_strategy: detect
user_groups: []
admin_group:
virtual_attribute_enabled: false
recursive_group_search: false
posix_support: true
user_sync_emails: false
user_sync_keys: false
user_sync_interval: 4
team_sync_interval: 4
sync_enabled: false
reconciliation:
user:
org:
profile:
uid: uid
name:
mail:
key:
cas:
url:
saml:
sso_url:
certificate:
certificate_path:
issuer:
idp_initiated_sso: false
disable_admin_demote: false
github_oauth:
client_id: '12313412'
client_secret: kj123131132
organization_name: Homestar Runners
organization_team: homestarrunners/characters
smtp:
enabled: true
address: smtp.example.com
authentication: plain
port: '1234'
domain: blah
username: foo
user_name: mr_foo
enable_starttls_auto: true
password: bar
discard-to-noreply-address: true
support_address: enterprise@github.com
support_address_type: email
noreply_address: noreply@github.com
ntp:
primary_server: 0.pool.ntp.org
secondary_server: 1.pool.ntp.org
timezone:
snmp:
enabled: false
community: ''
syslog:
enabled: false
server:
protocol_name: udp
assets:
pages:
enabled: true
collectd:
enabled: false
server:
port: 0
encryption:
username:
password:
mapping:
enabled: true
tileserver:
basemap: company.map-qsz2zrvs
token:
load_balancer:
run_list:
- recipe[enterprise-configure]
ssh-key-items:
value:
- key: ssh-rsa AAAAB3NzaC1yc2EAAAAB...
pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64
- key: ssh-rsa AAAAB3NzaC1yc2EAAAAB...
pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64
- key: ssh-rsa AAAAB3NzaC1yc2EAAAAB...
pretty-print: ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64
reponses: {}
parameters: {}
schemas:
configuration-status:
type: object
properties:
status:
type: string
example: open
progress:
type: array
items:
type: object
properties:
status:
type: string
key:
type: string
required:
- status
- key
maintenance-status:
type: object
properties:
status:
type: string
example: open
scheduled_time:
type: string
example: '2026-04-17T12:00:00Z'
connection_services:
type: array
items:
type: object
properties:
name:
type: string
number:
type: integer
required:
- name
- number
enterprise-settings:
type: object
properties:
enterprise:
type: object
properties:
private_mode:
type: boolean
public_pages:
type: boolean
subdomain_isolation:
type: boolean
signup_enabled:
type: boolean