@octokit/openapi 7.1.0 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +391 -3
- package/generated/api.github.com.json +319 -3
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
- package/generated/ghes-3.2.deref.json +7 -1
- package/generated/ghes-3.2.json +7 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
- package/generated/ghes-3.3.deref.json +7 -1
- package/generated/ghes-3.3.json +7 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +7 -1
- package/generated/ghes-3.4.json +7 -1
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +1 -1
- package/generated/ghes-3.5.deref.json +7 -1
- package/generated/ghes-3.5.json +7 -1
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +6 -0
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.6-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.6.deref.json +51 -1
- package/generated/ghes-3.6.json +51 -1
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +6 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +1 -1
- package/generated/github.ae-diff-to-api.github.com.json +1 -1
- package/generated/github.ae.deref.json +51 -1
- package/generated/github.ae.json +51 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.2.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -19823,6 +19823,328 @@
|
|
|
19823
19823
|
"x-octokit": {}
|
|
19824
19824
|
}
|
|
19825
19825
|
},
|
|
19826
|
+
"/enterprises/{enterprise}/consumed-licenses": {
|
|
19827
|
+
"get": {
|
|
19828
|
+
"summary": "List enterprise consumed licenses",
|
|
19829
|
+
"description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.",
|
|
19830
|
+
"tags": [
|
|
19831
|
+
"enterprise-admin"
|
|
19832
|
+
],
|
|
19833
|
+
"operationId": "enterprise-admin/get-consumed-licenses",
|
|
19834
|
+
"externalDocs": {
|
|
19835
|
+
"description": "API method documentation",
|
|
19836
|
+
"url": "https://docs.github.com/rest/reference/enterprise-admin#list-enterprise-consumed-licenses"
|
|
19837
|
+
},
|
|
19838
|
+
"parameters": [
|
|
19839
|
+
{
|
|
19840
|
+
"name": "enterprise",
|
|
19841
|
+
"description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.",
|
|
19842
|
+
"in": "path",
|
|
19843
|
+
"required": true,
|
|
19844
|
+
"schema": {
|
|
19845
|
+
"type": "string"
|
|
19846
|
+
}
|
|
19847
|
+
},
|
|
19848
|
+
{
|
|
19849
|
+
"name": "per_page",
|
|
19850
|
+
"description": "The number of results per page (max 100).",
|
|
19851
|
+
"in": "query",
|
|
19852
|
+
"schema": {
|
|
19853
|
+
"type": "integer",
|
|
19854
|
+
"default": 30
|
|
19855
|
+
}
|
|
19856
|
+
},
|
|
19857
|
+
{
|
|
19858
|
+
"name": "page",
|
|
19859
|
+
"description": "Page number of the results to fetch.",
|
|
19860
|
+
"in": "query",
|
|
19861
|
+
"schema": {
|
|
19862
|
+
"type": "integer",
|
|
19863
|
+
"default": 1
|
|
19864
|
+
}
|
|
19865
|
+
}
|
|
19866
|
+
],
|
|
19867
|
+
"responses": {
|
|
19868
|
+
"200": {
|
|
19869
|
+
"description": "Consumed Licenses Response",
|
|
19870
|
+
"content": {
|
|
19871
|
+
"application/json": {
|
|
19872
|
+
"schema": {
|
|
19873
|
+
"title": "Enterprise Consumed Licenses",
|
|
19874
|
+
"description": "A breakdown of the licenses consumed by an enterprise.",
|
|
19875
|
+
"properties": {
|
|
19876
|
+
"total_seats_consumed": {
|
|
19877
|
+
"type": "integer"
|
|
19878
|
+
},
|
|
19879
|
+
"total_seats_purchased": {
|
|
19880
|
+
"type": "integer"
|
|
19881
|
+
},
|
|
19882
|
+
"users": {
|
|
19883
|
+
"type": "array",
|
|
19884
|
+
"items": {
|
|
19885
|
+
"type": "object",
|
|
19886
|
+
"properties": {
|
|
19887
|
+
"github_com_login": {
|
|
19888
|
+
"type": "string"
|
|
19889
|
+
},
|
|
19890
|
+
"github_com_name": {
|
|
19891
|
+
"type": "string",
|
|
19892
|
+
"nullable": true
|
|
19893
|
+
},
|
|
19894
|
+
"github_com_profile": {
|
|
19895
|
+
"type": "string",
|
|
19896
|
+
"nullable": true
|
|
19897
|
+
},
|
|
19898
|
+
"license_type": {
|
|
19899
|
+
"type": "string"
|
|
19900
|
+
},
|
|
19901
|
+
"github_com_member_roles": {
|
|
19902
|
+
"type": "array",
|
|
19903
|
+
"items": {
|
|
19904
|
+
"type": "string"
|
|
19905
|
+
}
|
|
19906
|
+
},
|
|
19907
|
+
"github_com_enterprise_role": {
|
|
19908
|
+
"type": "string",
|
|
19909
|
+
"nullable": true
|
|
19910
|
+
},
|
|
19911
|
+
"visual_studio_subscription_user": {
|
|
19912
|
+
"type": "boolean"
|
|
19913
|
+
},
|
|
19914
|
+
"github_com_verified_domain_emails": {
|
|
19915
|
+
"type": "array",
|
|
19916
|
+
"items": {
|
|
19917
|
+
"type": "string"
|
|
19918
|
+
}
|
|
19919
|
+
},
|
|
19920
|
+
"github_com_saml_name_id": {
|
|
19921
|
+
"type": "string",
|
|
19922
|
+
"nullable": true
|
|
19923
|
+
},
|
|
19924
|
+
"enterprise_server_user": {
|
|
19925
|
+
"type": "boolean",
|
|
19926
|
+
"nullable": true
|
|
19927
|
+
},
|
|
19928
|
+
"enterprise_server_emails": {
|
|
19929
|
+
"type": "array",
|
|
19930
|
+
"items": {
|
|
19931
|
+
"type": "string"
|
|
19932
|
+
}
|
|
19933
|
+
},
|
|
19934
|
+
"github_com_user": {
|
|
19935
|
+
"type": "boolean"
|
|
19936
|
+
},
|
|
19937
|
+
"total_user_accounts": {
|
|
19938
|
+
"type": "integer"
|
|
19939
|
+
},
|
|
19940
|
+
"enterprise_server_user_ids": {
|
|
19941
|
+
"type": "array",
|
|
19942
|
+
"items": {
|
|
19943
|
+
"type": "string"
|
|
19944
|
+
}
|
|
19945
|
+
},
|
|
19946
|
+
"github_com_orgs_with_pending_invites": {
|
|
19947
|
+
"type": "array",
|
|
19948
|
+
"items": {
|
|
19949
|
+
"type": "string"
|
|
19950
|
+
}
|
|
19951
|
+
},
|
|
19952
|
+
"visual_studio_subscription_email": {
|
|
19953
|
+
"type": "string",
|
|
19954
|
+
"nullable": true
|
|
19955
|
+
}
|
|
19956
|
+
}
|
|
19957
|
+
}
|
|
19958
|
+
}
|
|
19959
|
+
}
|
|
19960
|
+
},
|
|
19961
|
+
"examples": {
|
|
19962
|
+
"default": {
|
|
19963
|
+
"value": {
|
|
19964
|
+
"total_seats_consumed": 5000,
|
|
19965
|
+
"total_seats_purchased": 4500,
|
|
19966
|
+
"users": [
|
|
19967
|
+
{
|
|
19968
|
+
"enterprise_server_emails": [
|
|
19969
|
+
"monalisa@github.com"
|
|
19970
|
+
],
|
|
19971
|
+
"github_com_login": "monalisa",
|
|
19972
|
+
"github_com_name": "Mona Lisa",
|
|
19973
|
+
"github_com_profile": "https://github.com/monalisa",
|
|
19974
|
+
"license_type": "enterprise",
|
|
19975
|
+
"github_com_member_roles": [
|
|
19976
|
+
"org1:Owner",
|
|
19977
|
+
"org2:Owner"
|
|
19978
|
+
],
|
|
19979
|
+
"github_com_enterprise_role": "owner",
|
|
19980
|
+
"visual_studio_subscription_user": false,
|
|
19981
|
+
"github_com_verified_domain_emails": [
|
|
19982
|
+
"monalisa@github.com"
|
|
19983
|
+
],
|
|
19984
|
+
"github_com_saml_name_id": "monalisa",
|
|
19985
|
+
"enterprise_server_user": true,
|
|
19986
|
+
"github_com_user": true,
|
|
19987
|
+
"total_user_accounts": 3,
|
|
19988
|
+
"enterprise_server_user_ids": [
|
|
19989
|
+
"example_host_name.com:123",
|
|
19990
|
+
"example_host_name_2:222"
|
|
19991
|
+
],
|
|
19992
|
+
"github_com_orgs_with_pending_invites": [
|
|
19993
|
+
"org1",
|
|
19994
|
+
"org2"
|
|
19995
|
+
],
|
|
19996
|
+
"visual_studio_subscription_email": ""
|
|
19997
|
+
},
|
|
19998
|
+
{
|
|
19999
|
+
"enterprise_server_emails": [
|
|
20000
|
+
"deleonjavier@example.com"
|
|
20001
|
+
],
|
|
20002
|
+
"github_com_login": "",
|
|
20003
|
+
"github_com_name": "",
|
|
20004
|
+
"github_com_profile": "",
|
|
20005
|
+
"license_type": "enterprise",
|
|
20006
|
+
"github_com_member_roles": [],
|
|
20007
|
+
"github_com_enterprise_role": "",
|
|
20008
|
+
"visual_studio_subscription_user": false,
|
|
20009
|
+
"github_com_verified_domain_emails": [],
|
|
20010
|
+
"github_com_saml_name_id": "",
|
|
20011
|
+
"enterprise_server_user": true,
|
|
20012
|
+
"github_com_user": false,
|
|
20013
|
+
"total_user_accounts": 1,
|
|
20014
|
+
"enterprise_server_user_ids": [
|
|
20015
|
+
"example_host_name:123"
|
|
20016
|
+
],
|
|
20017
|
+
"github_com_orgs_with_pending_invites": [],
|
|
20018
|
+
"visual_studio_subscription_email": ""
|
|
20019
|
+
}
|
|
20020
|
+
]
|
|
20021
|
+
}
|
|
20022
|
+
}
|
|
20023
|
+
}
|
|
20024
|
+
}
|
|
20025
|
+
},
|
|
20026
|
+
"headers": {
|
|
20027
|
+
"Link": {
|
|
20028
|
+
"example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",
|
|
20029
|
+
"schema": {
|
|
20030
|
+
"type": "string"
|
|
20031
|
+
}
|
|
20032
|
+
}
|
|
20033
|
+
}
|
|
20034
|
+
}
|
|
20035
|
+
},
|
|
20036
|
+
"x-github": {
|
|
20037
|
+
"githubCloudOnly": true,
|
|
20038
|
+
"enabledForGitHubApps": false,
|
|
20039
|
+
"previews": [],
|
|
20040
|
+
"category": "enterprise-admin",
|
|
20041
|
+
"subcategory": "license"
|
|
20042
|
+
},
|
|
20043
|
+
"x-octokit": {}
|
|
20044
|
+
}
|
|
20045
|
+
},
|
|
20046
|
+
"/enterprises/{enterprise}/license-sync-status": {
|
|
20047
|
+
"get": {
|
|
20048
|
+
"summary": "Get a license sync status",
|
|
20049
|
+
"description": "Gets information about the status of a license sync job for an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.",
|
|
20050
|
+
"tags": [
|
|
20051
|
+
"enterprise-admin"
|
|
20052
|
+
],
|
|
20053
|
+
"operationId": "enterprise-admin/get-license-sync-status",
|
|
20054
|
+
"externalDocs": {
|
|
20055
|
+
"description": "API method documentation",
|
|
20056
|
+
"url": "https://docs.github.com/rest/reference/enterprise-admin#get-a-license-sync-status"
|
|
20057
|
+
},
|
|
20058
|
+
"parameters": [
|
|
20059
|
+
{
|
|
20060
|
+
"name": "enterprise",
|
|
20061
|
+
"description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.",
|
|
20062
|
+
"in": "path",
|
|
20063
|
+
"required": true,
|
|
20064
|
+
"schema": {
|
|
20065
|
+
"type": "string"
|
|
20066
|
+
}
|
|
20067
|
+
}
|
|
20068
|
+
],
|
|
20069
|
+
"responses": {
|
|
20070
|
+
"200": {
|
|
20071
|
+
"description": "License Sync Status Response",
|
|
20072
|
+
"content": {
|
|
20073
|
+
"application/json": {
|
|
20074
|
+
"schema": {
|
|
20075
|
+
"title": "License Sync Status",
|
|
20076
|
+
"description": "Information about the status of a license sync job for an enterprise.",
|
|
20077
|
+
"properties": {
|
|
20078
|
+
"server_instances": {
|
|
20079
|
+
"type": "array",
|
|
20080
|
+
"items": {
|
|
20081
|
+
"type": "object",
|
|
20082
|
+
"properties": {
|
|
20083
|
+
"server_id": {
|
|
20084
|
+
"type": "string"
|
|
20085
|
+
},
|
|
20086
|
+
"hostname": {
|
|
20087
|
+
"type": "string"
|
|
20088
|
+
},
|
|
20089
|
+
"last_sync": {
|
|
20090
|
+
"type": "object",
|
|
20091
|
+
"properties": {
|
|
20092
|
+
"date": {
|
|
20093
|
+
"type": "string"
|
|
20094
|
+
},
|
|
20095
|
+
"status": {
|
|
20096
|
+
"type": "string"
|
|
20097
|
+
},
|
|
20098
|
+
"error": {
|
|
20099
|
+
"type": "string"
|
|
20100
|
+
}
|
|
20101
|
+
}
|
|
20102
|
+
}
|
|
20103
|
+
}
|
|
20104
|
+
}
|
|
20105
|
+
}
|
|
20106
|
+
}
|
|
20107
|
+
},
|
|
20108
|
+
"examples": {
|
|
20109
|
+
"default": {
|
|
20110
|
+
"value": {
|
|
20111
|
+
"server_instances": [
|
|
20112
|
+
{
|
|
20113
|
+
"server_id": "deadbeef1",
|
|
20114
|
+
"hostname": "github.example.com",
|
|
20115
|
+
"last_sync": {
|
|
20116
|
+
"date": "2020-01-01T00:00:00Z",
|
|
20117
|
+
"status": "success",
|
|
20118
|
+
"error": ""
|
|
20119
|
+
}
|
|
20120
|
+
},
|
|
20121
|
+
{
|
|
20122
|
+
"server_id": "filetoffish1",
|
|
20123
|
+
"hostname": "github2.example.com",
|
|
20124
|
+
"last_sync": {
|
|
20125
|
+
"date": "2020-01-01T00:00:00Z",
|
|
20126
|
+
"status": "success",
|
|
20127
|
+
"error": ""
|
|
20128
|
+
}
|
|
20129
|
+
}
|
|
20130
|
+
]
|
|
20131
|
+
}
|
|
20132
|
+
}
|
|
20133
|
+
}
|
|
20134
|
+
}
|
|
20135
|
+
}
|
|
20136
|
+
}
|
|
20137
|
+
},
|
|
20138
|
+
"x-github": {
|
|
20139
|
+
"githubCloudOnly": true,
|
|
20140
|
+
"enabledForGitHubApps": false,
|
|
20141
|
+
"previews": [],
|
|
20142
|
+
"category": "enterprise-admin",
|
|
20143
|
+
"subcategory": "license"
|
|
20144
|
+
},
|
|
20145
|
+
"x-octokit": {}
|
|
20146
|
+
}
|
|
20147
|
+
},
|
|
19826
20148
|
"/enterprises/{enterprise}/secret-scanning/alerts": {
|
|
19827
20149
|
"get": {
|
|
19828
20150
|
"summary": "List secret scanning alerts for an enterprise",
|
|
@@ -205391,8 +205713,8 @@
|
|
|
205391
205713
|
"examples": {
|
|
205392
205714
|
"default": {
|
|
205393
205715
|
"value": {
|
|
205394
|
-
"
|
|
205395
|
-
"
|
|
205716
|
+
"ref": "main",
|
|
205717
|
+
"machine": "standardLinux32gb"
|
|
205396
205718
|
}
|
|
205397
205719
|
}
|
|
205398
205720
|
}
|
|
@@ -210132,6 +210454,66 @@
|
|
|
210132
210454
|
}
|
|
210133
210455
|
}
|
|
210134
210456
|
},
|
|
210457
|
+
"400": {
|
|
210458
|
+
"description": "Bad Request",
|
|
210459
|
+
"content": {
|
|
210460
|
+
"application/json": {
|
|
210461
|
+
"schema": {
|
|
210462
|
+
"title": "Basic Error",
|
|
210463
|
+
"description": "Basic Error",
|
|
210464
|
+
"type": "object",
|
|
210465
|
+
"properties": {
|
|
210466
|
+
"message": {
|
|
210467
|
+
"type": "string"
|
|
210468
|
+
},
|
|
210469
|
+
"documentation_url": {
|
|
210470
|
+
"type": "string"
|
|
210471
|
+
},
|
|
210472
|
+
"url": {
|
|
210473
|
+
"type": "string"
|
|
210474
|
+
},
|
|
210475
|
+
"status": {
|
|
210476
|
+
"type": "string"
|
|
210477
|
+
}
|
|
210478
|
+
}
|
|
210479
|
+
}
|
|
210480
|
+
},
|
|
210481
|
+
"application/scim+json": {
|
|
210482
|
+
"schema": {
|
|
210483
|
+
"title": "Scim Error",
|
|
210484
|
+
"description": "Scim Error",
|
|
210485
|
+
"type": "object",
|
|
210486
|
+
"properties": {
|
|
210487
|
+
"message": {
|
|
210488
|
+
"type": "string",
|
|
210489
|
+
"nullable": true
|
|
210490
|
+
},
|
|
210491
|
+
"documentation_url": {
|
|
210492
|
+
"type": "string",
|
|
210493
|
+
"nullable": true
|
|
210494
|
+
},
|
|
210495
|
+
"detail": {
|
|
210496
|
+
"type": "string",
|
|
210497
|
+
"nullable": true
|
|
210498
|
+
},
|
|
210499
|
+
"status": {
|
|
210500
|
+
"type": "integer"
|
|
210501
|
+
},
|
|
210502
|
+
"scimType": {
|
|
210503
|
+
"type": "string",
|
|
210504
|
+
"nullable": true
|
|
210505
|
+
},
|
|
210506
|
+
"schemas": {
|
|
210507
|
+
"type": "array",
|
|
210508
|
+
"items": {
|
|
210509
|
+
"type": "string"
|
|
210510
|
+
}
|
|
210511
|
+
}
|
|
210512
|
+
}
|
|
210513
|
+
}
|
|
210514
|
+
}
|
|
210515
|
+
}
|
|
210516
|
+
},
|
|
210135
210517
|
"401": {
|
|
210136
210518
|
"description": "Requires authentication",
|
|
210137
210519
|
"content": {
|
|
@@ -502176,6 +502558,12 @@
|
|
|
502176
502558
|
"text/plain": {
|
|
502177
502559
|
"schema": {
|
|
502178
502560
|
"type": "string"
|
|
502561
|
+
},
|
|
502562
|
+
"examples": {
|
|
502563
|
+
"default": {
|
|
502564
|
+
"summary": "Example response",
|
|
502565
|
+
"value": "Responsive is better than fast"
|
|
502566
|
+
}
|
|
502179
502567
|
}
|
|
502180
502568
|
}
|
|
502181
502569
|
}
|