@octokit/openapi 7.5.0 → 7.6.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 +466 -140
  2. package/generated/api.github.com.json +607 -28
  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 +31 -25
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +25 -14
  7. package/generated/ghes-3.2.deref.json +319 -242
  8. package/generated/ghes-3.2.json +558 -26
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +187 -223
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
  12. package/generated/ghes-3.3.deref.json +319 -242
  13. package/generated/ghes-3.3.json +558 -26
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
  16. package/generated/ghes-3.4.deref.json +322 -228
  17. package/generated/ghes-3.4.json +566 -28
  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 +45 -39
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.json +283 -15
  22. package/generated/ghes-3.5.deref.json +322 -228
  23. package/generated/ghes-3.5.json +566 -28
  24. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +433 -88
  25. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +17464 -6423
  26. package/generated/ghes-3.6-diff-to-api.github.com.json +4502 -2247
  27. package/generated/ghes-3.6.deref.json +406 -240
  28. package/generated/ghes-3.6.json +654 -40
  29. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +318 -32
  30. package/generated/github.ae-diff-to-api.github.com.deref.json +15845 -8423
  31. package/generated/github.ae-diff-to-api.github.com.json +1168 -44
  32. package/generated/github.ae.deref.json +409 -163
  33. package/generated/github.ae.json +646 -35
  34. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.5.0",
4
+ "version": "7.6.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": {
@@ -1653,6 +1653,129 @@
1653
1653
  }
1654
1654
  }
1655
1655
  },
1656
+ "/app/installations": {
1657
+ "get": {
1658
+ "summary": "List installations for the authenticated app",
1659
+ "description": "You must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.",
1660
+ "tags": [
1661
+ "apps"
1662
+ ],
1663
+ "operationId": "apps/list-installations",
1664
+ "externalDocs": {
1665
+ "description": "API method documentation",
1666
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/apps#list-installations-for-the-authenticated-app"
1667
+ },
1668
+ "parameters": [
1669
+ {
1670
+ "$ref": "#/components/parameters/per-page"
1671
+ },
1672
+ {
1673
+ "$ref": "#/components/parameters/page"
1674
+ },
1675
+ {
1676
+ "$ref": "#/components/parameters/since"
1677
+ },
1678
+ {
1679
+ "name": "outdated",
1680
+ "in": "query",
1681
+ "required": false,
1682
+ "schema": {
1683
+ "type": "string"
1684
+ }
1685
+ }
1686
+ ],
1687
+ "responses": {
1688
+ "200": {
1689
+ "description": "The permissions the installation has are included under the `permissions` key.",
1690
+ "content": {
1691
+ "application/json": {
1692
+ "schema": {
1693
+ "type": "array",
1694
+ "items": {
1695
+ "$ref": "#/components/schemas/installation"
1696
+ }
1697
+ },
1698
+ "examples": {
1699
+ "default": {
1700
+ "$ref": "#/components/examples/base-installation-items"
1701
+ }
1702
+ }
1703
+ }
1704
+ },
1705
+ "headers": {
1706
+ "Link": {
1707
+ "$ref": "#/components/headers/link"
1708
+ }
1709
+ }
1710
+ }
1711
+ },
1712
+ "x-github": {
1713
+ "githubCloudOnly": false,
1714
+ "enabledForGitHubApps": true,
1715
+ "category": "apps",
1716
+ "subcategory": null
1717
+ },
1718
+ "x-octokit": {
1719
+ "diff": {
1720
+ "api.github.com": {
1721
+ "type": "changed"
1722
+ }
1723
+ }
1724
+ }
1725
+ }
1726
+ },
1727
+ "/app/installations/{installation_id}": {
1728
+ "get": {
1729
+ "summary": "Get an installation for the authenticated app",
1730
+ "description": "Enables an authenticated GitHub App to find an installation's information using the installation id.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
1731
+ "tags": [
1732
+ "apps"
1733
+ ],
1734
+ "operationId": "apps/get-installation",
1735
+ "externalDocs": {
1736
+ "description": "API method documentation",
1737
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/apps#get-an-installation-for-the-authenticated-app"
1738
+ },
1739
+ "parameters": [
1740
+ {
1741
+ "$ref": "#/components/parameters/installation-id"
1742
+ }
1743
+ ],
1744
+ "responses": {
1745
+ "200": {
1746
+ "description": "Response",
1747
+ "content": {
1748
+ "application/json": {
1749
+ "schema": {
1750
+ "$ref": "#/components/schemas/installation"
1751
+ },
1752
+ "examples": {
1753
+ "default": {
1754
+ "$ref": "#/components/examples/base-installation"
1755
+ }
1756
+ }
1757
+ }
1758
+ }
1759
+ },
1760
+ "404": {
1761
+ "$ref": "#/components/responses/not_found"
1762
+ }
1763
+ },
1764
+ "x-github": {
1765
+ "githubCloudOnly": false,
1766
+ "enabledForGitHubApps": true,
1767
+ "category": "apps",
1768
+ "subcategory": null
1769
+ },
1770
+ "x-octokit": {
1771
+ "diff": {
1772
+ "api.github.com": {
1773
+ "type": "changed"
1774
+ }
1775
+ }
1776
+ }
1777
+ }
1778
+ },
1656
1779
  "/app/installations/{installation_id}/access_tokens": {
1657
1780
  "post": {
1658
1781
  "summary": "Create an installation access token for an app",
@@ -1758,6 +1881,163 @@
1758
1881
  }
1759
1882
  }
1760
1883
  },
1884
+ "/applications/{client_id}/token": {
1885
+ "post": {
1886
+ "summary": "Check a token",
1887
+ "description": "OAuth applications can use a special API method for checking OAuth token validity without exceeding the normal rate limits for failed login attempts. Authentication works differently with this particular endpoint. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) to use this endpoint, where the username is the OAuth application `client_id` and the password is its `client_secret`. Invalid tokens will return `404 NOT FOUND`.",
1888
+ "tags": [
1889
+ "apps"
1890
+ ],
1891
+ "operationId": "apps/check-token",
1892
+ "externalDocs": {
1893
+ "description": "API method documentation",
1894
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/apps#check-a-token"
1895
+ },
1896
+ "parameters": [
1897
+ {
1898
+ "$ref": "#/components/parameters/client-id"
1899
+ }
1900
+ ],
1901
+ "requestBody": {
1902
+ "required": true,
1903
+ "content": {
1904
+ "application/json": {
1905
+ "schema": {
1906
+ "properties": {
1907
+ "access_token": {
1908
+ "description": "The access_token of the OAuth application.",
1909
+ "type": "string"
1910
+ }
1911
+ },
1912
+ "required": [
1913
+ "access_token"
1914
+ ],
1915
+ "type": "object"
1916
+ },
1917
+ "examples": {
1918
+ "default": {
1919
+ "value": {
1920
+ "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a"
1921
+ }
1922
+ }
1923
+ }
1924
+ }
1925
+ }
1926
+ },
1927
+ "responses": {
1928
+ "200": {
1929
+ "description": "Response",
1930
+ "content": {
1931
+ "application/json": {
1932
+ "schema": {
1933
+ "$ref": "#/components/schemas/authorization"
1934
+ },
1935
+ "examples": {
1936
+ "default": {
1937
+ "$ref": "#/components/examples/authorization-with-user"
1938
+ }
1939
+ }
1940
+ }
1941
+ }
1942
+ },
1943
+ "404": {
1944
+ "$ref": "#/components/responses/not_found"
1945
+ },
1946
+ "422": {
1947
+ "$ref": "#/components/responses/validation_failed"
1948
+ }
1949
+ },
1950
+ "x-github": {
1951
+ "githubCloudOnly": false,
1952
+ "enabledForGitHubApps": false,
1953
+ "category": "apps",
1954
+ "subcategory": "oauth-applications"
1955
+ },
1956
+ "x-octokit": {
1957
+ "diff": {
1958
+ "api.github.com": {
1959
+ "type": "changed"
1960
+ }
1961
+ }
1962
+ }
1963
+ },
1964
+ "patch": {
1965
+ "summary": "Reset a token",
1966
+ "description": "OAuth applications can use this API method to reset a valid OAuth token without end-user involvement. Applications must save the \"token\" property in the response because changes take effect immediately. You must use [Basic Authentication](https://docs.github.com/github-ae@latest/rest/overview/other-authentication-methods#basic-authentication) when accessing this endpoint, using the OAuth application's `client_id` and `client_secret` as the username and password. Invalid tokens will return `404 NOT FOUND`.",
1967
+ "tags": [
1968
+ "apps"
1969
+ ],
1970
+ "operationId": "apps/reset-token",
1971
+ "externalDocs": {
1972
+ "description": "API method documentation",
1973
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/apps#reset-a-token"
1974
+ },
1975
+ "parameters": [
1976
+ {
1977
+ "$ref": "#/components/parameters/client-id"
1978
+ }
1979
+ ],
1980
+ "requestBody": {
1981
+ "required": true,
1982
+ "content": {
1983
+ "application/json": {
1984
+ "schema": {
1985
+ "properties": {
1986
+ "access_token": {
1987
+ "description": "The access_token of the OAuth application.",
1988
+ "type": "string"
1989
+ }
1990
+ },
1991
+ "required": [
1992
+ "access_token"
1993
+ ],
1994
+ "type": "object"
1995
+ },
1996
+ "examples": {
1997
+ "default": {
1998
+ "value": {
1999
+ "access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a"
2000
+ }
2001
+ }
2002
+ }
2003
+ }
2004
+ }
2005
+ },
2006
+ "responses": {
2007
+ "200": {
2008
+ "description": "Response",
2009
+ "content": {
2010
+ "application/json": {
2011
+ "schema": {
2012
+ "$ref": "#/components/schemas/authorization"
2013
+ },
2014
+ "examples": {
2015
+ "default": {
2016
+ "$ref": "#/components/examples/authorization-with-user"
2017
+ }
2018
+ }
2019
+ }
2020
+ }
2021
+ },
2022
+ "422": {
2023
+ "$ref": "#/components/responses/validation_failed"
2024
+ }
2025
+ },
2026
+ "x-github": {
2027
+ "githubCloudOnly": false,
2028
+ "enabledForGitHubApps": false,
2029
+ "category": "apps",
2030
+ "subcategory": "oauth-applications"
2031
+ },
2032
+ "x-octokit": {
2033
+ "diff": {
2034
+ "api.github.com": {
2035
+ "type": "changed"
2036
+ }
2037
+ }
2038
+ }
2039
+ }
2040
+ },
1761
2041
  "/applications/{client_id}/tokens/{access_token}": {
1762
2042
  "post": {
1763
2043
  "summary": "Reset an authorization",
@@ -4085,6 +4365,130 @@
4085
4365
  }
4086
4366
  }
4087
4367
  },
4368
+ "/orgs/{org}/installation": {
4369
+ "get": {
4370
+ "summary": "Get an organization installation for the authenticated app",
4371
+ "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
4372
+ "tags": [
4373
+ "apps"
4374
+ ],
4375
+ "operationId": "apps/get-org-installation",
4376
+ "externalDocs": {
4377
+ "description": "API method documentation",
4378
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app"
4379
+ },
4380
+ "parameters": [
4381
+ {
4382
+ "$ref": "#/components/parameters/org"
4383
+ }
4384
+ ],
4385
+ "responses": {
4386
+ "200": {
4387
+ "description": "Response",
4388
+ "content": {
4389
+ "application/json": {
4390
+ "schema": {
4391
+ "$ref": "#/components/schemas/installation"
4392
+ },
4393
+ "examples": {
4394
+ "default": {
4395
+ "$ref": "#/components/examples/installation"
4396
+ }
4397
+ }
4398
+ }
4399
+ }
4400
+ }
4401
+ },
4402
+ "x-github": {
4403
+ "githubCloudOnly": false,
4404
+ "enabledForGitHubApps": false,
4405
+ "category": "apps",
4406
+ "subcategory": null
4407
+ },
4408
+ "x-octokit": {
4409
+ "diff": {
4410
+ "api.github.com": {
4411
+ "type": "changed"
4412
+ }
4413
+ }
4414
+ }
4415
+ }
4416
+ },
4417
+ "/orgs/{org}/installations": {
4418
+ "get": {
4419
+ "summary": "List app installations for an organization",
4420
+ "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.",
4421
+ "tags": [
4422
+ "orgs"
4423
+ ],
4424
+ "operationId": "orgs/list-app-installations",
4425
+ "externalDocs": {
4426
+ "description": "API method documentation",
4427
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/orgs#list-app-installations-for-an-organization"
4428
+ },
4429
+ "parameters": [
4430
+ {
4431
+ "$ref": "#/components/parameters/org"
4432
+ },
4433
+ {
4434
+ "$ref": "#/components/parameters/per-page"
4435
+ },
4436
+ {
4437
+ "$ref": "#/components/parameters/page"
4438
+ }
4439
+ ],
4440
+ "responses": {
4441
+ "200": {
4442
+ "description": "Response",
4443
+ "content": {
4444
+ "application/json": {
4445
+ "schema": {
4446
+ "type": "object",
4447
+ "required": [
4448
+ "total_count",
4449
+ "installations"
4450
+ ],
4451
+ "properties": {
4452
+ "total_count": {
4453
+ "type": "integer"
4454
+ },
4455
+ "installations": {
4456
+ "type": "array",
4457
+ "items": {
4458
+ "$ref": "#/components/schemas/installation"
4459
+ }
4460
+ }
4461
+ }
4462
+ },
4463
+ "examples": {
4464
+ "default": {
4465
+ "$ref": "#/components/examples/installation-paginated"
4466
+ }
4467
+ }
4468
+ }
4469
+ },
4470
+ "headers": {
4471
+ "Link": {
4472
+ "$ref": "#/components/headers/link"
4473
+ }
4474
+ }
4475
+ }
4476
+ },
4477
+ "x-github": {
4478
+ "githubCloudOnly": false,
4479
+ "enabledForGitHubApps": true,
4480
+ "category": "orgs",
4481
+ "subcategory": null
4482
+ },
4483
+ "x-octokit": {
4484
+ "diff": {
4485
+ "api.github.com": {
4486
+ "type": "changed"
4487
+ }
4488
+ }
4489
+ }
4490
+ }
4491
+ },
4088
4492
  "/orgs/{org}/issues": {
4089
4493
  "get": {
4090
4494
  "summary": "List organization issues assigned to the authenticated user",
@@ -7300,34 +7704,92 @@
7300
7704
  "content": {
7301
7705
  "application/json": {
7302
7706
  "schema": {
7303
- "$ref": "#/components/schemas/full-repository"
7707
+ "$ref": "#/components/schemas/full-repository"
7708
+ },
7709
+ "examples": {
7710
+ "default": {
7711
+ "$ref": "#/components/examples/full-repository"
7712
+ }
7713
+ }
7714
+ }
7715
+ }
7716
+ },
7717
+ "400": {
7718
+ "$ref": "#/components/responses/bad_request"
7719
+ },
7720
+ "403": {
7721
+ "$ref": "#/components/responses/forbidden"
7722
+ },
7723
+ "404": {
7724
+ "$ref": "#/components/responses/not_found"
7725
+ },
7726
+ "422": {
7727
+ "$ref": "#/components/responses/validation_failed"
7728
+ }
7729
+ },
7730
+ "x-github": {
7731
+ "githubCloudOnly": false,
7732
+ "enabledForGitHubApps": true,
7733
+ "category": "repos",
7734
+ "subcategory": "forks"
7735
+ },
7736
+ "x-octokit": {
7737
+ "diff": {
7738
+ "api.github.com": {
7739
+ "type": "changed"
7740
+ }
7741
+ }
7742
+ }
7743
+ }
7744
+ },
7745
+ "/repos/{owner}/{repo}/installation": {
7746
+ "get": {
7747
+ "summary": "Get a repository installation for the authenticated app",
7748
+ "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
7749
+ "tags": [
7750
+ "apps"
7751
+ ],
7752
+ "operationId": "apps/get-repo-installation",
7753
+ "externalDocs": {
7754
+ "description": "API method documentation",
7755
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app"
7756
+ },
7757
+ "parameters": [
7758
+ {
7759
+ "$ref": "#/components/parameters/owner"
7760
+ },
7761
+ {
7762
+ "$ref": "#/components/parameters/repo"
7763
+ }
7764
+ ],
7765
+ "responses": {
7766
+ "200": {
7767
+ "description": "Response",
7768
+ "content": {
7769
+ "application/json": {
7770
+ "schema": {
7771
+ "$ref": "#/components/schemas/installation"
7304
7772
  },
7305
7773
  "examples": {
7306
7774
  "default": {
7307
- "$ref": "#/components/examples/full-repository"
7775
+ "$ref": "#/components/examples/installation"
7308
7776
  }
7309
7777
  }
7310
7778
  }
7311
7779
  }
7312
7780
  },
7313
- "400": {
7314
- "$ref": "#/components/responses/bad_request"
7315
- },
7316
- "403": {
7317
- "$ref": "#/components/responses/forbidden"
7781
+ "301": {
7782
+ "$ref": "#/components/responses/moved_permanently"
7318
7783
  },
7319
7784
  "404": {
7320
7785
  "$ref": "#/components/responses/not_found"
7321
- },
7322
- "422": {
7323
- "$ref": "#/components/responses/validation_failed"
7324
7786
  }
7325
7787
  },
7326
7788
  "x-github": {
7327
7789
  "githubCloudOnly": false,
7328
- "enabledForGitHubApps": true,
7329
- "category": "repos",
7330
- "subcategory": "forks"
7790
+ "enabledForGitHubApps": false,
7791
+ "category": "apps",
7792
+ "subcategory": null
7331
7793
  },
7332
7794
  "x-octokit": {
7333
7795
  "diff": {
@@ -7446,6 +7908,14 @@
7446
7908
  ]
7447
7909
  }
7448
7910
  }
7911
+ },
7912
+ "examples": {
7913
+ "default": {
7914
+ "summary": "Example request body",
7915
+ "value": {
7916
+ "permissions": "write"
7917
+ }
7918
+ }
7449
7919
  }
7450
7920
  }
7451
7921
  }
@@ -8068,6 +8538,12 @@
8068
8538
  "closed"
8069
8539
  ]
8070
8540
  },
8541
+ "state_reason": {
8542
+ "type": "string",
8543
+ "nullable": true,
8544
+ "description": "The reason for the current state",
8545
+ "example": "not_planned"
8546
+ },
8071
8547
  "milestone": {
8072
8548
  "oneOf": [
8073
8549
  {
@@ -10267,6 +10743,87 @@
10267
10743
  }
10268
10744
  }
10269
10745
  },
10746
+ "/user/installations": {
10747
+ "get": {
10748
+ "summary": "List app installations accessible to the user access token",
10749
+ "description": "Lists installations of your GitHub App that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nYou must use a [user-to-server OAuth access token](https://docs.github.com/github-ae@latest/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#identifying-users-on-your-site), created for a user who has authorized your GitHub App, to access this endpoint.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.\n\nYou can find the permissions for the installation under the `permissions` key.",
10750
+ "tags": [
10751
+ "apps"
10752
+ ],
10753
+ "operationId": "apps/list-installations-for-authenticated-user",
10754
+ "externalDocs": {
10755
+ "description": "API method documentation",
10756
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token"
10757
+ },
10758
+ "parameters": [
10759
+ {
10760
+ "$ref": "#/components/parameters/per-page"
10761
+ },
10762
+ {
10763
+ "$ref": "#/components/parameters/page"
10764
+ }
10765
+ ],
10766
+ "responses": {
10767
+ "200": {
10768
+ "description": "You can find the permissions for the installation under the `permissions` key.",
10769
+ "content": {
10770
+ "application/json": {
10771
+ "schema": {
10772
+ "type": "object",
10773
+ "required": [
10774
+ "total_count",
10775
+ "installations"
10776
+ ],
10777
+ "properties": {
10778
+ "total_count": {
10779
+ "type": "integer"
10780
+ },
10781
+ "installations": {
10782
+ "type": "array",
10783
+ "items": {
10784
+ "$ref": "#/components/schemas/installation"
10785
+ }
10786
+ }
10787
+ }
10788
+ },
10789
+ "examples": {
10790
+ "default": {
10791
+ "$ref": "#/components/examples/base-installation-for-auth-user-paginated"
10792
+ }
10793
+ }
10794
+ }
10795
+ },
10796
+ "headers": {
10797
+ "Link": {
10798
+ "$ref": "#/components/headers/link"
10799
+ }
10800
+ }
10801
+ },
10802
+ "304": {
10803
+ "$ref": "#/components/responses/not_modified"
10804
+ },
10805
+ "401": {
10806
+ "$ref": "#/components/responses/requires_authentication"
10807
+ },
10808
+ "403": {
10809
+ "$ref": "#/components/responses/forbidden"
10810
+ }
10811
+ },
10812
+ "x-github": {
10813
+ "githubCloudOnly": false,
10814
+ "enabledForGitHubApps": false,
10815
+ "category": "apps",
10816
+ "subcategory": "installations"
10817
+ },
10818
+ "x-octokit": {
10819
+ "diff": {
10820
+ "api.github.com": {
10821
+ "type": "changed"
10822
+ }
10823
+ }
10824
+ }
10825
+ }
10826
+ },
10270
10827
  "/user/installations/{installation_id}/repositories": {
10271
10828
  "get": {
10272
10829
  "summary": "List repositories accessible to the user access token",
@@ -11537,6 +12094,55 @@
11537
12094
  }
11538
12095
  }
11539
12096
  },
12097
+ "/users/{username}/installation": {
12098
+ "get": {
12099
+ "summary": "Get a user installation for the authenticated app",
12100
+ "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/github-ae@latest/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.",
12101
+ "tags": [
12102
+ "apps"
12103
+ ],
12104
+ "operationId": "apps/get-user-installation",
12105
+ "externalDocs": {
12106
+ "description": "API method documentation",
12107
+ "url": "https://docs.github.com/github-ae@latest/rest/reference/apps#get-a-user-installation-for-the-authenticated-app"
12108
+ },
12109
+ "parameters": [
12110
+ {
12111
+ "$ref": "#/components/parameters/username"
12112
+ }
12113
+ ],
12114
+ "responses": {
12115
+ "200": {
12116
+ "description": "Response",
12117
+ "content": {
12118
+ "application/json": {
12119
+ "schema": {
12120
+ "$ref": "#/components/schemas/installation"
12121
+ },
12122
+ "examples": {
12123
+ "default": {
12124
+ "$ref": "#/components/examples/installation"
12125
+ }
12126
+ }
12127
+ }
12128
+ }
12129
+ }
12130
+ },
12131
+ "x-github": {
12132
+ "githubCloudOnly": false,
12133
+ "enabledForGitHubApps": false,
12134
+ "category": "apps",
12135
+ "subcategory": null
12136
+ },
12137
+ "x-octokit": {
12138
+ "diff": {
12139
+ "api.github.com": {
12140
+ "type": "changed"
12141
+ }
12142
+ }
12143
+ }
12144
+ }
12145
+ },
11540
12146
  "/users/{username}/repos": {
11541
12147
  "get": {
11542
12148
  "summary": "List repositories for a user",
@@ -11900,6 +12506,16 @@
11900
12506
  "type": "string"
11901
12507
  }
11902
12508
  },
12509
+ "since": {
12510
+ "name": "since",
12511
+ "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.",
12512
+ "in": "query",
12513
+ "required": false,
12514
+ "schema": {
12515
+ "type": "string",
12516
+ "format": "date-time"
12517
+ }
12518
+ },
11903
12519
  "installation-id": {
11904
12520
  "name": "installation_id",
11905
12521
  "description": "The unique identifier of the installation.",
@@ -12003,16 +12619,6 @@
12003
12619
  "type": "string"
12004
12620
  }
12005
12621
  },
12006
- "since": {
12007
- "name": "since",
12008
- "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.",
12009
- "in": "query",
12010
- "required": false,
12011
- "schema": {
12012
- "type": "string",
12013
- "format": "date-time"
12014
- }
12015
- },
12016
12622
  "all": {
12017
12623
  "name": "all",
12018
12624
  "description": "If `true`, show notifications marked as read.",
@@ -12793,7 +13399,137 @@
12793
13399
  "url",
12794
13400
  "created_at",
12795
13401
  "updated_at",
12796
- "expires_at"
13402
+ "expires_at"
13403
+ ]
13404
+ },
13405
+ "installation": {
13406
+ "title": "Installation",
13407
+ "description": "Installation",
13408
+ "type": "object",
13409
+ "properties": {
13410
+ "id": {
13411
+ "description": "The ID of the installation.",
13412
+ "type": "integer",
13413
+ "example": 1
13414
+ },
13415
+ "account": {
13416
+ "nullable": true,
13417
+ "anyOf": [
13418
+ {
13419
+ "$ref": "#/components/schemas/simple-user"
13420
+ },
13421
+ {
13422
+ "$ref": "#/components/schemas/enterprise"
13423
+ }
13424
+ ]
13425
+ },
13426
+ "repository_selection": {
13427
+ "description": "Describe whether all repositories have been selected or there's a selection involved",
13428
+ "type": "string",
13429
+ "enum": [
13430
+ "all",
13431
+ "selected"
13432
+ ]
13433
+ },
13434
+ "access_tokens_url": {
13435
+ "type": "string",
13436
+ "format": "uri",
13437
+ "example": "https://api.github.com/installations/1/access_tokens"
13438
+ },
13439
+ "repositories_url": {
13440
+ "type": "string",
13441
+ "format": "uri",
13442
+ "example": "https://api.github.com/installation/repositories"
13443
+ },
13444
+ "html_url": {
13445
+ "type": "string",
13446
+ "format": "uri",
13447
+ "example": "https://github.com/organizations/github/settings/installations/1"
13448
+ },
13449
+ "app_id": {
13450
+ "type": "integer",
13451
+ "example": 1
13452
+ },
13453
+ "target_id": {
13454
+ "description": "The ID of the user or organization this token is being scoped to.",
13455
+ "type": "integer"
13456
+ },
13457
+ "target_type": {
13458
+ "type": "string",
13459
+ "example": "Organization"
13460
+ },
13461
+ "permissions": {
13462
+ "$ref": "#/components/schemas/app-permissions"
13463
+ },
13464
+ "events": {
13465
+ "type": "array",
13466
+ "items": {
13467
+ "type": "string"
13468
+ }
13469
+ },
13470
+ "created_at": {
13471
+ "type": "string",
13472
+ "format": "date-time"
13473
+ },
13474
+ "updated_at": {
13475
+ "type": "string",
13476
+ "format": "date-time"
13477
+ },
13478
+ "single_file_name": {
13479
+ "type": "string",
13480
+ "example": "config.yaml",
13481
+ "nullable": true
13482
+ },
13483
+ "has_multiple_single_files": {
13484
+ "type": "boolean",
13485
+ "example": true
13486
+ },
13487
+ "single_file_paths": {
13488
+ "type": "array",
13489
+ "items": {
13490
+ "type": "string"
13491
+ },
13492
+ "example": [
13493
+ "config.yml",
13494
+ ".github/issue_TEMPLATE.md"
13495
+ ]
13496
+ },
13497
+ "app_slug": {
13498
+ "type": "string",
13499
+ "example": "github-actions"
13500
+ },
13501
+ "suspended_by": {
13502
+ "$ref": "#/components/schemas/nullable-simple-user"
13503
+ },
13504
+ "suspended_at": {
13505
+ "type": "string",
13506
+ "format": "date-time",
13507
+ "nullable": true
13508
+ },
13509
+ "contact_email": {
13510
+ "type": "string",
13511
+ "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"",
13512
+ "nullable": true
13513
+ }
13514
+ },
13515
+ "required": [
13516
+ "id",
13517
+ "app_id",
13518
+ "app_slug",
13519
+ "target_id",
13520
+ "target_type",
13521
+ "single_file_name",
13522
+ "repository_selection",
13523
+ "access_tokens_url",
13524
+ "html_url",
13525
+ "repositories_url",
13526
+ "events",
13527
+ "account",
13528
+ "permissions",
13529
+ "created_at",
13530
+ "updated_at",
13531
+ "suspended_by",
13532
+ "suspended_at"
12797
13533
  ]
12798
13534
  },
12799
13535
  "app-permissions": {
@@ -12833,14 +13569,6 @@
12833
13569
  "write"
12834
13570
  ]
12835
13571
  },
12836
- "organization_custom_roles": {
12837
- "type": "string",
12838
- "description": "The level of permission to grant the access token for custom roles management.",
12839
- "enum": [
12840
- "read",
12841
- "write"
12842
- ]
12843
- },
12844
13572
  "deployments": {
12845
13573
  "type": "string",
12846
13574
  "description": "The level of permission to grant the access token for deployments and deployment statuses.",
@@ -19010,6 +19738,74 @@
19010
19738
  "url"
19011
19739
  ]
19012
19740
  },
19741
+ "enterprise": {
19742
+ "title": "Enterprise",
19743
+ "description": "An enterprise account",
19744
+ "type": "object",
19745
+ "properties": {
19746
+ "description": {
19747
+ "description": "A short description of the enterprise.",
19748
+ "type": "string",
19749
+ "nullable": true
19750
+ },
19751
+ "html_url": {
19752
+ "type": "string",
19753
+ "format": "uri",
19754
+ "example": "https://github.com/enterprises/octo-business"
19755
+ },
19756
+ "website_url": {
19757
+ "description": "The enterprise's website URL.",
19758
+ "type": "string",
19759
+ "nullable": true,
19760
+ "format": "uri"
19761
+ },
19762
+ "id": {
19763
+ "description": "Unique identifier of the enterprise",
19764
+ "example": 42,
19765
+ "type": "integer"
19766
+ },
19767
+ "node_id": {
19768
+ "type": "string",
19769
+ "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
19770
+ },
19771
+ "name": {
19772
+ "description": "The name of the enterprise.",
19773
+ "type": "string",
19774
+ "example": "Octo Business"
19775
+ },
19776
+ "slug": {
19777
+ "description": "The slug url identifier for the enterprise.",
19778
+ "type": "string",
19779
+ "example": "octo-business"
19780
+ },
19781
+ "created_at": {
19782
+ "type": "string",
19783
+ "nullable": true,
19784
+ "format": "date-time",
19785
+ "example": "2019-01-26T19:01:12Z"
19786
+ },
19787
+ "updated_at": {
19788
+ "type": "string",
19789
+ "nullable": true,
19790
+ "format": "date-time",
19791
+ "example": "2019-01-26T19:14:43Z"
19792
+ },
19793
+ "avatar_url": {
19794
+ "type": "string",
19795
+ "format": "uri"
19796
+ }
19797
+ },
19798
+ "required": [
19799
+ "id",
19800
+ "node_id",
19801
+ "name",
19802
+ "slug",
19803
+ "html_url",
19804
+ "created_at",
19805
+ "updated_at",
19806
+ "avatar_url"
19807
+ ]
19808
+ },
19013
19809
  "basic-error": {
19014
19810
  "title": "Basic Error",
19015
19811
  "description": "Basic Error",
@@ -22212,6 +23008,112 @@
22212
23008
  "fingerprint": ""
22213
23009
  }
22214
23010
  },
23011
+ "base-installation-items": {
23012
+ "value": [
23013
+ {
23014
+ "id": 1,
23015
+ "account": {
23016
+ "login": "octocat",
23017
+ "id": 1,
23018
+ "node_id": "MDQ6VXNlcjE=",
23019
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
23020
+ "gravatar_id": "",
23021
+ "url": "https://api.github.com/users/octocat",
23022
+ "html_url": "https://github.com/octocat",
23023
+ "followers_url": "https://api.github.com/users/octocat/followers",
23024
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
23025
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
23026
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
23027
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
23028
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
23029
+ "repos_url": "https://api.github.com/users/octocat/repos",
23030
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
23031
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
23032
+ "type": "User",
23033
+ "site_admin": false
23034
+ },
23035
+ "access_tokens_url": "https://api.github.com/installations/1/access_tokens",
23036
+ "repositories_url": "https://api.github.com/installation/repositories",
23037
+ "html_url": "https://github.com/organizations/github/settings/installations/1",
23038
+ "app_id": 1,
23039
+ "target_id": 1,
23040
+ "target_type": "Organization",
23041
+ "permissions": {
23042
+ "checks": "write",
23043
+ "metadata": "read",
23044
+ "contents": "read"
23045
+ },
23046
+ "events": [
23047
+ "push",
23048
+ "pull_request"
23049
+ ],
23050
+ "single_file_name": "config.yaml",
23051
+ "has_multiple_single_files": true,
23052
+ "single_file_paths": [
23053
+ "config.yml",
23054
+ ".github/issue_TEMPLATE.md"
23055
+ ],
23056
+ "repository_selection": "selected",
23057
+ "created_at": "2017-07-08T16:18:44-04:00",
23058
+ "updated_at": "2017-07-08T16:18:44-04:00",
23059
+ "app_slug": "github-actions",
23060
+ "suspended_at": null,
23061
+ "suspended_by": null
23062
+ }
23063
+ ]
23064
+ },
23065
+ "base-installation": {
23066
+ "value": {
23067
+ "id": 1,
23068
+ "account": {
23069
+ "login": "octocat",
23070
+ "id": 1,
23071
+ "node_id": "MDQ6VXNlcjE=",
23072
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
23073
+ "gravatar_id": "",
23074
+ "url": "https://api.github.com/users/octocat",
23075
+ "html_url": "https://github.com/octocat",
23076
+ "followers_url": "https://api.github.com/users/octocat/followers",
23077
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
23078
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
23079
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
23080
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
23081
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
23082
+ "repos_url": "https://api.github.com/users/octocat/repos",
23083
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
23084
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
23085
+ "type": "User",
23086
+ "site_admin": false
23087
+ },
23088
+ "access_tokens_url": "https://api.github.com/installations/1/access_tokens",
23089
+ "repositories_url": "https://api.github.com/installation/repositories",
23090
+ "html_url": "https://github.com/organizations/github/settings/installations/1",
23091
+ "app_id": 1,
23092
+ "target_id": 1,
23093
+ "target_type": "Organization",
23094
+ "permissions": {
23095
+ "checks": "write",
23096
+ "metadata": "read",
23097
+ "contents": "read"
23098
+ },
23099
+ "events": [
23100
+ "push",
23101
+ "pull_request"
23102
+ ],
23103
+ "single_file_name": "config.yaml",
23104
+ "has_multiple_single_files": true,
23105
+ "single_file_paths": [
23106
+ "config.yml",
23107
+ ".github/issue_TEMPLATE.md"
23108
+ ],
23109
+ "repository_selection": "selected",
23110
+ "created_at": "2017-07-08T16:18:44-04:00",
23111
+ "updated_at": "2017-07-08T16:18:44-04:00",
23112
+ "app_slug": "github-actions",
23113
+ "suspended_at": null,
23114
+ "suspended_by": null
23115
+ }
23116
+ },
22215
23117
  "installation-token": {
22216
23118
  "value": {
22217
23119
  "token": "ghs_16C7e42F292c6912E7710c838347Ae178B4a",
@@ -23541,6 +24443,116 @@
23541
24443
  ]
23542
24444
  }
23543
24445
  },
24446
+ "installation": {
24447
+ "value": {
24448
+ "id": 1,
24449
+ "account": {
24450
+ "login": "github",
24451
+ "id": 1,
24452
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=",
24453
+ "avatar_url": "https://github.com/images/error/hubot_happy.gif",
24454
+ "gravatar_id": "",
24455
+ "url": "https://api.github.com/orgs/github",
24456
+ "html_url": "https://github.com/github",
24457
+ "followers_url": "https://api.github.com/users/github/followers",
24458
+ "following_url": "https://api.github.com/users/github/following{/other_user}",
24459
+ "gists_url": "https://api.github.com/users/github/gists{/gist_id}",
24460
+ "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
24461
+ "subscriptions_url": "https://api.github.com/users/github/subscriptions",
24462
+ "organizations_url": "https://api.github.com/users/github/orgs",
24463
+ "repos_url": "https://api.github.com/orgs/github/repos",
24464
+ "events_url": "https://api.github.com/orgs/github/events",
24465
+ "received_events_url": "https://api.github.com/users/github/received_events",
24466
+ "type": "Organization",
24467
+ "site_admin": false
24468
+ },
24469
+ "repository_selection": "all",
24470
+ "access_tokens_url": "https://api.github.com/installations/1/access_tokens",
24471
+ "repositories_url": "https://api.github.com/installation/repositories",
24472
+ "html_url": "https://github.com/organizations/github/settings/installations/1",
24473
+ "app_id": 1,
24474
+ "target_id": 1,
24475
+ "target_type": "Organization",
24476
+ "permissions": {
24477
+ "checks": "write",
24478
+ "metadata": "read",
24479
+ "contents": "read"
24480
+ },
24481
+ "events": [
24482
+ "push",
24483
+ "pull_request"
24484
+ ],
24485
+ "created_at": "2018-02-09T20:51:14Z",
24486
+ "updated_at": "2018-02-09T20:51:14Z",
24487
+ "single_file_name": "config.yml",
24488
+ "has_multiple_single_files": true,
24489
+ "single_file_paths": [
24490
+ "config.yml",
24491
+ ".github/issue_TEMPLATE.md"
24492
+ ],
24493
+ "app_slug": "github-actions",
24494
+ "suspended_at": null,
24495
+ "suspended_by": null
24496
+ }
24497
+ },
24498
+ "installation-paginated": {
24499
+ "value": {
24500
+ "total_count": 1,
24501
+ "installations": [
24502
+ {
24503
+ "id": 25381,
24504
+ "account": {
24505
+ "login": "octo-org",
24506
+ "id": 6811672,
24507
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=",
24508
+ "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4",
24509
+ "gravatar_id": "",
24510
+ "url": "https://api.github.com/users/octo-org",
24511
+ "html_url": "https://github.com/octo-org",
24512
+ "followers_url": "https://api.github.com/users/octo-org/followers",
24513
+ "following_url": "https://api.github.com/users/octo-org/following{/other_user}",
24514
+ "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}",
24515
+ "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}",
24516
+ "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions",
24517
+ "organizations_url": "https://api.github.com/users/octo-org/orgs",
24518
+ "repos_url": "https://api.github.com/users/octo-org/repos",
24519
+ "events_url": "https://api.github.com/users/octo-org/events{/privacy}",
24520
+ "received_events_url": "https://api.github.com/users/octo-org/received_events",
24521
+ "type": "Organization",
24522
+ "site_admin": false
24523
+ },
24524
+ "repository_selection": "selected",
24525
+ "access_tokens_url": "https://api.github.com/app/installations/25381/access_tokens",
24526
+ "repositories_url": "https://api.github.com/installation/repositories",
24527
+ "html_url": "https://github.com/organizations/octo-org/settings/installations/25381",
24528
+ "app_id": 2218,
24529
+ "target_id": 6811672,
24530
+ "target_type": "Organization",
24531
+ "permissions": {
24532
+ "deployments": "write",
24533
+ "metadata": "read",
24534
+ "pull_requests": "read",
24535
+ "statuses": "read"
24536
+ },
24537
+ "events": [
24538
+ "deployment",
24539
+ "deployment_status"
24540
+ ],
24541
+ "created_at": "2017-05-16T08:47:09.000-07:00",
24542
+ "updated_at": "2017-06-06T11:23:23.000-07:00",
24543
+ "single_file_name": "config.yml",
24544
+ "has_multiple_single_files": true,
24545
+ "single_file_paths": [
24546
+ "config.yml",
24547
+ ".github/issue_TEMPLATE.md"
24548
+ ],
24549
+ "app_slug": "github-actions",
24550
+ "suspended_at": null,
24551
+ "suspended_by": null
24552
+ }
24553
+ ]
24554
+ }
24555
+ },
23544
24556
  "migration-with-short-org-items": {
23545
24557
  "value": [
23546
24558
  {
@@ -28438,7 +29450,8 @@
28438
29450
  "type": "User",
28439
29451
  "site_admin": false
28440
29452
  },
28441
- "author_association": "COLLABORATOR"
29453
+ "author_association": "COLLABORATOR",
29454
+ "state_reason": "completed"
28442
29455
  }
28443
29456
  ]
28444
29457
  },
@@ -28598,7 +29611,8 @@
28598
29611
  "type": "User",
28599
29612
  "site_admin": false
28600
29613
  },
28601
- "author_association": "COLLABORATOR"
29614
+ "author_association": "COLLABORATOR",
29615
+ "state_reason": "completed"
28602
29616
  }
28603
29617
  },
28604
29618
  "issue-event-items": {
@@ -28766,7 +29780,8 @@
28766
29780
  "closed_at": null,
28767
29781
  "created_at": "2011-04-22T13:33:48Z",
28768
29782
  "updated_at": "2011-04-22T13:33:48Z",
28769
- "author_association": "COLLABORATOR"
29783
+ "author_association": "COLLABORATOR",
29784
+ "state_reason": "completed"
28770
29785
  }
28771
29786
  }
28772
29787
  ]
@@ -28975,7 +29990,8 @@
28975
29990
  "closed_at": null,
28976
29991
  "created_at": "2011-04-22T13:33:48Z",
28977
29992
  "updated_at": "2011-04-22T13:33:48Z",
28978
- "author_association": "COLLABORATOR"
29993
+ "author_association": "COLLABORATOR",
29994
+ "state_reason": "completed"
28979
29995
  }
28980
29996
  }
28981
29997
  },
@@ -30410,7 +31426,8 @@
30410
31426
  "body": "...",
30411
31427
  "score": 1,
30412
31428
  "locked": true,
30413
- "author_association": "COLLABORATOR"
31429
+ "author_association": "COLLABORATOR",
31430
+ "state_reason": "completed"
30414
31431
  }
30415
31432
  ]
30416
31433
  }
@@ -30742,6 +31759,113 @@
30742
31759
  "raw_key": "\"-----BEGIN PGP PUBLIC KEY BLOCK-----\\nVersion: GnuPG v2\\n\\nmQENBFayYZ0BCAC4hScoJXXpyR+MXGcrBxElqw3FzCVvkViuyeko+Jp76QJhg8kr\\nucRTxbnOoHfda/FmilEa/wxf9ch5/PSrrL26FxEoPHhJolp8fnIDLQeITn94NYdB\\nZtnnEKslpPrG97qSUWIchvyqCPtvOb8+8fWvGx9K/ZWcEEdh1X8+WFR2jMENMeoX\\nwxHWQoPnS7LpX/85/M7VUcJxvDVfv+eHsnQupmE5bGarKNih0oMe3LbdN3qA5PTz\\nSCm6Iudar1VsQ+xTz08ymL7t4pnEtLguQ7EyatFHCjxNblv5RzxoL0tDgN3HqoDz\\nc7TEA+q4RtDQl9amcvQ95emnXmZ974u7UkYdABEBAAG0HlNvbWUgVXNlciA8c29t\\nZXVzZXJAZ21haWwuY29tPokBOAQTAQIAIgUCVrJhnQIbAwYLCQgHAwIGFQgCCQoL\\nBBYCAwECHgECF4AACgkQMmLv8lug0nAViQgArWjI55+7p48URr2z9Jvak+yrBTx1\\nzkufltQAnHTJkq+Kl9dySSmTnOop8o3rE4++IOpYV5Y36PkKf9EZMk4n1RQiDPKE\\nAFtRVTkRaoWzOir9KQXJPfhKrl01j/QzY+utfiMvUoBJZ9ybq8Pa885SljW9lbaX\\nIYw+hl8ZdJ2KStvGrEyfQvRyq3aN5c9TV//4BdGnwx7Qabq/U+G18lizG6f/yq15\\ned7t0KELaCfeKPvytp4VE9/z/Ksah/h3+Qilx07/oG2Ae5kC1bEC9coD/ogPUhbv\\nb2bsBIoY9E9YwsLoif2lU+o1t76zLgUktuNscRRUKobW028H1zuFS/XQhrkBDQRW\\nsmGdAQgApnyyv3i144OLYy0O4UKQxd3e10Y3WpDwfnGIBefAI1m7RxnUxBag/DsU\\n7gi9qLEC4VHSfq4eiNfr1LJOyCL2edTgCWFgBhVjbXjZe6YAOrAnhxwCErnN0Y7N\\n6s8wVh9fObSOyf8ZE6G7JeKpcq9Q6gd/KxagfD48a1v+fyRHpyQc6J9pUEmtrDJ7\\nBjmsd2VWzLBvNWdHyxDNtZweIaqIO9VUYYpr1mtTliNBOZLUelmgrt7HBRcJpWMA\\nS8muVVbuP5MK0trLBq/JB8qUH3zRzB/PhMgzmkIfjEK1VYDWm4E8DYyTWEJcHqkb\\neqFsNjrIlwPaA122BWC6gUOPwwH+oQARAQABiQEfBBgBAgAJBQJWsmGdAhsMAAoJ\\nEDJi7/JboNJwAyAIALd4xcdmGbZD98gScJzqwzkOMcO8zFHqHNvJ42xIFvGny7c0\\n1Rx7iyrdypOby5AxE+viQcjG4rpLZW/xKYBNGrCfDyQO7511I0v8x20EICMlMfD/\\nNrWQCzesEPcUlKTP07d+sFyP8AyseOidbzY/92CpskTgdSBjY/ntLSaoknl/fjJE\\nQM8OkPqU7IraO1Jzzdnm20d5PZL9+PIwIWdSTedU/vBMTJyNcoqvSfKf1wNC66XP\\nhqfYgXJE564AdWZKA3C0IyCqiv+LHwxLnUHio1a4/r91C8KPzxs6tGxRDjXLd7ms\\nuYFGWymiUGOE/giHlcxdYcHzwLnPDliMQOLiTkK5AQ0EVuxMygEIAOD+bW1cDTmE\\nBxh5JECoqeHuwgl6DlLhnubWPkQ4ZeRzBRAsFcEJQlwlJjrzFDicL+lnm6Qq4tt0\\n560TwHdf15/AKTZIZu7H25axvGNzgeaUkJEJdYAq9zTKWwX7wKyzBszi485nQg97\\nMfAqwhMpDW0Qqf8+7Ug+WEmfBSGv9uL3aQC6WEeIsHfri0n0n8v4XgwhfShXguxO\\nCsOztEsuW7WWKW9P4TngKKv4lCHdPlV6FwxeMzODBJvc2fkHVHnqc0PqszJ5xcF8\\n6gZCpMM027SbpeYWCAD5zwJyYP9ntfO1p2HjnQ1dZaP9FeNcO7uIV1Lnd1eGCu6I\\nsrVp5k1f3isAEQEAAYkCPgQYAQIACQUCVuxMygIbAgEpCRAyYu/yW6DScMBdIAQZ\\nAQIABgUCVuxMygAKCRCKohN4dhq2b4tcCACHxmOHVXNpu47OvUGYQydLgMACUlXN\\nlj+HfE0VReqShxdDmpasAY9IRpuMB2RsGK8GbNP+4SlOlAiPf5SMhS7nZNkNDgQQ\\naZ3HFpgrFmFwmE10BKT4iQtoxELLM57z0qGOAfTsEjWFQa4sF+6IHAQR/ptkdkkI\\nBUEXiMnAwVwBysLIJiLO8qdjB6qp52QkT074JVrwywT/P+DkMfC2k4r/AfEbf6eF\\ndmPDuPk6KD87+hJZsSa5MaMUBQVvRO/mgEkhJRITVu58eWGaBOcQJ8gqurhCqM5P\\nDfUA4TJ7wiqM6sS764vV1rOioTTXkszzhClQqET7hPVnVQjenYgv0EZHNyQH/1f1\\n/CYqvV1vFjM9vJjMbxXsATCkZe6wvBVKD8vLsJAr8N+onKQz+4OPc3kmKq7aESu3\\nCi/iuie5KKVwnuNhr9AzT61vEkKxwHcVFEvHB77F6ZAAInhRvjzmQbD2dlPLLQCC\\nqDj71ODSSAPTEmUy6969bgD9PfWei7kNkBIx7s3eBv8yzytSc2EcuUgopqFazquw\\nFs1+tqGHjBvQfTo6bqbJjp/9Ci2pvde3ElV2rAgUlb3lqXyXjRDqrXosh5GcRPQj\\nK8Nhj1BNhnrCVskE4BP0LYbOHuzgm86uXwGCFsY+w2VOsSm16Jx5GHyG5S5WU3+D\\nIts/HFYRLiFgDLmTlxo=\\n=+OzK\\n-----END PGP PUBLIC KEY BLOCK-----\""
30743
31760
  }
30744
31761
  },
31762
+ "base-installation-for-auth-user-paginated": {
31763
+ "value": {
31764
+ "total_count": 2,
31765
+ "installations": [
31766
+ {
31767
+ "id": 1,
31768
+ "account": {
31769
+ "login": "octocat",
31770
+ "id": 1,
31771
+ "node_id": "MDQ6VXNlcjE=",
31772
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
31773
+ "gravatar_id": "",
31774
+ "url": "https://api.github.com/users/octocat",
31775
+ "html_url": "https://github.com/octocat",
31776
+ "followers_url": "https://api.github.com/users/octocat/followers",
31777
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
31778
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
31779
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
31780
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
31781
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
31782
+ "repos_url": "https://api.github.com/users/octocat/repos",
31783
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
31784
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
31785
+ "type": "User",
31786
+ "site_admin": false
31787
+ },
31788
+ "access_tokens_url": "https://api.github.com/installations/1/access_tokens",
31789
+ "repositories_url": "https://api.github.com/installation/repositories",
31790
+ "html_url": "https://github.com/organizations/github/settings/installations/1",
31791
+ "app_id": 1,
31792
+ "target_id": 1,
31793
+ "target_type": "Organization",
31794
+ "permissions": {
31795
+ "checks": "write",
31796
+ "metadata": "read",
31797
+ "contents": "read"
31798
+ },
31799
+ "events": [
31800
+ "push",
31801
+ "pull_request"
31802
+ ],
31803
+ "single_file_name": "config.yaml",
31804
+ "has_multiple_single_files": true,
31805
+ "single_file_paths": [
31806
+ "config.yml",
31807
+ ".github/issue_TEMPLATE.md"
31808
+ ],
31809
+ "repository_selection": "all",
31810
+ "created_at": "2017-07-08T16:18:44-04:00",
31811
+ "updated_at": "2017-07-08T16:18:44-04:00",
31812
+ "app_slug": "github-actions",
31813
+ "suspended_at": null,
31814
+ "suspended_by": null
31815
+ },
31816
+ {
31817
+ "id": 3,
31818
+ "account": {
31819
+ "login": "octocat",
31820
+ "id": 2,
31821
+ "node_id": "MDQ6VXNlcjE=",
31822
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
31823
+ "gravatar_id": "",
31824
+ "url": "https://api.github.com/users/octocat",
31825
+ "html_url": "https://github.com/octocat",
31826
+ "followers_url": "https://api.github.com/users/octocat/followers",
31827
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
31828
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
31829
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
31830
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
31831
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
31832
+ "repos_url": "https://api.github.com/users/octocat/repos",
31833
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
31834
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
31835
+ "type": "User",
31836
+ "site_admin": false
31837
+ },
31838
+ "access_tokens_url": "https://api.github.com/installations/1/access_tokens",
31839
+ "repositories_url": "https://api.github.com/installation/repositories",
31840
+ "html_url": "https://github.com/organizations/github/settings/installations/1",
31841
+ "app_id": 1,
31842
+ "target_id": 1,
31843
+ "target_type": "Organization",
31844
+ "permissions": {
31845
+ "checks": "write",
31846
+ "metadata": "read",
31847
+ "contents": "read"
31848
+ },
31849
+ "events": [
31850
+ "push",
31851
+ "pull_request"
31852
+ ],
31853
+ "single_file_name": "config.yaml",
31854
+ "has_multiple_single_files": true,
31855
+ "single_file_paths": [
31856
+ "config.yml",
31857
+ ".github/issue_TEMPLATE.md"
31858
+ ],
31859
+ "repository_selection": "all",
31860
+ "created_at": "2017-07-08T16:18:44-04:00",
31861
+ "updated_at": "2017-07-08T16:18:44-04:00",
31862
+ "app_slug": "github-actions",
31863
+ "suspended_at": null,
31864
+ "suspended_by": null
31865
+ }
31866
+ ]
31867
+ }
31868
+ },
30745
31869
  "migration-items": {
30746
31870
  "value": [
30747
31871
  {
@@ -31493,8 +32617,8 @@
31493
32617
  }
31494
32618
  },
31495
32619
  "responses": {
31496
- "requires_authentication": {
31497
- "description": "Requires authentication",
32620
+ "not_found": {
32621
+ "description": "Resource not found",
31498
32622
  "content": {
31499
32623
  "application/json": {
31500
32624
  "schema": {
@@ -31503,8 +32627,8 @@
31503
32627
  }
31504
32628
  }
31505
32629
  },
31506
- "forbidden": {
31507
- "description": "Forbidden",
32630
+ "requires_authentication": {
32631
+ "description": "Requires authentication",
31508
32632
  "content": {
31509
32633
  "application/json": {
31510
32634
  "schema": {
@@ -31513,8 +32637,8 @@
31513
32637
  }
31514
32638
  }
31515
32639
  },
31516
- "not_found": {
31517
- "description": "Resource not found",
32640
+ "forbidden": {
32641
+ "description": "Forbidden",
31518
32642
  "content": {
31519
32643
  "application/json": {
31520
32644
  "schema": {