@octokit/openapi 7.12.1 → 7.13.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.
Files changed (34) hide show
  1. package/generated/api.github.com.deref.json +713 -6
  2. package/generated/api.github.com.json +283 -4
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +2 -2
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +2 -2
  7. package/generated/ghes-3.2.deref.json +6 -6
  8. package/generated/ghes-3.2.json +4 -4
  9. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +2 -2
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.json +2 -2
  11. package/generated/ghes-3.3.deref.json +6 -6
  12. package/generated/ghes-3.3.json +4 -4
  13. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  15. package/generated/ghes-3.4.deref.json +6 -6
  16. package/generated/ghes-3.4.json +4 -4
  17. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +11 -0
  18. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  19. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +2 -2
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.json +2 -2
  22. package/generated/ghes-3.5.deref.json +112 -6
  23. package/generated/ghes-3.5.json +110 -4
  24. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +6 -11
  25. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +1 -1
  26. package/generated/ghes-3.6-diff-to-api.github.com.json +1 -1
  27. package/generated/ghes-3.6.deref.json +761 -112
  28. package/generated/ghes-3.6.json +527 -110
  29. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +6 -0
  30. package/generated/github.ae-diff-to-api.github.com.deref.json +2 -2
  31. package/generated/github.ae-diff-to-api.github.com.json +2 -2
  32. package/generated/github.ae.deref.json +50 -6
  33. package/generated/github.ae.json +48 -4
  34. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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": {
@@ -13516,6 +13516,122 @@
13516
13516
  "x-octokit": {}
13517
13517
  }
13518
13518
  },
13519
+ "/orgs/{org}/external-group/{group_id}": {
13520
+ "get": {
13521
+ "summary": "Get an external group",
13522
+ "description": "Displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-server@3.6/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.",
13523
+ "tags": [
13524
+ "teams"
13525
+ ],
13526
+ "operationId": "teams/external-idp-group-info-for-org",
13527
+ "externalDocs": {
13528
+ "description": "API method documentation",
13529
+ "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#external-idp-group-info-for-an-organization"
13530
+ },
13531
+ "parameters": [
13532
+ {
13533
+ "$ref": "#/components/parameters/org"
13534
+ },
13535
+ {
13536
+ "$ref": "#/components/parameters/group-id"
13537
+ }
13538
+ ],
13539
+ "responses": {
13540
+ "200": {
13541
+ "description": "Response",
13542
+ "content": {
13543
+ "application/json": {
13544
+ "schema": {
13545
+ "$ref": "#/components/schemas/external-group"
13546
+ },
13547
+ "examples": {
13548
+ "default": {
13549
+ "$ref": "#/components/examples/external-group"
13550
+ }
13551
+ }
13552
+ }
13553
+ }
13554
+ }
13555
+ },
13556
+ "x-github": {
13557
+ "githubCloudOnly": true,
13558
+ "enabledForGitHubApps": true,
13559
+ "category": "teams",
13560
+ "subcategory": "external-groups"
13561
+ },
13562
+ "x-octokit": {}
13563
+ }
13564
+ },
13565
+ "/orgs/{org}/external-groups": {
13566
+ "get": {
13567
+ "summary": "List external groups in an organization",
13568
+ "description": "Lists external groups available in an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub Enterprise Server generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see \"[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89).\"\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-server@3.6/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.",
13569
+ "tags": [
13570
+ "teams"
13571
+ ],
13572
+ "operationId": "teams/list-external-idp-groups-for-org",
13573
+ "externalDocs": {
13574
+ "description": "API method documentation",
13575
+ "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-external-idp-groups-for-an-organization"
13576
+ },
13577
+ "parameters": [
13578
+ {
13579
+ "$ref": "#/components/parameters/org"
13580
+ },
13581
+ {
13582
+ "$ref": "#/components/parameters/per-page"
13583
+ },
13584
+ {
13585
+ "name": "page",
13586
+ "description": "Page token",
13587
+ "in": "query",
13588
+ "schema": {
13589
+ "type": "integer"
13590
+ }
13591
+ },
13592
+ {
13593
+ "name": "display_name",
13594
+ "description": "Limits the list to groups containing the text in the group name",
13595
+ "in": "query",
13596
+ "schema": {
13597
+ "type": "string"
13598
+ }
13599
+ }
13600
+ ],
13601
+ "responses": {
13602
+ "200": {
13603
+ "description": "Response",
13604
+ "content": {
13605
+ "application/json": {
13606
+ "schema": {
13607
+ "$ref": "#/components/schemas/external-groups"
13608
+ },
13609
+ "examples": {
13610
+ "default": {
13611
+ "$ref": "#/components/examples/external-groups"
13612
+ }
13613
+ }
13614
+ }
13615
+ },
13616
+ "headers": {
13617
+ "Link": {
13618
+ "example": "<https://api.github.com/resource?per_page=2&page=url-encoded-next-page-token>; rel=\"next\"",
13619
+ "schema": {
13620
+ "type": "string"
13621
+ }
13622
+ }
13623
+ }
13624
+ }
13625
+ },
13626
+ "x-github": {
13627
+ "githubCloudOnly": true,
13628
+ "enabledForGitHubApps": true,
13629
+ "category": "teams",
13630
+ "subcategory": "external-groups"
13631
+ },
13632
+ "x-octokit": {}
13633
+ }
13634
+ },
13519
13635
  "/orgs/{org}/hooks": {
13520
13636
  "get": {
13521
13637
  "summary": "List organization webhooks",
@@ -17774,6 +17890,155 @@
17774
17890
  "x-octokit": {}
17775
17891
  }
17776
17892
  },
17893
+ "/orgs/{org}/teams/{team_slug}/external-groups": {
17894
+ "get": {
17895
+ "summary": "List a connection between an external group and a team",
17896
+ "description": "Lists a connection between a team and an external group.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-server@3.6/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.",
17897
+ "tags": [
17898
+ "teams"
17899
+ ],
17900
+ "operationId": "teams/list-linked-external-idp-groups-to-team-for-org",
17901
+ "externalDocs": {
17902
+ "description": "API method documentation",
17903
+ "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#list-external-idp-group-team-connection"
17904
+ },
17905
+ "parameters": [
17906
+ {
17907
+ "$ref": "#/components/parameters/org"
17908
+ },
17909
+ {
17910
+ "$ref": "#/components/parameters/team-slug"
17911
+ }
17912
+ ],
17913
+ "responses": {
17914
+ "200": {
17915
+ "description": "Response",
17916
+ "content": {
17917
+ "application/json": {
17918
+ "schema": {
17919
+ "$ref": "#/components/schemas/external-groups"
17920
+ },
17921
+ "examples": {
17922
+ "default": {
17923
+ "$ref": "#/components/examples/external-groups"
17924
+ }
17925
+ }
17926
+ }
17927
+ }
17928
+ }
17929
+ },
17930
+ "x-github": {
17931
+ "githubCloudOnly": true,
17932
+ "enabledForGitHubApps": true,
17933
+ "category": "teams",
17934
+ "subcategory": "external-groups"
17935
+ },
17936
+ "x-octokit": {}
17937
+ },
17938
+ "patch": {
17939
+ "summary": "Update the connection between an external group and a team",
17940
+ "description": "Creates a connection between a team and an external group. Only one external group can be linked to a team.\n\nYou can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see \"[GitHub's products](https://docs.github.com/enterprise-server@3.6/github/getting-started-with-github/githubs-products)\" in the GitHub Help documentation.",
17941
+ "tags": [
17942
+ "teams"
17943
+ ],
17944
+ "operationId": "teams/link-external-idp-group-to-team-for-org",
17945
+ "externalDocs": {
17946
+ "description": "API method documentation",
17947
+ "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#link-external-idp-group-team-connection"
17948
+ },
17949
+ "parameters": [
17950
+ {
17951
+ "$ref": "#/components/parameters/org"
17952
+ },
17953
+ {
17954
+ "$ref": "#/components/parameters/team-slug"
17955
+ }
17956
+ ],
17957
+ "requestBody": {
17958
+ "required": true,
17959
+ "content": {
17960
+ "application/json": {
17961
+ "schema": {
17962
+ "type": "object",
17963
+ "properties": {
17964
+ "group_id": {
17965
+ "type": "integer",
17966
+ "description": "External Group Id",
17967
+ "example": 1
17968
+ }
17969
+ },
17970
+ "required": [
17971
+ "group_id"
17972
+ ]
17973
+ },
17974
+ "examples": {
17975
+ "default": {
17976
+ "value": {
17977
+ "group_id": 123
17978
+ }
17979
+ }
17980
+ }
17981
+ }
17982
+ }
17983
+ },
17984
+ "responses": {
17985
+ "200": {
17986
+ "description": "Response",
17987
+ "content": {
17988
+ "application/json": {
17989
+ "schema": {
17990
+ "$ref": "#/components/schemas/external-group"
17991
+ },
17992
+ "examples": {
17993
+ "default": {
17994
+ "$ref": "#/components/examples/external-group"
17995
+ }
17996
+ }
17997
+ }
17998
+ }
17999
+ }
18000
+ },
18001
+ "x-github": {
18002
+ "githubCloudOnly": true,
18003
+ "enabledForGitHubApps": false,
18004
+ "category": "teams",
18005
+ "subcategory": "external-groups"
18006
+ },
18007
+ "x-octokit": {}
18008
+ },
18009
+ "delete": {
18010
+ "summary": "Remove the connection between an external group and a team",
18011
+ "description": "Deletes a connection between a team and an external group.\n\nYou can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.6/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.",
18012
+ "tags": [
18013
+ "teams"
18014
+ ],
18015
+ "operationId": "teams/unlink-external-idp-group-from-team-for-org",
18016
+ "externalDocs": {
18017
+ "description": "API method documentation",
18018
+ "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/teams#unlink-external-idp-group-team-connection"
18019
+ },
18020
+ "parameters": [
18021
+ {
18022
+ "$ref": "#/components/parameters/org"
18023
+ },
18024
+ {
18025
+ "$ref": "#/components/parameters/team-slug"
18026
+ }
18027
+ ],
18028
+ "responses": {
18029
+ "204": {
18030
+ "description": "Response"
18031
+ }
18032
+ },
18033
+ "x-github": {
18034
+ "githubCloudOnly": true,
18035
+ "enabledForGitHubApps": false,
18036
+ "category": "teams",
18037
+ "subcategory": "external-groups"
18038
+ },
18039
+ "x-octokit": {}
18040
+ }
18041
+ },
17777
18042
  "/orgs/{org}/teams/{team_slug}/members": {
17778
18043
  "get": {
17779
18044
  "summary": "List team members",
@@ -30588,7 +30853,7 @@
30588
30853
  },
30589
30854
  "put": {
30590
30855
  "summary": "Create or update file contents",
30591
- "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
30856
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.6/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
30592
30857
  "tags": [
30593
30858
  "repos"
30594
30859
  ],
@@ -30767,7 +31032,7 @@
30767
31032
  },
30768
31033
  "delete": {
30769
31034
  "summary": "Delete a file",
30770
- "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
31035
+ "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.6/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
30771
31036
  "tags": [
30772
31037
  "repos"
30773
31038
  ],
@@ -54620,50 +54885,6 @@
54620
54885
  }
54621
54886
  }
54622
54887
  },
54623
- "/orgs/{org}/external-group/{group_id}": {
54624
- "get": {
54625
- "summary": "Get an external group",
54626
- "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
54627
- "tags": [
54628
- "teams"
54629
- ],
54630
- "operationId": "teams/external-idp-group-info-for-org",
54631
- "externalDocs": {
54632
- "description": "API method documentation",
54633
- "url": "https://docs.github.com/rest/reference/teams#external-idp-group-info-for-an-organization"
54634
- },
54635
- "x-octokit": {
54636
- "api.github.com": "removed"
54637
- },
54638
- "responses": {
54639
- "501": {
54640
- "description": "Not Implemented"
54641
- }
54642
- }
54643
- }
54644
- },
54645
- "/orgs/{org}/external-groups": {
54646
- "get": {
54647
- "summary": "List external groups in an organization",
54648
- "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
54649
- "tags": [
54650
- "teams"
54651
- ],
54652
- "operationId": "teams/list-external-idp-groups-for-org",
54653
- "externalDocs": {
54654
- "description": "API method documentation",
54655
- "url": "https://docs.github.com/rest/reference/teams#list-external-idp-groups-for-an-organization"
54656
- },
54657
- "x-octokit": {
54658
- "api.github.com": "removed"
54659
- },
54660
- "responses": {
54661
- "501": {
54662
- "description": "Not Implemented"
54663
- }
54664
- }
54665
- }
54666
- },
54667
54888
  "/orgs/{org}/failed_invitations": {
54668
54889
  "get": {
54669
54890
  "summary": "List failed organization invitations",
@@ -55310,68 +55531,6 @@
55310
55531
  }
55311
55532
  }
55312
55533
  },
55313
- "/orgs/{org}/teams/{team_slug}/external-groups": {
55314
- "get": {
55315
- "summary": "List a connection between an external group and a team",
55316
- "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
55317
- "tags": [
55318
- "teams"
55319
- ],
55320
- "operationId": "teams/list-linked-external-idp-groups-to-team-for-org",
55321
- "externalDocs": {
55322
- "description": "API method documentation",
55323
- "url": "https://docs.github.com/rest/reference/teams#list-external-idp-group-team-connection"
55324
- },
55325
- "x-octokit": {
55326
- "api.github.com": "removed"
55327
- },
55328
- "responses": {
55329
- "501": {
55330
- "description": "Not Implemented"
55331
- }
55332
- }
55333
- },
55334
- "delete": {
55335
- "summary": "Remove the connection between an external group and a team",
55336
- "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
55337
- "tags": [
55338
- "teams"
55339
- ],
55340
- "operationId": "teams/unlink-external-idp-group-from-team-for-org",
55341
- "externalDocs": {
55342
- "description": "API method documentation",
55343
- "url": "https://docs.github.com/rest/reference/teams#unlink-external-idp-group-team-connection"
55344
- },
55345
- "x-octokit": {
55346
- "api.github.com": "removed"
55347
- },
55348
- "responses": {
55349
- "501": {
55350
- "description": "Not Implemented"
55351
- }
55352
- }
55353
- },
55354
- "patch": {
55355
- "summary": "Update the connection between an external group and a team",
55356
- "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
55357
- "tags": [
55358
- "teams"
55359
- ],
55360
- "operationId": "teams/link-external-idp-group-to-team-for-org",
55361
- "externalDocs": {
55362
- "description": "API method documentation",
55363
- "url": "https://docs.github.com/rest/reference/teams#link-external-idp-group-team-connection"
55364
- },
55365
- "x-octokit": {
55366
- "api.github.com": "removed"
55367
- },
55368
- "responses": {
55369
- "501": {
55370
- "description": "Not Implemented"
55371
- }
55372
- }
55373
- }
55374
- },
55375
55534
  "/orgs/{org}/teams/{team_slug}/invitations": {
55376
55535
  "get": {
55377
55536
  "summary": "List pending team invitations",
@@ -55672,6 +55831,50 @@
55672
55831
  }
55673
55832
  }
55674
55833
  },
55834
+ "/repos/{owner}/{repo}/code-scanning/codeql/databases": {
55835
+ "get": {
55836
+ "summary": "List CodeQL databases for a repository",
55837
+ "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
55838
+ "tags": [
55839
+ "code-scanning"
55840
+ ],
55841
+ "operationId": "code-scanning/list-codeql-databases",
55842
+ "externalDocs": {
55843
+ "description": "API method documentation",
55844
+ "url": "https://docs.github.com/rest/reference/code-scanning#list-codeql-databases"
55845
+ },
55846
+ "x-octokit": {
55847
+ "api.github.com": "removed"
55848
+ },
55849
+ "responses": {
55850
+ "501": {
55851
+ "description": "Not Implemented"
55852
+ }
55853
+ }
55854
+ }
55855
+ },
55856
+ "/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": {
55857
+ "get": {
55858
+ "summary": "Get a CodeQL database for a repository",
55859
+ "description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
55860
+ "tags": [
55861
+ "code-scanning"
55862
+ ],
55863
+ "operationId": "code-scanning/get-codeql-database",
55864
+ "externalDocs": {
55865
+ "description": "API method documentation",
55866
+ "url": "https://docs.github.com/rest/reference/code-scanning#get-codeql-database"
55867
+ },
55868
+ "x-octokit": {
55869
+ "api.github.com": "removed"
55870
+ },
55871
+ "responses": {
55872
+ "501": {
55873
+ "description": "Not Implemented"
55874
+ }
55875
+ }
55876
+ }
55877
+ },
55675
55878
  "/repos/{owner}/{repo}/codespaces": {
55676
55879
  "get": {
55677
55880
  "summary": "List codespaces in a repository for the authenticated user",
@@ -66646,6 +66849,164 @@
66646
66849
  "key"
66647
66850
  ]
66648
66851
  },
66852
+ "external-group": {
66853
+ "title": "ExternalGroup",
66854
+ "description": "Information about an external group's usage and its members",
66855
+ "type": "object",
66856
+ "required": [
66857
+ "group_id",
66858
+ "group_name",
66859
+ "teams",
66860
+ "members"
66861
+ ],
66862
+ "properties": {
66863
+ "group_id": {
66864
+ "description": "The internal ID of the group",
66865
+ "example": 1,
66866
+ "type": "integer"
66867
+ },
66868
+ "group_name": {
66869
+ "description": "The display name for the group",
66870
+ "example": "group-azuread-test",
66871
+ "type": "string"
66872
+ },
66873
+ "updated_at": {
66874
+ "description": "The date when the group was last updated_at",
66875
+ "example": "2021-01-03 22:27:15:000 -700",
66876
+ "type": "string"
66877
+ },
66878
+ "teams": {
66879
+ "description": "An array of teams linked to this group",
66880
+ "example": [
66881
+ {
66882
+ "team_id": 1,
66883
+ "team_name": "team-test"
66884
+ },
66885
+ {
66886
+ "team_id": 2,
66887
+ "team_name": "team-test2"
66888
+ }
66889
+ ],
66890
+ "type": "array",
66891
+ "items": {
66892
+ "type": "object",
66893
+ "required": [
66894
+ "team_id",
66895
+ "team_name"
66896
+ ],
66897
+ "properties": {
66898
+ "team_id": {
66899
+ "description": "The id for a team",
66900
+ "example": 1,
66901
+ "type": "integer"
66902
+ },
66903
+ "team_name": {
66904
+ "description": "The name of the team",
66905
+ "example": "team-test",
66906
+ "type": "string"
66907
+ }
66908
+ }
66909
+ }
66910
+ },
66911
+ "members": {
66912
+ "description": "An array of external members linked to this group",
66913
+ "example": [
66914
+ {
66915
+ "member_id": 1,
66916
+ "member_login": "mona-lisa_eocsaxrs",
66917
+ "member_name": "Mona Lisa",
66918
+ "member_email": "mona_lisa@github.com"
66919
+ },
66920
+ {
66921
+ "member_id": 2,
66922
+ "member_login": "octo-lisa_eocsaxrs",
66923
+ "member_name": "Octo Lisa",
66924
+ "member_email": "octo_lisa@github.com"
66925
+ }
66926
+ ],
66927
+ "type": "array",
66928
+ "items": {
66929
+ "type": "object",
66930
+ "required": [
66931
+ "member_id",
66932
+ "member_login",
66933
+ "member_name",
66934
+ "member_email"
66935
+ ],
66936
+ "properties": {
66937
+ "member_id": {
66938
+ "description": "The internal user ID of the identity",
66939
+ "example": 1,
66940
+ "type": "integer"
66941
+ },
66942
+ "member_login": {
66943
+ "description": "The handle/login for the user",
66944
+ "example": "mona-lisa_eocsaxrs",
66945
+ "type": "string"
66946
+ },
66947
+ "member_name": {
66948
+ "description": "The user display name/profile name",
66949
+ "example": "Mona Lisa",
66950
+ "type": "string"
66951
+ },
66952
+ "member_email": {
66953
+ "description": "An email attached to a user",
66954
+ "example": "mona_lisa@github.com",
66955
+ "type": "string"
66956
+ }
66957
+ }
66958
+ }
66959
+ }
66960
+ }
66961
+ },
66962
+ "external-groups": {
66963
+ "title": "ExternalGroups",
66964
+ "description": "A list of external groups available to be connected to a team",
66965
+ "type": "object",
66966
+ "properties": {
66967
+ "groups": {
66968
+ "description": "An array of external groups available to be mapped to a team",
66969
+ "example": [
66970
+ {
66971
+ "group_id": 1,
66972
+ "group_name": "group-azuread-test",
66973
+ "updated_at": "2021-01-03 22:27:15:000 -700"
66974
+ },
66975
+ {
66976
+ "group_id": 2,
66977
+ "group_name": "group-azuread-test2",
66978
+ "updated_at": "2021-06-03 22:27:15:000 -700"
66979
+ }
66980
+ ],
66981
+ "type": "array",
66982
+ "items": {
66983
+ "type": "object",
66984
+ "required": [
66985
+ "group_id",
66986
+ "group_name",
66987
+ "updated_at"
66988
+ ],
66989
+ "properties": {
66990
+ "group_id": {
66991
+ "description": "The internal ID of the group",
66992
+ "example": 1,
66993
+ "type": "integer"
66994
+ },
66995
+ "group_name": {
66996
+ "description": "The display name of the group",
66997
+ "example": "group-azuread-test",
66998
+ "type": "string"
66999
+ },
67000
+ "updated_at": {
67001
+ "description": "The time of the last update for this group",
67002
+ "example": "2019-06-03 22:27:15:000 -700",
67003
+ "type": "string"
67004
+ }
67005
+ }
67006
+ }
67007
+ }
67008
+ }
67009
+ },
66649
67010
  "org-hook": {
66650
67011
  "title": "Org Hook",
66651
67012
  "description": "Org Hook",
@@ -89014,6 +89375,53 @@
89014
89375
  }
89015
89376
  ]
89016
89377
  },
89378
+ "external-group": {
89379
+ "value": {
89380
+ "group_id": "123",
89381
+ "group_name": "Octocat admins",
89382
+ "updated_at": "2021-01-24T11:31:04-06:00",
89383
+ "teams": [
89384
+ {
89385
+ "team_id": 1,
89386
+ "team_name": "team-test"
89387
+ },
89388
+ {
89389
+ "team_id": 2,
89390
+ "team_name": "team-test2"
89391
+ }
89392
+ ],
89393
+ "members": [
89394
+ {
89395
+ "member_id": 1,
89396
+ "member_login": "mona-lisa_eocsaxrs",
89397
+ "member_name": "Mona Lisa",
89398
+ "member_email": "mona_lisa@github.com"
89399
+ },
89400
+ {
89401
+ "member_id": 2,
89402
+ "member_login": "octo-lisa_eocsaxrs",
89403
+ "member_name": "Octo Lisa",
89404
+ "member_email": "octo_lisa@github.com"
89405
+ }
89406
+ ]
89407
+ }
89408
+ },
89409
+ "external-groups": {
89410
+ "value": {
89411
+ "groups": [
89412
+ {
89413
+ "group_id": "123",
89414
+ "group_name": "Octocat admins",
89415
+ "updated_at": "2021-01-24T11:31:04-06:00"
89416
+ },
89417
+ {
89418
+ "group_id": "456",
89419
+ "group_name": "Octocat docs members",
89420
+ "updated_at": "2021-03-24T11:31:04-06:00"
89421
+ }
89422
+ ]
89423
+ }
89424
+ },
89017
89425
  "org-hook-items": {
89018
89426
  "value": [
89019
89427
  {
@@ -106194,6 +106602,15 @@
106194
106602
  "$ref": "#/components/schemas/code-scanning-analysis-tool-guid"
106195
106603
  }
106196
106604
  },
106605
+ "group-id": {
106606
+ "name": "group_id",
106607
+ "description": "The unique identifier of the group.",
106608
+ "in": "path",
106609
+ "required": true,
106610
+ "schema": {
106611
+ "type": "integer"
106612
+ }
106613
+ },
106197
106614
  "migration-id": {
106198
106615
  "name": "migration_id",
106199
106616
  "description": "The unique identifier of the migration.",
@@ -106957,7 +107374,7 @@
106957
107374
  }
106958
107375
  },
106959
107376
  "code_scanning_forbidden_write": {
106960
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
107377
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
106961
107378
  "content": {
106962
107379
  "application/json": {
106963
107380
  "schema": {