Skip to content

Commit

Permalink
feat: publish new GitHub Enterprise Cloud (GHEC) specific `@octokit/o…
Browse files Browse the repository at this point in the history
…penapi-types-ghec` package, plus lots of API changes (#251)

WIP
  • Loading branch information
octokitbot committed Sep 27, 2022
1 parent 0d83e41 commit 2805e56
Show file tree
Hide file tree
Showing 27 changed files with 170,751 additions and 11,381 deletions.
7,638 changes: 2,148 additions & 5,490 deletions cache/api.github.com.json

Large diffs are not rendered by default.

114,840 changes: 114,840 additions & 0 deletions cache/ghec.json

Large diffs are not rendered by default.

86 changes: 70 additions & 16 deletions cache/ghes-3.2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "7.14.0",
"version": "8.0.0",
"title": "GitHub's official OpenAPI spec + Octokit extension",
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
"license": {
Expand Down Expand Up @@ -103,10 +103,6 @@
"name": "migrations",
"description": "Move projects to or from GitHub."
},
{
"name": "oidc",
"description": "Endpoints to manage GitHub OIDC configuration using the REST API."
},
{
"name": "orgs",
"description": "Interact with GitHub Orgs."
Expand Down Expand Up @@ -135,10 +131,6 @@
"name": "repos",
"description": "Interact with GitHub Repos."
},
{
"name": "scim",
"description": "Provisioning of GitHub organization membership for SCIM-enabled providers."
},
{
"name": "search",
"description": "Look for stuff on GitHub."
Expand Down Expand Up @@ -33267,6 +33259,12 @@
}
}
},
"301": {
"$ref": "#/components/responses/moved_permanently"
},
"404": {
"$ref": "#/components/responses/not_found"
},
"410": {
"$ref": "#/components/responses/gone"
}
Expand Down Expand Up @@ -33374,6 +33372,12 @@
}
}
},
"301": {
"$ref": "#/components/responses/moved_permanently"
},
"404": {
"$ref": "#/components/responses/not_found"
},
"410": {
"$ref": "#/components/responses/gone"
},
Expand Down Expand Up @@ -33484,6 +33488,12 @@
}
}
},
"301": {
"$ref": "#/components/responses/moved_permanently"
},
"404": {
"$ref": "#/components/responses/not_found"
},
"410": {
"$ref": "#/components/responses/gone"
},
Expand Down Expand Up @@ -33525,6 +33535,12 @@
"204": {
"description": "Response"
},
"301": {
"$ref": "#/components/responses/moved_permanently"
},
"404": {
"$ref": "#/components/responses/not_found"
},
"410": {
"$ref": "#/components/responses/gone"
}
Expand Down Expand Up @@ -33588,6 +33604,9 @@
}
}
},
"301": {
"$ref": "#/components/responses/moved_permanently"
},
"404": {
"$ref": "#/components/responses/not_found"
},
Expand Down Expand Up @@ -35721,6 +35740,9 @@
"400": {
"$ref": "#/components/responses/bad_request"
},
"409": {
"$ref": "#/components/responses/conflict"
},
"422": {
"$ref": "#/components/responses/validation_failed"
}
Expand Down Expand Up @@ -35758,6 +35780,9 @@
"404": {
"$ref": "#/components/responses/not_found"
},
"409": {
"$ref": "#/components/responses/conflict"
},
"422": {
"$ref": "#/components/responses/validation_failed"
}
Expand Down Expand Up @@ -40406,7 +40431,7 @@
"/repos/{owner}/{repo}/stargazers": {
"get": {
"summary": "List stargazers",
"description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:",
"description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.",
"tags": [
"activity"
],
Expand Down Expand Up @@ -48305,7 +48330,7 @@
"/user/starred": {
"get": {
"summary": "List repositories starred by the authenticated user",
"description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:",
"description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.",
"tags": [
"activity"
],
Expand Down Expand Up @@ -49835,7 +49860,7 @@
"/users/{username}/starred": {
"get": {
"summary": "List repositories starred by a user",
"description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:",
"description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.",
"tags": [
"activity"
],
Expand Down Expand Up @@ -53143,6 +53168,7 @@
"example": 80
},
"size": {
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
"type": "integer",
"example": 108
},
Expand Down Expand Up @@ -56536,6 +56562,7 @@
"example": 80
},
"size": {
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
"type": "integer",
"example": 108
},
Expand Down Expand Up @@ -57318,6 +57345,7 @@
"type": "integer"
},
"size": {
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
"type": "integer"
},
"default_branch": {
Expand Down Expand Up @@ -60219,6 +60247,7 @@
"example": 80
},
"size": {
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
"type": "integer",
"example": 108
},
Expand Down Expand Up @@ -91782,7 +91811,29 @@
},
"secret_type": "adafruit_io_key",
"secret_type_display_name": "Adafruit IO Key",
"secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
"secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"push_protection_bypassed_by": {
"login": "monalisa",
"id": 2,
"node_id": "MDQ6VXNlcjI=",
"avatar_url": "https://alambic.github.com/avatars/u/2?",
"gravatar_id": "",
"url": "https://api.github.com/users/monalisa",
"html_url": "https://github.com/monalisa",
"followers_url": "https://api.github.com/users/monalisa/followers",
"following_url": "https://api.github.com/users/monalisa/following{/other_user}",
"gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/monalisa/subscriptions",
"organizations_url": "https://api.github.com/users/monalisa/orgs",
"repos_url": "https://api.github.com/users/monalisa/repos",
"events_url": "https://api.github.com/users/monalisa/events{/privacy}",
"received_events_url": "https://api.github.com/users/monalisa/received_events",
"type": "User",
"site_admin": true
},
"push_protection_bypassed": true,
"push_protection_bypassed_at": "2020-11-06T21:48:51Z"
},
{
"number": 1,
Expand All @@ -91796,7 +91847,10 @@
"resolved_by": null,
"secret_type": "mailchimp_api_key",
"secret_type_display_name": "Mailchimp API Key",
"secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2"
"secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2",
"push_protection_bypassed_by": null,
"push_protection_bypassed": false,
"push_protection_bypassed_at": null
}
]
},
Expand Down Expand Up @@ -95873,7 +95927,7 @@
}
},
"validation_failed_simple": {
"description": "Validation failed",
"description": "Validation failed, or the endpoint has been spammed.",
"content": {
"application/json": {
"schema": {
Expand All @@ -95898,7 +95952,7 @@
}
},
"validation_failed": {
"description": "Validation failed",
"description": "Validation failed, or the endpoint has been spammed.",
"content": {
"application/json": {
"schema": {
Expand Down
Loading

0 comments on commit 2805e56

Please sign in to comment.