Skip to content

Commit

Permalink
feat: new merge group endpoints, description updates, GHES 3.9 support (
Browse files Browse the repository at this point in the history
#315)

WIP
  • Loading branch information
octokitbot authored May 16, 2023
1 parent fae5b39 commit 9f12a72
Show file tree
Hide file tree
Showing 27 changed files with 405,061 additions and 7,584 deletions.
374 changes: 236 additions & 138 deletions cache/api.github.com.json

Large diffs are not rendered by default.

424 changes: 260 additions & 164 deletions cache/ghec.json

Large diffs are not rendered by default.

82 changes: 60 additions & 22 deletions cache/ghes-3.5.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"version": "11.1.2",
"version": "11.2.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 @@ -38891,7 +38891,7 @@
"/repos/{owner}/{repo}/pages": {
"get": {
"summary": "Get a GitHub Enterprise Server Pages site",
"description": "",
"description": "Gets information about a GitHub Enterprise Server Pages site.\n\nA token with the `repo` scope is required. GitHub Apps must have the `pages:read` permission.",
"tags": [
"repos"
],
Expand Down Expand Up @@ -39236,7 +39236,7 @@
"/repos/{owner}/{repo}/pages/builds": {
"get": {
"summary": "List GitHub Enterprise Server Pages builds",
"description": "",
"description": "Lists builts of a GitHub Enterprise Server Pages site.\n\nA token with the `repo` scope is required. GitHub Apps must have the `pages:read` permission.",
"tags": [
"repos"
],
Expand Down Expand Up @@ -39338,7 +39338,7 @@
"/repos/{owner}/{repo}/pages/builds/latest": {
"get": {
"summary": "Get latest Pages build",
"description": "",
"description": "Gets information about the single most recent build of a GitHub Enterprise Server Pages site.\n\nA token with the `repo` scope is required. GitHub Apps must have the `pages:read` permission.",
"tags": [
"repos"
],
Expand Down Expand Up @@ -39383,7 +39383,7 @@
"/repos/{owner}/{repo}/pages/builds/{build_id}": {
"get": {
"summary": "Get GitHub Enterprise Server Pages build",
"description": "",
"description": "Gets information about a GitHub Enterprise Server Pages build.\n\nA token with the `repo` scope is required. GitHub Apps must have the `pages:read` permission.",
"tags": [
"repos"
],
Expand Down Expand Up @@ -41215,7 +41215,7 @@
"/repos/{owner}/{repo}/pulls/{pull_number}/merge": {
"get": {
"summary": "Check if a pull request has been merged",
"description": "",
"description": "Checks if a pull request has been merged into the base branch. The HTTP status of the response indicates whether or not the pull request has been merged; the response body is empty.",
"tags": [
"pulls"
],
Expand Down Expand Up @@ -41253,7 +41253,7 @@
},
"put": {
"summary": "Merge a pull request",
"description": "This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.5/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
"description": "Merges a pull request into the base branch.\nThis endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.5/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. See \"[Secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#secondary-rate-limits)\" and \"[Dealing with secondary rate limits](https://docs.github.com/enterprise-server@3.5/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limits)\" for details.",
"tags": [
"pulls"
],
Expand Down Expand Up @@ -41550,7 +41550,7 @@
},
"delete": {
"summary": "Remove requested reviewers from a pull request",
"description": "",
"description": "Removes review requests from a pull request for a given set of users and/or teams.",
"tags": [
"pulls"
],
Expand Down Expand Up @@ -41848,7 +41848,7 @@
"/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": {
"get": {
"summary": "Get a review for a pull request",
"description": "",
"description": "Retrieves a pull request review by its ID.",
"tags": [
"pulls"
],
Expand Down Expand Up @@ -41980,7 +41980,7 @@
},
"delete": {
"summary": "Delete a pending review for a pull request",
"description": "",
"description": "Deletes a pull request review that has not been submitted. Submitted reviews cannot be deleted.",
"tags": [
"pulls"
],
Expand Down Expand Up @@ -66297,26 +66297,39 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"description": "SHA for the commit",
"example": "7638417db6d59f3c431d3e1f261cc637155684cd"
},
"tree_id": {
"type": "string"
"type": "string",
"description": "SHA for the commit's tree"
},
"message": {
"description": "Message describing the purpose of the commit",
"example": "Fix #42",
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
"description": "Timestamp of the commit",
"example": "2014-08-09T08:02:04+12:00",
"format": "date-time",
"type": "string"
},
"author": {
"type": "object",
"description": "Information about the Git author",
"properties": {
"name": {
"description": "Name of the commit's author",
"example": "Monalisa Octocat",
"type": "string"
},
"email": {
"type": "string"
"description": "Git email address of the commit's author",
"example": "monalisa.octocat@example.com",
"type": "string",
"format": "email"
}
},
"required": [
Expand All @@ -66327,12 +66340,18 @@
},
"committer": {
"type": "object",
"description": "Information about the Git committer",
"properties": {
"name": {
"description": "Name of the commit's committer",
"example": "Monalisa Octocat",
"type": "string"
},
"email": {
"type": "string"
"description": "Git email address of the commit's committer",
"example": "monalisa.octocat@example.com",
"type": "string",
"format": "email"
}
},
"required": [
Expand Down Expand Up @@ -68406,26 +68425,39 @@
"type": "object",
"properties": {
"id": {
"type": "string"
"type": "string",
"description": "SHA for the commit",
"example": "7638417db6d59f3c431d3e1f261cc637155684cd"
},
"tree_id": {
"type": "string"
"type": "string",
"description": "SHA for the commit's tree"
},
"message": {
"description": "Message describing the purpose of the commit",
"example": "Fix #42",
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
"description": "Timestamp of the commit",
"example": "2014-08-09T08:02:04+12:00",
"format": "date-time",
"type": "string"
},
"author": {
"type": "object",
"description": "Information about the Git author",
"properties": {
"name": {
"description": "Name of the commit's author",
"example": "Monalisa Octocat",
"type": "string"
},
"email": {
"type": "string"
"description": "Git email address of the commit's author",
"example": "monalisa.octocat@example.com",
"type": "string",
"format": "email"
}
},
"required": [
Expand All @@ -68436,12 +68468,18 @@
},
"committer": {
"type": "object",
"description": "Information about the Git committer",
"properties": {
"name": {
"description": "Name of the commit's committer",
"example": "Monalisa Octocat",
"type": "string"
},
"email": {
"type": "string"
"description": "Git email address of the commit's committer",
"example": "monalisa.octocat@example.com",
"type": "string",
"format": "email"
}
},
"required": [
Expand Down
Loading

0 comments on commit 9f12a72

Please sign in to comment.