diff --git a/lib/rest/static/decorated/ghec.2022-11-28.json b/lib/rest/static/decorated/ghec.2022-11-28.json
index c3b56d0c2f..574c441600 100644
--- a/lib/rest/static/decorated/ghec.2022-11-28.json
+++ b/lib/rest/static/decorated/ghec.2022-11-28.json
@@ -229989,7 +229989,6 @@
"org1:Owner",
"org2:Owner"
],
- "github_com_enterprise_role": "owner",
"github_com_enterprise_roles": [
"owner"
],
@@ -230093,13 +230092,6 @@
"type": "string"
}
},
- "github_com_enterprise_role": {
- "type": [
- "string",
- "null"
- ],
- "description": "Deprecated: The most permissive enterprise role for a user."
- },
"github_com_enterprise_roles": {
"type": "array",
"description": "All enterprise roles for a user.",
@@ -230161,7 +230153,7 @@
}
],
"previews": [],
- "descriptionHTML": "
Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the read:enterprise scope.
\nNote: The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.
",
+ "descriptionHTML": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the read:enterprise scope.
",
"statusCodes": [
{
"httpStatusCode": "200",
diff --git a/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json b/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json
index f70e5ffb38..d12aaf1978 100644
--- a/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json
+++ b/lib/rest/static/dereferenced/api.github.com.2022-11-28.deref.json
@@ -814255,2183 +814255,6 @@
}
}
},
- "package-v2-create": {
- "post": {
- "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.",
- "description": "A package was created.",
- "operationId": "package-v2/create",
- "externalDocs": {
- "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package-v2"
- },
- "parameters": [
- {
- "name": "User-Agent",
- "in": "header",
- "example": "GitHub-Hookshot/123abc",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Id",
- "in": "header",
- "example": 12312312,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Event",
- "in": "header",
- "example": "issues",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Id",
- "in": "header",
- "example": 123123,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Type",
- "in": "header",
- "example": "repository",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-GitHub-Delivery",
- "in": "header",
- "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Hub-Signature-256",
- "in": "header",
- "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "action": {
- "type": "string",
- "enum": [
- "create"
- ]
- },
- "enterprise": {
- "title": "Enterprise",
- "description": "An enterprise on GitHub.",
- "type": "object",
- "properties": {
- "description": {
- "description": "A short description of the enterprise.",
- "type": [
- "string",
- "null"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/enterprises/octo-business"
- ]
- },
- "website_url": {
- "description": "The enterprise's website URL.",
- "type": [
- "string",
- "null"
- ],
- "format": "uri"
- },
- "id": {
- "description": "Unique identifier of the enterprise",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the enterprise.",
- "type": "string",
- "examples": [
- "Octo Business"
- ]
- },
- "slug": {
- "description": "The slug url identifier for the enterprise.",
- "type": "string",
- "examples": [
- "octo-business"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:14:43Z"
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "id",
- "node_id",
- "name",
- "slug",
- "html_url",
- "created_at",
- "updated_at",
- "avatar_url"
- ]
- },
- "installation": {
- "title": "Simple Installation",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.",
- "type": "object",
- "properties": {
- "id": {
- "description": "The ID of the installation.",
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "description": "The global node ID of the installation.",
- "type": "string",
- "examples": [
- "MDQ6VXNlcjU4MzIzMQ=="
- ]
- }
- },
- "required": [
- "id",
- "node_id"
- ]
- },
- "organization": {
- "title": "Organization Simple",
- "description": "A GitHub organization.",
- "type": "object",
- "properties": {
- "login": {
- "type": "string",
- "examples": [
- "github"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEyOk9yZ2FuaXphdGlvbjE="
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/events"
- ]
- },
- "hooks_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/hooks"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/issues"
- ]
- },
- "members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/members{/member}"
- ]
- },
- "public_members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/public_members{/member}"
- ]
- },
- "avatar_url": {
- "type": "string",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "A great organization"
- ]
- }
- },
- "required": [
- "login",
- "url",
- "id",
- "node_id",
- "repos_url",
- "events_url",
- "hooks_url",
- "issues_url",
- "members_url",
- "public_members_url",
- "avatar_url",
- "description"
- ]
- },
- "package": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "ecosystem": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "namespace": {
- "type": "string"
- },
- "package_version": {
- "type": "object",
- "properties": {
- "blob_store": {
- "type": "string"
- },
- "container_metadata": {
- "type": "object",
- "properties": {
- "labels": {
- "type": "object",
- "properties": {
- "all_labels": {
- "type": "object",
- "properties": {
- "com.github.base_image.id": {
- "type": "string"
- },
- "com.github.base_image.repo_digest": {
- "type": "string"
- },
- "com.github.repo.branch": {
- "type": "string"
- },
- "ghes.licenses.path": {
- "type": "string"
- },
- "org.opencontainers.image.created": {
- "type": "string"
- },
- "org.opencontainers.image.description": {
- "type": "string"
- },
- "org.opencontainers.image.documentation": {
- "type": "string"
- },
- "org.opencontainers.image.revision": {
- "type": "string"
- },
- "org.opencontainers.image.source": {
- "type": "string"
- }
- }
- },
- "description": {
- "type": "string"
- },
- "image_url": {
- "type": "string"
- },
- "licenses": {
- "type": "string"
- },
- "revision": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "description",
- "source",
- "revision",
- "image_url",
- "licenses",
- "all_labels"
- ]
- },
- "manifest": {
- "type": "object",
- "properties": {
- "config": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- },
- "digest": {
- "type": "string"
- },
- "layers": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- }
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "uri": {
- "type": "string"
- }
- },
- "required": [
- "digest",
- "media_type",
- "uri",
- "size",
- "config",
- "layers"
- ]
- },
- "tag": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "digest"
- ]
- }
- },
- "required": [
- "tag",
- "labels",
- "manifest"
- ]
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "blob_store",
- "html_url",
- "created_at",
- "updated_at"
- ]
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "namespace",
- "description",
- "ecosystem",
- "html_url",
- "created_at",
- "updated_at",
- "package_version"
- ]
- },
- "repository": {
- "title": "Repository",
- "description": "A repository on GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "examples": [
- "Team Environment"
- ]
- },
- "full_name": {
- "type": "string",
- "examples": [
- "octocat/Hello-World"
- ]
- },
- "license": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "examples": [
- "mit"
- ]
- },
- "name": {
- "type": "string",
- "examples": [
- "MIT License"
- ]
- },
- "url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://api.github.com/licenses/mit"
- ]
- },
- "spdx_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "MIT"
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDc6TGljZW5zZW1pdA=="
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ]
- }
- ]
- },
- "organization": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- ]
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat/Hello-World"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "This your first repo!"
- ]
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/repos/octocat/Hello-World"
- ]
- },
- "archive_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- ]
- },
- "assignees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- ]
- },
- "blobs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- ]
- },
- "branches_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- ]
- },
- "collaborators_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- ]
- },
- "comments_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- ]
- },
- "commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- ]
- },
- "compare_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- ]
- },
- "contents_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- ]
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contributors"
- ]
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/deployments"
- ]
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/downloads"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/events"
- ]
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/forks"
- ]
- },
- "git_commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- ]
- },
- "git_refs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- ]
- },
- "git_tags_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- ]
- },
- "git_url": {
- "type": "string",
- "examples": [
- "git:github.com/octocat/Hello-World.git"
- ]
- },
- "issue_comment_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- ]
- },
- "issue_events_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- ]
- },
- "keys_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- ]
- },
- "labels_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- ]
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/languages"
- ]
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/merges"
- ]
- },
- "milestones_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- ]
- },
- "notifications_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- ]
- },
- "pulls_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- ]
- },
- "releases_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- ]
- },
- "ssh_url": {
- "type": "string",
- "examples": [
- "git@github.com:octocat/Hello-World.git"
- ]
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/stargazers"
- ]
- },
- "statuses_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- ]
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscribers"
- ]
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscription"
- ]
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/tags"
- ]
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/teams"
- ]
- },
- "trees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- ]
- },
- "clone_url": {
- "type": "string",
- "examples": [
- "https://github.com/octocat/Hello-World.git"
- ]
- },
- "mirror_url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "git:git.example.com/octocat/Hello-World"
- ]
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/hooks"
- ]
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://svn.github.com/octocat/Hello-World"
- ]
- },
- "homepage": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://github.com"
- ]
- },
- "language": {
- "type": [
- "string",
- "null"
- ]
- },
- "forks_count": {
- "type": "integer",
- "examples": [
- 9
- ]
- },
- "stargazers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "watchers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "size": {
- "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
- "type": "integer",
- "examples": [
- 108
- ]
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "examples": [
- "master"
- ]
- },
- "open_issues_count": {
- "type": "integer",
- "examples": [
- 0
- ]
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_discussions": {
- "description": "Whether discussions are enabled.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:06:43Z"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:14:43Z"
- ]
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "template_repository": {
- "type": [
- "object",
- "null"
- ],
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean"
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "allow_update_branch": {
- "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean",
- "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
- "default": false,
- "deprecated": true
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "web_commit_signoff_required": {
- "description": "Whether to require contributors to sign off on web-based commits",
- "default": false,
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:42Z\""
- ]
- },
- "anonymous_access_enabled": {
- "type": "boolean",
- "description": "Whether anonymous git access is enabled for this repository"
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ]
- },
- "sender": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- },
- "required": [
- "action",
- "package",
- "organization",
- "sender"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "Return a 200 status to indicate that the data was received successfully"
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "category": "webhooks",
- "subcategory": "package-v2",
- "supported-webhook-types": [
- "repository",
- "organization",
- "app"
- ]
- }
- }
- },
"page-build": {
"post": {
"summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.",
diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json
index f70e5ffb38..d12aaf1978 100644
--- a/lib/rest/static/dereferenced/api.github.com.deref.json
+++ b/lib/rest/static/dereferenced/api.github.com.deref.json
@@ -814255,2183 +814255,6 @@
}
}
},
- "package-v2-create": {
- "post": {
- "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.",
- "description": "A package was created.",
- "operationId": "package-v2/create",
- "externalDocs": {
- "url": "https://docs.github.com/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package-v2"
- },
- "parameters": [
- {
- "name": "User-Agent",
- "in": "header",
- "example": "GitHub-Hookshot/123abc",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Id",
- "in": "header",
- "example": 12312312,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Event",
- "in": "header",
- "example": "issues",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Id",
- "in": "header",
- "example": 123123,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Type",
- "in": "header",
- "example": "repository",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-GitHub-Delivery",
- "in": "header",
- "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Hub-Signature-256",
- "in": "header",
- "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "action": {
- "type": "string",
- "enum": [
- "create"
- ]
- },
- "enterprise": {
- "title": "Enterprise",
- "description": "An enterprise on GitHub.",
- "type": "object",
- "properties": {
- "description": {
- "description": "A short description of the enterprise.",
- "type": [
- "string",
- "null"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/enterprises/octo-business"
- ]
- },
- "website_url": {
- "description": "The enterprise's website URL.",
- "type": [
- "string",
- "null"
- ],
- "format": "uri"
- },
- "id": {
- "description": "Unique identifier of the enterprise",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the enterprise.",
- "type": "string",
- "examples": [
- "Octo Business"
- ]
- },
- "slug": {
- "description": "The slug url identifier for the enterprise.",
- "type": "string",
- "examples": [
- "octo-business"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:14:43Z"
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "id",
- "node_id",
- "name",
- "slug",
- "html_url",
- "created_at",
- "updated_at",
- "avatar_url"
- ]
- },
- "installation": {
- "title": "Simple Installation",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.",
- "type": "object",
- "properties": {
- "id": {
- "description": "The ID of the installation.",
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "description": "The global node ID of the installation.",
- "type": "string",
- "examples": [
- "MDQ6VXNlcjU4MzIzMQ=="
- ]
- }
- },
- "required": [
- "id",
- "node_id"
- ]
- },
- "organization": {
- "title": "Organization Simple",
- "description": "A GitHub organization.",
- "type": "object",
- "properties": {
- "login": {
- "type": "string",
- "examples": [
- "github"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEyOk9yZ2FuaXphdGlvbjE="
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/events"
- ]
- },
- "hooks_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/hooks"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/issues"
- ]
- },
- "members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/members{/member}"
- ]
- },
- "public_members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/public_members{/member}"
- ]
- },
- "avatar_url": {
- "type": "string",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "A great organization"
- ]
- }
- },
- "required": [
- "login",
- "url",
- "id",
- "node_id",
- "repos_url",
- "events_url",
- "hooks_url",
- "issues_url",
- "members_url",
- "public_members_url",
- "avatar_url",
- "description"
- ]
- },
- "package": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "ecosystem": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "namespace": {
- "type": "string"
- },
- "package_version": {
- "type": "object",
- "properties": {
- "blob_store": {
- "type": "string"
- },
- "container_metadata": {
- "type": "object",
- "properties": {
- "labels": {
- "type": "object",
- "properties": {
- "all_labels": {
- "type": "object",
- "properties": {
- "com.github.base_image.id": {
- "type": "string"
- },
- "com.github.base_image.repo_digest": {
- "type": "string"
- },
- "com.github.repo.branch": {
- "type": "string"
- },
- "ghes.licenses.path": {
- "type": "string"
- },
- "org.opencontainers.image.created": {
- "type": "string"
- },
- "org.opencontainers.image.description": {
- "type": "string"
- },
- "org.opencontainers.image.documentation": {
- "type": "string"
- },
- "org.opencontainers.image.revision": {
- "type": "string"
- },
- "org.opencontainers.image.source": {
- "type": "string"
- }
- }
- },
- "description": {
- "type": "string"
- },
- "image_url": {
- "type": "string"
- },
- "licenses": {
- "type": "string"
- },
- "revision": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "description",
- "source",
- "revision",
- "image_url",
- "licenses",
- "all_labels"
- ]
- },
- "manifest": {
- "type": "object",
- "properties": {
- "config": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- },
- "digest": {
- "type": "string"
- },
- "layers": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- }
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "uri": {
- "type": "string"
- }
- },
- "required": [
- "digest",
- "media_type",
- "uri",
- "size",
- "config",
- "layers"
- ]
- },
- "tag": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "digest"
- ]
- }
- },
- "required": [
- "tag",
- "labels",
- "manifest"
- ]
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "blob_store",
- "html_url",
- "created_at",
- "updated_at"
- ]
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "namespace",
- "description",
- "ecosystem",
- "html_url",
- "created_at",
- "updated_at",
- "package_version"
- ]
- },
- "repository": {
- "title": "Repository",
- "description": "A repository on GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "examples": [
- "Team Environment"
- ]
- },
- "full_name": {
- "type": "string",
- "examples": [
- "octocat/Hello-World"
- ]
- },
- "license": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "examples": [
- "mit"
- ]
- },
- "name": {
- "type": "string",
- "examples": [
- "MIT License"
- ]
- },
- "url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://api.github.com/licenses/mit"
- ]
- },
- "spdx_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "MIT"
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDc6TGljZW5zZW1pdA=="
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ]
- }
- ]
- },
- "organization": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- ]
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat/Hello-World"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "This your first repo!"
- ]
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/repos/octocat/Hello-World"
- ]
- },
- "archive_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- ]
- },
- "assignees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- ]
- },
- "blobs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- ]
- },
- "branches_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- ]
- },
- "collaborators_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- ]
- },
- "comments_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- ]
- },
- "commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- ]
- },
- "compare_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- ]
- },
- "contents_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- ]
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contributors"
- ]
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/deployments"
- ]
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/downloads"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/events"
- ]
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/forks"
- ]
- },
- "git_commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- ]
- },
- "git_refs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- ]
- },
- "git_tags_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- ]
- },
- "git_url": {
- "type": "string",
- "examples": [
- "git:github.com/octocat/Hello-World.git"
- ]
- },
- "issue_comment_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- ]
- },
- "issue_events_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- ]
- },
- "keys_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- ]
- },
- "labels_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- ]
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/languages"
- ]
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/merges"
- ]
- },
- "milestones_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- ]
- },
- "notifications_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- ]
- },
- "pulls_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- ]
- },
- "releases_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- ]
- },
- "ssh_url": {
- "type": "string",
- "examples": [
- "git@github.com:octocat/Hello-World.git"
- ]
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/stargazers"
- ]
- },
- "statuses_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- ]
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscribers"
- ]
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscription"
- ]
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/tags"
- ]
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/teams"
- ]
- },
- "trees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- ]
- },
- "clone_url": {
- "type": "string",
- "examples": [
- "https://github.com/octocat/Hello-World.git"
- ]
- },
- "mirror_url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "git:git.example.com/octocat/Hello-World"
- ]
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/hooks"
- ]
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://svn.github.com/octocat/Hello-World"
- ]
- },
- "homepage": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://github.com"
- ]
- },
- "language": {
- "type": [
- "string",
- "null"
- ]
- },
- "forks_count": {
- "type": "integer",
- "examples": [
- 9
- ]
- },
- "stargazers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "watchers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "size": {
- "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
- "type": "integer",
- "examples": [
- 108
- ]
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "examples": [
- "master"
- ]
- },
- "open_issues_count": {
- "type": "integer",
- "examples": [
- 0
- ]
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_discussions": {
- "description": "Whether discussions are enabled.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:06:43Z"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:14:43Z"
- ]
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "template_repository": {
- "type": [
- "object",
- "null"
- ],
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean"
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "allow_update_branch": {
- "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean",
- "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
- "default": false,
- "deprecated": true
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "web_commit_signoff_required": {
- "description": "Whether to require contributors to sign off on web-based commits",
- "default": false,
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:42Z\""
- ]
- },
- "anonymous_access_enabled": {
- "type": "boolean",
- "description": "Whether anonymous git access is enabled for this repository"
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ]
- },
- "sender": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- },
- "required": [
- "action",
- "package",
- "organization",
- "sender"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "Return a 200 status to indicate that the data was received successfully"
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "category": "webhooks",
- "subcategory": "package-v2",
- "supported-webhook-types": [
- "repository",
- "organization",
- "app"
- ]
- }
- }
- },
"page-build": {
"post": {
"summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.",
diff --git a/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json b/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json
index d3fa4252d4..814158ad45 100644
--- a/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json
+++ b/lib/rest/static/dereferenced/ghec.2022-11-28.deref.json
@@ -22757,7 +22757,7 @@
"/enterprises/{enterprise}/consumed-licenses": {
"get": {
"summary": "List enterprise consumed licenses",
- "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\n**Note:** The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.",
+ "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.",
"tags": [
"enterprise-admin"
],
@@ -22857,13 +22857,6 @@
"type": "string"
}
},
- "github_com_enterprise_role": {
- "type": [
- "string",
- "null"
- ],
- "description": "Deprecated: The most permissive enterprise role for a user."
- },
"github_com_enterprise_roles": {
"type": "array",
"description": "All enterprise roles for a user.",
@@ -22943,7 +22936,6 @@
"org1:Owner",
"org2:Owner"
],
- "github_com_enterprise_role": "owner",
"github_com_enterprise_roles": [
"owner"
],
@@ -821477,2183 +821469,6 @@
}
}
},
- "package-v2-create": {
- "post": {
- "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.",
- "description": "A package was created.",
- "operationId": "package-v2/create",
- "externalDocs": {
- "url": "https://docs.github.com/enterprise-cloud@latest//developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package-v2"
- },
- "parameters": [
- {
- "name": "User-Agent",
- "in": "header",
- "example": "GitHub-Hookshot/123abc",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Id",
- "in": "header",
- "example": 12312312,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Event",
- "in": "header",
- "example": "issues",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Id",
- "in": "header",
- "example": 123123,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Type",
- "in": "header",
- "example": "repository",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-GitHub-Delivery",
- "in": "header",
- "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Hub-Signature-256",
- "in": "header",
- "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "action": {
- "type": "string",
- "enum": [
- "create"
- ]
- },
- "enterprise": {
- "title": "Enterprise",
- "description": "An enterprise on GitHub.",
- "type": "object",
- "properties": {
- "description": {
- "description": "A short description of the enterprise.",
- "type": [
- "string",
- "null"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/enterprises/octo-business"
- ]
- },
- "website_url": {
- "description": "The enterprise's website URL.",
- "type": [
- "string",
- "null"
- ],
- "format": "uri"
- },
- "id": {
- "description": "Unique identifier of the enterprise",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the enterprise.",
- "type": "string",
- "examples": [
- "Octo Business"
- ]
- },
- "slug": {
- "description": "The slug url identifier for the enterprise.",
- "type": "string",
- "examples": [
- "octo-business"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:14:43Z"
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "id",
- "node_id",
- "name",
- "slug",
- "html_url",
- "created_at",
- "updated_at",
- "avatar_url"
- ]
- },
- "installation": {
- "title": "Simple Installation",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.",
- "type": "object",
- "properties": {
- "id": {
- "description": "The ID of the installation.",
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "description": "The global node ID of the installation.",
- "type": "string",
- "examples": [
- "MDQ6VXNlcjU4MzIzMQ=="
- ]
- }
- },
- "required": [
- "id",
- "node_id"
- ]
- },
- "organization": {
- "title": "Organization Simple",
- "description": "A GitHub organization.",
- "type": "object",
- "properties": {
- "login": {
- "type": "string",
- "examples": [
- "github"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEyOk9yZ2FuaXphdGlvbjE="
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/events"
- ]
- },
- "hooks_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/hooks"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/issues"
- ]
- },
- "members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/members{/member}"
- ]
- },
- "public_members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/public_members{/member}"
- ]
- },
- "avatar_url": {
- "type": "string",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "A great organization"
- ]
- }
- },
- "required": [
- "login",
- "url",
- "id",
- "node_id",
- "repos_url",
- "events_url",
- "hooks_url",
- "issues_url",
- "members_url",
- "public_members_url",
- "avatar_url",
- "description"
- ]
- },
- "package": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "ecosystem": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "namespace": {
- "type": "string"
- },
- "package_version": {
- "type": "object",
- "properties": {
- "blob_store": {
- "type": "string"
- },
- "container_metadata": {
- "type": "object",
- "properties": {
- "labels": {
- "type": "object",
- "properties": {
- "all_labels": {
- "type": "object",
- "properties": {
- "com.github.base_image.id": {
- "type": "string"
- },
- "com.github.base_image.repo_digest": {
- "type": "string"
- },
- "com.github.repo.branch": {
- "type": "string"
- },
- "ghes.licenses.path": {
- "type": "string"
- },
- "org.opencontainers.image.created": {
- "type": "string"
- },
- "org.opencontainers.image.description": {
- "type": "string"
- },
- "org.opencontainers.image.documentation": {
- "type": "string"
- },
- "org.opencontainers.image.revision": {
- "type": "string"
- },
- "org.opencontainers.image.source": {
- "type": "string"
- }
- }
- },
- "description": {
- "type": "string"
- },
- "image_url": {
- "type": "string"
- },
- "licenses": {
- "type": "string"
- },
- "revision": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "description",
- "source",
- "revision",
- "image_url",
- "licenses",
- "all_labels"
- ]
- },
- "manifest": {
- "type": "object",
- "properties": {
- "config": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- },
- "digest": {
- "type": "string"
- },
- "layers": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- }
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "uri": {
- "type": "string"
- }
- },
- "required": [
- "digest",
- "media_type",
- "uri",
- "size",
- "config",
- "layers"
- ]
- },
- "tag": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "digest"
- ]
- }
- },
- "required": [
- "tag",
- "labels",
- "manifest"
- ]
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "blob_store",
- "html_url",
- "created_at",
- "updated_at"
- ]
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "namespace",
- "description",
- "ecosystem",
- "html_url",
- "created_at",
- "updated_at",
- "package_version"
- ]
- },
- "repository": {
- "title": "Repository",
- "description": "A repository on GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "examples": [
- "Team Environment"
- ]
- },
- "full_name": {
- "type": "string",
- "examples": [
- "octocat/Hello-World"
- ]
- },
- "license": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "examples": [
- "mit"
- ]
- },
- "name": {
- "type": "string",
- "examples": [
- "MIT License"
- ]
- },
- "url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://api.github.com/licenses/mit"
- ]
- },
- "spdx_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "MIT"
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDc6TGljZW5zZW1pdA=="
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ]
- }
- ]
- },
- "organization": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- ]
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat/Hello-World"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "This your first repo!"
- ]
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/repos/octocat/Hello-World"
- ]
- },
- "archive_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- ]
- },
- "assignees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- ]
- },
- "blobs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- ]
- },
- "branches_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- ]
- },
- "collaborators_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- ]
- },
- "comments_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- ]
- },
- "commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- ]
- },
- "compare_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- ]
- },
- "contents_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- ]
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contributors"
- ]
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/deployments"
- ]
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/downloads"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/events"
- ]
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/forks"
- ]
- },
- "git_commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- ]
- },
- "git_refs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- ]
- },
- "git_tags_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- ]
- },
- "git_url": {
- "type": "string",
- "examples": [
- "git:github.com/octocat/Hello-World.git"
- ]
- },
- "issue_comment_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- ]
- },
- "issue_events_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- ]
- },
- "keys_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- ]
- },
- "labels_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- ]
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/languages"
- ]
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/merges"
- ]
- },
- "milestones_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- ]
- },
- "notifications_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- ]
- },
- "pulls_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- ]
- },
- "releases_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- ]
- },
- "ssh_url": {
- "type": "string",
- "examples": [
- "git@github.com:octocat/Hello-World.git"
- ]
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/stargazers"
- ]
- },
- "statuses_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- ]
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscribers"
- ]
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscription"
- ]
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/tags"
- ]
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/teams"
- ]
- },
- "trees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- ]
- },
- "clone_url": {
- "type": "string",
- "examples": [
- "https://github.com/octocat/Hello-World.git"
- ]
- },
- "mirror_url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "git:git.example.com/octocat/Hello-World"
- ]
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/hooks"
- ]
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://svn.github.com/octocat/Hello-World"
- ]
- },
- "homepage": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://github.com"
- ]
- },
- "language": {
- "type": [
- "string",
- "null"
- ]
- },
- "forks_count": {
- "type": "integer",
- "examples": [
- 9
- ]
- },
- "stargazers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "watchers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "size": {
- "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
- "type": "integer",
- "examples": [
- 108
- ]
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "examples": [
- "master"
- ]
- },
- "open_issues_count": {
- "type": "integer",
- "examples": [
- 0
- ]
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_discussions": {
- "description": "Whether discussions are enabled.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:06:43Z"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:14:43Z"
- ]
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "template_repository": {
- "type": [
- "object",
- "null"
- ],
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean"
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "allow_update_branch": {
- "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean",
- "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
- "default": false,
- "deprecated": true
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "web_commit_signoff_required": {
- "description": "Whether to require contributors to sign off on web-based commits",
- "default": false,
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:42Z\""
- ]
- },
- "anonymous_access_enabled": {
- "type": "boolean",
- "description": "Whether anonymous git access is enabled for this repository"
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ]
- },
- "sender": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- },
- "required": [
- "action",
- "package",
- "organization",
- "sender"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "Return a 200 status to indicate that the data was received successfully"
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "category": "webhooks",
- "subcategory": "package-v2",
- "supported-webhook-types": [
- "repository",
- "organization",
- "app"
- ]
- }
- }
- },
"page-build": {
"post": {
"summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest//pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/enterprise-cloud@latest//rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.",
diff --git a/lib/rest/static/dereferenced/ghec.deref.json b/lib/rest/static/dereferenced/ghec.deref.json
index d3fa4252d4..814158ad45 100644
--- a/lib/rest/static/dereferenced/ghec.deref.json
+++ b/lib/rest/static/dereferenced/ghec.deref.json
@@ -22757,7 +22757,7 @@
"/enterprises/{enterprise}/consumed-licenses": {
"get": {
"summary": "List enterprise consumed licenses",
- "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\n**Note:** The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.",
+ "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.",
"tags": [
"enterprise-admin"
],
@@ -22857,13 +22857,6 @@
"type": "string"
}
},
- "github_com_enterprise_role": {
- "type": [
- "string",
- "null"
- ],
- "description": "Deprecated: The most permissive enterprise role for a user."
- },
"github_com_enterprise_roles": {
"type": "array",
"description": "All enterprise roles for a user.",
@@ -22943,7 +22936,6 @@
"org1:Owner",
"org2:Owner"
],
- "github_com_enterprise_role": "owner",
"github_com_enterprise_roles": [
"owner"
],
@@ -821477,2183 +821469,6 @@
}
}
},
- "package-v2-create": {
- "post": {
- "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.",
- "description": "A package was created.",
- "operationId": "package-v2/create",
- "externalDocs": {
- "url": "https://docs.github.com/enterprise-cloud@latest//developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package-v2"
- },
- "parameters": [
- {
- "name": "User-Agent",
- "in": "header",
- "example": "GitHub-Hookshot/123abc",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Id",
- "in": "header",
- "example": 12312312,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Event",
- "in": "header",
- "example": "issues",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Id",
- "in": "header",
- "example": 123123,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Type",
- "in": "header",
- "example": "repository",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-GitHub-Delivery",
- "in": "header",
- "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Hub-Signature-256",
- "in": "header",
- "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "action": {
- "type": "string",
- "enum": [
- "create"
- ]
- },
- "enterprise": {
- "title": "Enterprise",
- "description": "An enterprise on GitHub.",
- "type": "object",
- "properties": {
- "description": {
- "description": "A short description of the enterprise.",
- "type": [
- "string",
- "null"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/enterprises/octo-business"
- ]
- },
- "website_url": {
- "description": "The enterprise's website URL.",
- "type": [
- "string",
- "null"
- ],
- "format": "uri"
- },
- "id": {
- "description": "Unique identifier of the enterprise",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the enterprise.",
- "type": "string",
- "examples": [
- "Octo Business"
- ]
- },
- "slug": {
- "description": "The slug url identifier for the enterprise.",
- "type": "string",
- "examples": [
- "octo-business"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:14:43Z"
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "id",
- "node_id",
- "name",
- "slug",
- "html_url",
- "created_at",
- "updated_at",
- "avatar_url"
- ]
- },
- "installation": {
- "title": "Simple Installation",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.",
- "type": "object",
- "properties": {
- "id": {
- "description": "The ID of the installation.",
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "description": "The global node ID of the installation.",
- "type": "string",
- "examples": [
- "MDQ6VXNlcjU4MzIzMQ=="
- ]
- }
- },
- "required": [
- "id",
- "node_id"
- ]
- },
- "organization": {
- "title": "Organization Simple",
- "description": "A GitHub organization.",
- "type": "object",
- "properties": {
- "login": {
- "type": "string",
- "examples": [
- "github"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEyOk9yZ2FuaXphdGlvbjE="
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/events"
- ]
- },
- "hooks_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/hooks"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/issues"
- ]
- },
- "members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/members{/member}"
- ]
- },
- "public_members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/public_members{/member}"
- ]
- },
- "avatar_url": {
- "type": "string",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "A great organization"
- ]
- }
- },
- "required": [
- "login",
- "url",
- "id",
- "node_id",
- "repos_url",
- "events_url",
- "hooks_url",
- "issues_url",
- "members_url",
- "public_members_url",
- "avatar_url",
- "description"
- ]
- },
- "package": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "ecosystem": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "namespace": {
- "type": "string"
- },
- "package_version": {
- "type": "object",
- "properties": {
- "blob_store": {
- "type": "string"
- },
- "container_metadata": {
- "type": "object",
- "properties": {
- "labels": {
- "type": "object",
- "properties": {
- "all_labels": {
- "type": "object",
- "properties": {
- "com.github.base_image.id": {
- "type": "string"
- },
- "com.github.base_image.repo_digest": {
- "type": "string"
- },
- "com.github.repo.branch": {
- "type": "string"
- },
- "ghes.licenses.path": {
- "type": "string"
- },
- "org.opencontainers.image.created": {
- "type": "string"
- },
- "org.opencontainers.image.description": {
- "type": "string"
- },
- "org.opencontainers.image.documentation": {
- "type": "string"
- },
- "org.opencontainers.image.revision": {
- "type": "string"
- },
- "org.opencontainers.image.source": {
- "type": "string"
- }
- }
- },
- "description": {
- "type": "string"
- },
- "image_url": {
- "type": "string"
- },
- "licenses": {
- "type": "string"
- },
- "revision": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "description",
- "source",
- "revision",
- "image_url",
- "licenses",
- "all_labels"
- ]
- },
- "manifest": {
- "type": "object",
- "properties": {
- "config": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- },
- "digest": {
- "type": "string"
- },
- "layers": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- }
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "uri": {
- "type": "string"
- }
- },
- "required": [
- "digest",
- "media_type",
- "uri",
- "size",
- "config",
- "layers"
- ]
- },
- "tag": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "digest"
- ]
- }
- },
- "required": [
- "tag",
- "labels",
- "manifest"
- ]
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "blob_store",
- "html_url",
- "created_at",
- "updated_at"
- ]
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "namespace",
- "description",
- "ecosystem",
- "html_url",
- "created_at",
- "updated_at",
- "package_version"
- ]
- },
- "repository": {
- "title": "Repository",
- "description": "A repository on GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "examples": [
- "Team Environment"
- ]
- },
- "full_name": {
- "type": "string",
- "examples": [
- "octocat/Hello-World"
- ]
- },
- "license": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "examples": [
- "mit"
- ]
- },
- "name": {
- "type": "string",
- "examples": [
- "MIT License"
- ]
- },
- "url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://api.github.com/licenses/mit"
- ]
- },
- "spdx_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "MIT"
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDc6TGljZW5zZW1pdA=="
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ]
- }
- ]
- },
- "organization": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- ]
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat/Hello-World"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "This your first repo!"
- ]
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/repos/octocat/Hello-World"
- ]
- },
- "archive_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- ]
- },
- "assignees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- ]
- },
- "blobs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- ]
- },
- "branches_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- ]
- },
- "collaborators_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- ]
- },
- "comments_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- ]
- },
- "commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- ]
- },
- "compare_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- ]
- },
- "contents_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- ]
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contributors"
- ]
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/deployments"
- ]
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/downloads"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/events"
- ]
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/forks"
- ]
- },
- "git_commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- ]
- },
- "git_refs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- ]
- },
- "git_tags_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- ]
- },
- "git_url": {
- "type": "string",
- "examples": [
- "git:github.com/octocat/Hello-World.git"
- ]
- },
- "issue_comment_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- ]
- },
- "issue_events_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- ]
- },
- "keys_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- ]
- },
- "labels_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- ]
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/languages"
- ]
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/merges"
- ]
- },
- "milestones_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- ]
- },
- "notifications_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- ]
- },
- "pulls_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- ]
- },
- "releases_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- ]
- },
- "ssh_url": {
- "type": "string",
- "examples": [
- "git@github.com:octocat/Hello-World.git"
- ]
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/stargazers"
- ]
- },
- "statuses_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- ]
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscribers"
- ]
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscription"
- ]
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/tags"
- ]
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/teams"
- ]
- },
- "trees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- ]
- },
- "clone_url": {
- "type": "string",
- "examples": [
- "https://github.com/octocat/Hello-World.git"
- ]
- },
- "mirror_url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "git:git.example.com/octocat/Hello-World"
- ]
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/hooks"
- ]
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://svn.github.com/octocat/Hello-World"
- ]
- },
- "homepage": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://github.com"
- ]
- },
- "language": {
- "type": [
- "string",
- "null"
- ]
- },
- "forks_count": {
- "type": "integer",
- "examples": [
- 9
- ]
- },
- "stargazers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "watchers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "size": {
- "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
- "type": "integer",
- "examples": [
- 108
- ]
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "examples": [
- "master"
- ]
- },
- "open_issues_count": {
- "type": "integer",
- "examples": [
- 0
- ]
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_discussions": {
- "description": "Whether discussions are enabled.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:06:43Z"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:14:43Z"
- ]
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "template_repository": {
- "type": [
- "object",
- "null"
- ],
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean"
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "allow_update_branch": {
- "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean",
- "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
- "default": false,
- "deprecated": true
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "web_commit_signoff_required": {
- "description": "Whether to require contributors to sign off on web-based commits",
- "default": false,
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:42Z\""
- ]
- },
- "anonymous_access_enabled": {
- "type": "boolean",
- "description": "Whether anonymous git access is enabled for this repository"
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ]
- },
- "sender": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- },
- "required": [
- "action",
- "package",
- "organization",
- "sender"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "Return a 200 status to indicate that the data was received successfully"
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "category": "webhooks",
- "subcategory": "package-v2",
- "supported-webhook-types": [
- "repository",
- "organization",
- "app"
- ]
- }
- }
- },
"page-build": {
"post": {
"summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest//pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/enterprise-cloud@latest//rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.",
diff --git a/lib/rest/static/dereferenced/ghes-3.7.deref.json b/lib/rest/static/dereferenced/ghes-3.7.deref.json
index cc22f0c376..e8f49fda4c 100644
--- a/lib/rest/static/dereferenced/ghes-3.7.deref.json
+++ b/lib/rest/static/dereferenced/ghes-3.7.deref.json
@@ -758826,2199 +758826,6 @@
}
}
},
- "package-v2-create": {
- "post": {
- "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.7/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.7/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-server@3.7/rest/packages)\" in the REST API documentation.",
- "description": "A package was created.",
- "operationId": "package-v2/create",
- "externalDocs": {
- "url": "https://docs.github.com/enterprise-server@3.7/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package-v2"
- },
- "parameters": [
- {
- "name": "User-Agent",
- "in": "header",
- "example": "GitHub-Hookshot/123abc",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Id",
- "in": "header",
- "example": 12312312,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Event",
- "in": "header",
- "example": "issues",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Id",
- "in": "header",
- "example": 123123,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Type",
- "in": "header",
- "example": "repository",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-GitHub-Delivery",
- "in": "header",
- "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Hub-Signature-256",
- "in": "header",
- "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-GitHub-Enterprise-Version",
- "in": "header",
- "example": "3.1.9",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-GitHub-Enterprise-Host",
- "in": "header",
- "example": "ghes.github.com",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "action": {
- "type": "string",
- "enum": [
- "create"
- ]
- },
- "enterprise": {
- "title": "Enterprise",
- "description": "An enterprise on GitHub.",
- "type": "object",
- "properties": {
- "description": {
- "description": "A short description of the enterprise.",
- "type": [
- "string",
- "null"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/enterprises/octo-business"
- ]
- },
- "website_url": {
- "description": "The enterprise's website URL.",
- "type": [
- "string",
- "null"
- ],
- "format": "uri"
- },
- "id": {
- "description": "Unique identifier of the enterprise",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the enterprise.",
- "type": "string",
- "examples": [
- "Octo Business"
- ]
- },
- "slug": {
- "description": "The slug url identifier for the enterprise.",
- "type": "string",
- "examples": [
- "octo-business"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:14:43Z"
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "id",
- "node_id",
- "name",
- "slug",
- "html_url",
- "created_at",
- "updated_at",
- "avatar_url"
- ]
- },
- "installation": {
- "title": "Simple Installation",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.",
- "type": "object",
- "properties": {
- "id": {
- "description": "The ID of the installation.",
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "description": "The global node ID of the installation.",
- "type": "string",
- "examples": [
- "MDQ6VXNlcjU4MzIzMQ=="
- ]
- }
- },
- "required": [
- "id",
- "node_id"
- ]
- },
- "organization": {
- "title": "Organization Simple",
- "description": "A GitHub organization.",
- "type": "object",
- "properties": {
- "login": {
- "type": "string",
- "examples": [
- "github"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEyOk9yZ2FuaXphdGlvbjE="
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/events"
- ]
- },
- "hooks_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/hooks"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/issues"
- ]
- },
- "members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/members{/member}"
- ]
- },
- "public_members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/public_members{/member}"
- ]
- },
- "avatar_url": {
- "type": "string",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "A great organization"
- ]
- }
- },
- "required": [
- "login",
- "url",
- "id",
- "node_id",
- "repos_url",
- "events_url",
- "hooks_url",
- "issues_url",
- "members_url",
- "public_members_url",
- "avatar_url",
- "description"
- ]
- },
- "package": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "ecosystem": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "namespace": {
- "type": "string"
- },
- "package_version": {
- "type": "object",
- "properties": {
- "blob_store": {
- "type": "string"
- },
- "container_metadata": {
- "type": "object",
- "properties": {
- "labels": {
- "type": "object",
- "properties": {
- "all_labels": {
- "type": "object",
- "properties": {
- "com.github.base_image.id": {
- "type": "string"
- },
- "com.github.base_image.repo_digest": {
- "type": "string"
- },
- "com.github.repo.branch": {
- "type": "string"
- },
- "ghes.licenses.path": {
- "type": "string"
- },
- "org.opencontainers.image.created": {
- "type": "string"
- },
- "org.opencontainers.image.description": {
- "type": "string"
- },
- "org.opencontainers.image.documentation": {
- "type": "string"
- },
- "org.opencontainers.image.revision": {
- "type": "string"
- },
- "org.opencontainers.image.source": {
- "type": "string"
- }
- }
- },
- "description": {
- "type": "string"
- },
- "image_url": {
- "type": "string"
- },
- "licenses": {
- "type": "string"
- },
- "revision": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "description",
- "source",
- "revision",
- "image_url",
- "licenses",
- "all_labels"
- ]
- },
- "manifest": {
- "type": "object",
- "properties": {
- "config": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- },
- "digest": {
- "type": "string"
- },
- "layers": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- }
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "uri": {
- "type": "string"
- }
- },
- "required": [
- "digest",
- "media_type",
- "uri",
- "size",
- "config",
- "layers"
- ]
- },
- "tag": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "digest"
- ]
- }
- },
- "required": [
- "tag",
- "labels",
- "manifest"
- ]
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "blob_store",
- "html_url",
- "created_at",
- "updated_at"
- ]
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "namespace",
- "description",
- "ecosystem",
- "html_url",
- "created_at",
- "updated_at",
- "package_version"
- ]
- },
- "repository": {
- "title": "Repository",
- "description": "A repository on GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "examples": [
- "Team Environment"
- ]
- },
- "full_name": {
- "type": "string",
- "examples": [
- "octocat/Hello-World"
- ]
- },
- "license": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "examples": [
- "mit"
- ]
- },
- "name": {
- "type": "string",
- "examples": [
- "MIT License"
- ]
- },
- "url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://api.github.com/licenses/mit"
- ]
- },
- "spdx_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "MIT"
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDc6TGljZW5zZW1pdA=="
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ]
- }
- ]
- },
- "organization": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- ]
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat/Hello-World"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "This your first repo!"
- ]
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/repos/octocat/Hello-World"
- ]
- },
- "archive_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- ]
- },
- "assignees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- ]
- },
- "blobs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- ]
- },
- "branches_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- ]
- },
- "collaborators_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- ]
- },
- "comments_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- ]
- },
- "commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- ]
- },
- "compare_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- ]
- },
- "contents_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- ]
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contributors"
- ]
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/deployments"
- ]
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/downloads"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/events"
- ]
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/forks"
- ]
- },
- "git_commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- ]
- },
- "git_refs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- ]
- },
- "git_tags_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- ]
- },
- "git_url": {
- "type": "string",
- "examples": [
- "git:github.com/octocat/Hello-World.git"
- ]
- },
- "issue_comment_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- ]
- },
- "issue_events_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- ]
- },
- "keys_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- ]
- },
- "labels_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- ]
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/languages"
- ]
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/merges"
- ]
- },
- "milestones_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- ]
- },
- "notifications_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- ]
- },
- "pulls_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- ]
- },
- "releases_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- ]
- },
- "ssh_url": {
- "type": "string",
- "examples": [
- "git@github.com:octocat/Hello-World.git"
- ]
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/stargazers"
- ]
- },
- "statuses_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- ]
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscribers"
- ]
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscription"
- ]
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/tags"
- ]
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/teams"
- ]
- },
- "trees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- ]
- },
- "clone_url": {
- "type": "string",
- "examples": [
- "https://github.com/octocat/Hello-World.git"
- ]
- },
- "mirror_url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "git:git.example.com/octocat/Hello-World"
- ]
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/hooks"
- ]
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://svn.github.com/octocat/Hello-World"
- ]
- },
- "homepage": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://github.com"
- ]
- },
- "language": {
- "type": [
- "string",
- "null"
- ]
- },
- "forks_count": {
- "type": "integer",
- "examples": [
- 9
- ]
- },
- "stargazers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "watchers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "size": {
- "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
- "type": "integer",
- "examples": [
- 108
- ]
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "examples": [
- "master"
- ]
- },
- "open_issues_count": {
- "type": "integer",
- "examples": [
- 0
- ]
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_discussions": {
- "description": "Whether discussions are enabled.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:06:43Z"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:14:43Z"
- ]
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "template_repository": {
- "type": [
- "object",
- "null"
- ],
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean"
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "allow_update_branch": {
- "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "use_squash_pr_title_as_default": {
- "type": "boolean",
- "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
- "default": false,
- "deprecated": true
- },
- "squash_merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "COMMIT_OR_PR_TITLE"
- ],
- "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
- },
- "squash_merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "COMMIT_MESSAGES",
- "BLANK"
- ],
- "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
- },
- "merge_commit_title": {
- "type": "string",
- "enum": [
- "PR_TITLE",
- "MERGE_MESSAGE"
- ],
- "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
- },
- "merge_commit_message": {
- "type": "string",
- "enum": [
- "PR_BODY",
- "PR_TITLE",
- "BLANK"
- ],
- "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "web_commit_signoff_required": {
- "description": "Whether to require contributors to sign off on web-based commits",
- "default": false,
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:42Z\""
- ]
- },
- "anonymous_access_enabled": {
- "type": "boolean",
- "description": "Whether anonymous git access is enabled for this repository"
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ]
- },
- "sender": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- },
- "required": [
- "action",
- "package",
- "organization",
- "sender"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "Return a 200 status to indicate that the data was received successfully"
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "category": "webhooks",
- "subcategory": "package-v2",
- "supported-webhook-types": [
- "repository",
- "organization",
- "app"
- ]
- }
- }
- },
"page-build": {
"post": {
"summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.7/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/enterprise-server@3.7/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.",
diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json
index 5dad2beb17..f18d3843bc 100644
--- a/lib/rest/static/dereferenced/github.ae.deref.json
+++ b/lib/rest/static/dereferenced/github.ae.deref.json
@@ -671531,2098 +671531,6 @@
}
}
},
- "package-v2-create": {
- "post": {
- "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/github-ae@latest/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/github-ae@latest/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/github-ae@latest/rest/packages)\" in the REST API documentation.",
- "description": "A package was created.",
- "operationId": "package-v2/create",
- "externalDocs": {
- "url": "https://docs.github.com/github-ae@latest/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#package-v2"
- },
- "parameters": [
- {
- "name": "User-Agent",
- "in": "header",
- "example": "GitHub-Hookshot/123abc",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Id",
- "in": "header",
- "example": 12312312,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Event",
- "in": "header",
- "example": "issues",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Id",
- "in": "header",
- "example": 123123,
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Github-Hook-Installation-Target-Type",
- "in": "header",
- "example": "repository",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-GitHub-Delivery",
- "in": "header",
- "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516",
- "schema": {
- "type": "string"
- }
- },
- {
- "name": "X-Hub-Signature-256",
- "in": "header",
- "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e",
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "action": {
- "type": "string",
- "enum": [
- "create"
- ]
- },
- "enterprise": {
- "title": "Enterprise",
- "description": "An enterprise on GitHub.",
- "type": "object",
- "properties": {
- "description": {
- "description": "A short description of the enterprise.",
- "type": [
- "string",
- "null"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/enterprises/octo-business"
- ]
- },
- "website_url": {
- "description": "The enterprise's website URL.",
- "type": [
- "string",
- "null"
- ],
- "format": "uri"
- },
- "id": {
- "description": "Unique identifier of the enterprise",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the enterprise.",
- "type": "string",
- "examples": [
- "Octo Business"
- ]
- },
- "slug": {
- "description": "The slug url identifier for the enterprise.",
- "type": "string",
- "examples": [
- "octo-business"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2019-01-26T19:14:43Z"
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "id",
- "node_id",
- "name",
- "slug",
- "html_url",
- "created_at",
- "updated_at",
- "avatar_url"
- ]
- },
- "installation": {
- "title": "Simple Installation",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.",
- "type": "object",
- "properties": {
- "id": {
- "description": "The ID of the installation.",
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "description": "The global node ID of the installation.",
- "type": "string",
- "examples": [
- "MDQ6VXNlcjU4MzIzMQ=="
- ]
- }
- },
- "required": [
- "id",
- "node_id"
- ]
- },
- "organization": {
- "title": "Organization Simple",
- "description": "A GitHub organization.",
- "type": "object",
- "properties": {
- "login": {
- "type": "string",
- "examples": [
- "github"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEyOk9yZ2FuaXphdGlvbjE="
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/orgs/github/events"
- ]
- },
- "hooks_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/hooks"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/issues"
- ]
- },
- "members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/members{/member}"
- ]
- },
- "public_members_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/orgs/github/public_members{/member}"
- ]
- },
- "avatar_url": {
- "type": "string",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "A great organization"
- ]
- }
- },
- "required": [
- "login",
- "url",
- "id",
- "node_id",
- "repos_url",
- "events_url",
- "hooks_url",
- "issues_url",
- "members_url",
- "public_members_url",
- "avatar_url",
- "description"
- ]
- },
- "package": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "ecosystem": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "namespace": {
- "type": "string"
- },
- "package_version": {
- "type": "object",
- "properties": {
- "blob_store": {
- "type": "string"
- },
- "container_metadata": {
- "type": "object",
- "properties": {
- "labels": {
- "type": "object",
- "properties": {
- "all_labels": {
- "type": "object",
- "properties": {
- "com.github.base_image.id": {
- "type": "string"
- },
- "com.github.base_image.repo_digest": {
- "type": "string"
- },
- "com.github.repo.branch": {
- "type": "string"
- },
- "ghes.licenses.path": {
- "type": "string"
- },
- "org.opencontainers.image.created": {
- "type": "string"
- },
- "org.opencontainers.image.description": {
- "type": "string"
- },
- "org.opencontainers.image.documentation": {
- "type": "string"
- },
- "org.opencontainers.image.revision": {
- "type": "string"
- },
- "org.opencontainers.image.source": {
- "type": "string"
- }
- }
- },
- "description": {
- "type": "string"
- },
- "image_url": {
- "type": "string"
- },
- "licenses": {
- "type": "string"
- },
- "revision": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "description",
- "source",
- "revision",
- "image_url",
- "licenses",
- "all_labels"
- ]
- },
- "manifest": {
- "type": "object",
- "properties": {
- "config": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- },
- "digest": {
- "type": "string"
- },
- "layers": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- }
- },
- "required": [
- "digest",
- "media_type",
- "size"
- ]
- }
- },
- "media_type": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "uri": {
- "type": "string"
- }
- },
- "required": [
- "digest",
- "media_type",
- "uri",
- "size",
- "config",
- "layers"
- ]
- },
- "tag": {
- "type": "object",
- "properties": {
- "digest": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "digest"
- ]
- }
- },
- "required": [
- "tag",
- "labels",
- "manifest"
- ]
- },
- "created_at": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "description",
- "blob_store",
- "html_url",
- "created_at",
- "updated_at"
- ]
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "namespace",
- "description",
- "ecosystem",
- "html_url",
- "created_at",
- "updated_at",
- "package_version"
- ]
- },
- "repository": {
- "title": "Repository",
- "description": "A repository on GitHub.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Unique identifier of the repository",
- "type": "integer",
- "examples": [
- 42
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
- ]
- },
- "name": {
- "description": "The name of the repository.",
- "type": "string",
- "examples": [
- "Team Environment"
- ]
- },
- "full_name": {
- "type": "string",
- "examples": [
- "octocat/Hello-World"
- ]
- },
- "license": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "License Simple",
- "description": "License Simple",
- "type": "object",
- "properties": {
- "key": {
- "type": "string",
- "examples": [
- "mit"
- ]
- },
- "name": {
- "type": "string",
- "examples": [
- "MIT License"
- ]
- },
- "url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://api.github.com/licenses/mit"
- ]
- },
- "spdx_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "MIT"
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDc6TGljZW5zZW1pdA=="
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri"
- }
- },
- "required": [
- "key",
- "name",
- "url",
- "spdx_id",
- "node_id"
- ]
- }
- ]
- },
- "organization": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- ]
- },
- "forks": {
- "type": "integer"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- }
- },
- "required": [
- "admin",
- "pull",
- "push"
- ]
- },
- "owner": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- },
- "private": {
- "description": "Whether the repository is private or public.",
- "default": false,
- "type": "boolean"
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat/Hello-World"
- ]
- },
- "description": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "This your first repo!"
- ]
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/repos/octocat/Hello-World"
- ]
- },
- "archive_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}"
- ]
- },
- "assignees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/assignees{/user}"
- ]
- },
- "blobs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}"
- ]
- },
- "branches_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/branches{/branch}"
- ]
- },
- "collaborators_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}"
- ]
- },
- "comments_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/comments{/number}"
- ]
- },
- "commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/commits{/sha}"
- ]
- },
- "compare_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}"
- ]
- },
- "contents_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contents/{+path}"
- ]
- },
- "contributors_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/contributors"
- ]
- },
- "deployments_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/deployments"
- ]
- },
- "downloads_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/downloads"
- ]
- },
- "events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/events"
- ]
- },
- "forks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/forks"
- ]
- },
- "git_commits_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}"
- ]
- },
- "git_refs_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}"
- ]
- },
- "git_tags_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}"
- ]
- },
- "git_url": {
- "type": "string",
- "examples": [
- "git:github.com/octocat/Hello-World.git"
- ]
- },
- "issue_comment_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}"
- ]
- },
- "issue_events_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}"
- ]
- },
- "issues_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/issues{/number}"
- ]
- },
- "keys_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}"
- ]
- },
- "labels_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/labels{/name}"
- ]
- },
- "languages_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/languages"
- ]
- },
- "merges_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/merges"
- ]
- },
- "milestones_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/milestones{/number}"
- ]
- },
- "notifications_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}"
- ]
- },
- "pulls_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/pulls{/number}"
- ]
- },
- "releases_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/releases{/id}"
- ]
- },
- "ssh_url": {
- "type": "string",
- "examples": [
- "git@github.com:octocat/Hello-World.git"
- ]
- },
- "stargazers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/stargazers"
- ]
- },
- "statuses_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}"
- ]
- },
- "subscribers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscribers"
- ]
- },
- "subscription_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/subscription"
- ]
- },
- "tags_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/tags"
- ]
- },
- "teams_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/teams"
- ]
- },
- "trees_url": {
- "type": "string",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}"
- ]
- },
- "clone_url": {
- "type": "string",
- "examples": [
- "https://github.com/octocat/Hello-World.git"
- ]
- },
- "mirror_url": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "git:git.example.com/octocat/Hello-World"
- ]
- },
- "hooks_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "http://api.github.com/repos/octocat/Hello-World/hooks"
- ]
- },
- "svn_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://svn.github.com/octocat/Hello-World"
- ]
- },
- "homepage": {
- "type": [
- "string",
- "null"
- ],
- "format": "uri",
- "examples": [
- "https://github.com"
- ]
- },
- "language": {
- "type": [
- "string",
- "null"
- ]
- },
- "forks_count": {
- "type": "integer",
- "examples": [
- 9
- ]
- },
- "stargazers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "watchers_count": {
- "type": "integer",
- "examples": [
- 80
- ]
- },
- "size": {
- "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
- "type": "integer",
- "examples": [
- 108
- ]
- },
- "default_branch": {
- "description": "The default branch of the repository.",
- "type": "string",
- "examples": [
- "master"
- ]
- },
- "open_issues_count": {
- "type": "integer",
- "examples": [
- 0
- ]
- },
- "is_template": {
- "description": "Whether this repository acts as a template that can be used to generate new repositories.",
- "default": false,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "description": "Whether issues are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_projects": {
- "description": "Whether projects are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_wiki": {
- "description": "Whether the wiki is enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "description": "Whether downloads are enabled.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "archived": {
- "description": "Whether the repository is archived.",
- "default": false,
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "description": "Returns whether or not this repository disabled."
- },
- "visibility": {
- "description": "The repository visibility: public, private, or internal.",
- "default": "public",
- "type": "string"
- },
- "pushed_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:06:43Z"
- ]
- },
- "created_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:01:12Z"
- ]
- },
- "updated_at": {
- "type": [
- "string",
- "null"
- ],
- "format": "date-time",
- "examples": [
- "2011-01-26T19:14:43Z"
- ]
- },
- "allow_rebase_merge": {
- "description": "Whether to allow rebase merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "template_repository": {
- "type": [
- "object",
- "null"
- ],
- "properties": {
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "full_name": {
- "type": "string"
- },
- "owner": {
- "type": "object",
- "properties": {
- "login": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "node_id": {
- "type": "string"
- },
- "avatar_url": {
- "type": "string"
- },
- "gravatar_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "html_url": {
- "type": "string"
- },
- "followers_url": {
- "type": "string"
- },
- "following_url": {
- "type": "string"
- },
- "gists_url": {
- "type": "string"
- },
- "starred_url": {
- "type": "string"
- },
- "subscriptions_url": {
- "type": "string"
- },
- "organizations_url": {
- "type": "string"
- },
- "repos_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "received_events_url": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "site_admin": {
- "type": "boolean"
- }
- }
- },
- "private": {
- "type": "boolean"
- },
- "html_url": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "fork": {
- "type": "boolean"
- },
- "url": {
- "type": "string"
- },
- "archive_url": {
- "type": "string"
- },
- "assignees_url": {
- "type": "string"
- },
- "blobs_url": {
- "type": "string"
- },
- "branches_url": {
- "type": "string"
- },
- "collaborators_url": {
- "type": "string"
- },
- "comments_url": {
- "type": "string"
- },
- "commits_url": {
- "type": "string"
- },
- "compare_url": {
- "type": "string"
- },
- "contents_url": {
- "type": "string"
- },
- "contributors_url": {
- "type": "string"
- },
- "deployments_url": {
- "type": "string"
- },
- "downloads_url": {
- "type": "string"
- },
- "events_url": {
- "type": "string"
- },
- "forks_url": {
- "type": "string"
- },
- "git_commits_url": {
- "type": "string"
- },
- "git_refs_url": {
- "type": "string"
- },
- "git_tags_url": {
- "type": "string"
- },
- "git_url": {
- "type": "string"
- },
- "issue_comment_url": {
- "type": "string"
- },
- "issue_events_url": {
- "type": "string"
- },
- "issues_url": {
- "type": "string"
- },
- "keys_url": {
- "type": "string"
- },
- "labels_url": {
- "type": "string"
- },
- "languages_url": {
- "type": "string"
- },
- "merges_url": {
- "type": "string"
- },
- "milestones_url": {
- "type": "string"
- },
- "notifications_url": {
- "type": "string"
- },
- "pulls_url": {
- "type": "string"
- },
- "releases_url": {
- "type": "string"
- },
- "ssh_url": {
- "type": "string"
- },
- "stargazers_url": {
- "type": "string"
- },
- "statuses_url": {
- "type": "string"
- },
- "subscribers_url": {
- "type": "string"
- },
- "subscription_url": {
- "type": "string"
- },
- "tags_url": {
- "type": "string"
- },
- "teams_url": {
- "type": "string"
- },
- "trees_url": {
- "type": "string"
- },
- "clone_url": {
- "type": "string"
- },
- "mirror_url": {
- "type": "string"
- },
- "hooks_url": {
- "type": "string"
- },
- "svn_url": {
- "type": "string"
- },
- "homepage": {
- "type": "string"
- },
- "language": {
- "type": "string"
- },
- "forks_count": {
- "type": "integer"
- },
- "stargazers_count": {
- "type": "integer"
- },
- "watchers_count": {
- "type": "integer"
- },
- "size": {
- "type": "integer"
- },
- "default_branch": {
- "type": "string"
- },
- "open_issues_count": {
- "type": "integer"
- },
- "is_template": {
- "type": "boolean"
- },
- "topics": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "has_issues": {
- "type": "boolean"
- },
- "has_projects": {
- "type": "boolean"
- },
- "has_wiki": {
- "type": "boolean"
- },
- "has_pages": {
- "type": "boolean"
- },
- "has_downloads": {
- "type": "boolean"
- },
- "archived": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean"
- },
- "visibility": {
- "type": "string"
- },
- "pushed_at": {
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "permissions": {
- "type": "object",
- "properties": {
- "admin": {
- "type": "boolean"
- },
- "maintain": {
- "type": "boolean"
- },
- "push": {
- "type": "boolean"
- },
- "triage": {
- "type": "boolean"
- },
- "pull": {
- "type": "boolean"
- }
- }
- },
- "allow_rebase_merge": {
- "type": "boolean"
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "type": "boolean"
- },
- "allow_auto_merge": {
- "type": "boolean"
- },
- "delete_branch_on_merge": {
- "type": "boolean"
- },
- "allow_update_branch": {
- "type": "boolean"
- },
- "allow_merge_commit": {
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- }
- }
- },
- "temp_clone_token": {
- "type": "string"
- },
- "allow_squash_merge": {
- "description": "Whether to allow squash merges for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_auto_merge": {
- "description": "Whether to allow Auto-merge to be used on pull requests.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "delete_branch_on_merge": {
- "description": "Whether to delete head branches when pull requests are merged",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "allow_update_branch": {
- "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.",
- "default": false,
- "type": "boolean",
- "examples": [
- false
- ]
- },
- "allow_merge_commit": {
- "description": "Whether to allow merge commits for pull requests.",
- "default": true,
- "type": "boolean",
- "examples": [
- true
- ]
- },
- "allow_forking": {
- "description": "Whether to allow forking this repo",
- "type": "boolean"
- },
- "web_commit_signoff_required": {
- "description": "Whether to require contributors to sign off on web-based commits",
- "default": false,
- "type": "boolean"
- },
- "subscribers_count": {
- "type": "integer"
- },
- "network_count": {
- "type": "integer"
- },
- "open_issues": {
- "type": "integer"
- },
- "watchers": {
- "type": "integer"
- },
- "master_branch": {
- "type": "string"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:42Z\""
- ]
- },
- "anonymous_access_enabled": {
- "type": "boolean",
- "description": "Whether anonymous git access is enabled for this repository"
- }
- },
- "required": [
- "archive_url",
- "assignees_url",
- "blobs_url",
- "branches_url",
- "collaborators_url",
- "comments_url",
- "commits_url",
- "compare_url",
- "contents_url",
- "contributors_url",
- "deployments_url",
- "description",
- "downloads_url",
- "events_url",
- "fork",
- "forks_url",
- "full_name",
- "git_commits_url",
- "git_refs_url",
- "git_tags_url",
- "hooks_url",
- "html_url",
- "id",
- "node_id",
- "issue_comment_url",
- "issue_events_url",
- "issues_url",
- "keys_url",
- "labels_url",
- "languages_url",
- "merges_url",
- "milestones_url",
- "name",
- "notifications_url",
- "owner",
- "private",
- "pulls_url",
- "releases_url",
- "stargazers_url",
- "statuses_url",
- "subscribers_url",
- "subscription_url",
- "tags_url",
- "teams_url",
- "trees_url",
- "url",
- "clone_url",
- "default_branch",
- "forks",
- "forks_count",
- "git_url",
- "has_downloads",
- "has_issues",
- "has_projects",
- "has_wiki",
- "has_pages",
- "homepage",
- "language",
- "archived",
- "disabled",
- "mirror_url",
- "open_issues",
- "open_issues_count",
- "license",
- "pushed_at",
- "size",
- "ssh_url",
- "stargazers_count",
- "svn_url",
- "watchers",
- "watchers_count",
- "created_at",
- "updated_at"
- ]
- },
- "sender": {
- "title": "Simple User",
- "description": "A GitHub user.",
- "type": "object",
- "properties": {
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "type": [
- "string",
- "null"
- ]
- },
- "login": {
- "type": "string",
- "examples": [
- "octocat"
- ]
- },
- "id": {
- "type": "integer",
- "examples": [
- 1
- ]
- },
- "node_id": {
- "type": "string",
- "examples": [
- "MDQ6VXNlcjE="
- ]
- },
- "avatar_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/images/error/octocat_happy.gif"
- ]
- },
- "gravatar_id": {
- "type": [
- "string",
- "null"
- ],
- "examples": [
- "41d064eb2195891e12d0413f63227ea7"
- ]
- },
- "url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat"
- ]
- },
- "html_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://github.com/octocat"
- ]
- },
- "followers_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/followers"
- ]
- },
- "following_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/following{/other_user}"
- ]
- },
- "gists_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/gists{/gist_id}"
- ]
- },
- "starred_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/starred{/owner}{/repo}"
- ]
- },
- "subscriptions_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/subscriptions"
- ]
- },
- "organizations_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/orgs"
- ]
- },
- "repos_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/repos"
- ]
- },
- "events_url": {
- "type": "string",
- "examples": [
- "https://api.github.com/users/octocat/events{/privacy}"
- ]
- },
- "received_events_url": {
- "type": "string",
- "format": "uri",
- "examples": [
- "https://api.github.com/users/octocat/received_events"
- ]
- },
- "type": {
- "type": "string",
- "examples": [
- "User"
- ]
- },
- "site_admin": {
- "type": "boolean"
- },
- "starred_at": {
- "type": "string",
- "examples": [
- "\"2020-07-09T00:17:55Z\""
- ]
- }
- },
- "required": [
- "avatar_url",
- "events_url",
- "followers_url",
- "following_url",
- "gists_url",
- "gravatar_id",
- "html_url",
- "id",
- "node_id",
- "login",
- "organizations_url",
- "received_events_url",
- "repos_url",
- "site_admin",
- "starred_url",
- "subscriptions_url",
- "type",
- "url"
- ]
- }
- },
- "required": [
- "action",
- "package",
- "organization",
- "sender"
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "Return a 200 status to indicate that the data was received successfully"
- }
- },
- "x-github": {
- "githubCloudOnly": false,
- "category": "webhooks",
- "subcategory": "package-v2",
- "supported-webhook-types": [
- "repository",
- "organization",
- "app"
- ]
- }
- }
- },
"page-build": {
"post": {
"summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/github-ae@latest/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/github-ae@latest/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.",
diff --git a/lib/webhooks/static/decorated/api.github.com.json b/lib/webhooks/static/decorated/api.github.com.json
index 3d88addd38..e244a89533 100644
--- a/lib/webhooks/static/decorated/api.github.com.json
+++ b/lib/webhooks/static/decorated/api.github.com.json
@@ -60926,378 +60926,6 @@
"category": "package"
}
},
- "package_v2": {
- "create": {
- "descriptionHtml": "A package was created.
",
- "summaryHtml": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"Introduction to GitHub Packages.\" For information about the APIs to manage GitHub Packages, see the GraphQL API documentation or \"Packages\" in the REST API documentation.
",
- "bodyParameters": [
- {
- "type": "string",
- "name": "action",
- "in": "body",
- "description": "",
- "isRequired": true,
- "enum": [
- "create"
- ],
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "enterprise",
- "in": "body",
- "description": "An enterprise on GitHub.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "installation",
- "in": "body",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "organization",
- "in": "body",
- "description": "A GitHub organization.
",
- "isRequired": true,
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "package",
- "in": "body",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "created_at",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "ecosystem",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "html_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "id",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "namespace",
- "description": "",
- "isRequired": true
- },
- {
- "type": "object",
- "name": "package_version",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "blob_store",
- "description": "",
- "isRequired": true
- },
- {
- "type": "object",
- "name": "container_metadata",
- "description": "",
- "childParamsGroups": [
- {
- "type": "object",
- "name": "labels",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "object",
- "name": "all_labels",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "com.github.base_image.id",
- "description": ""
- },
- {
- "type": "string",
- "name": "com.github.base_image.repo_digest",
- "description": ""
- },
- {
- "type": "string",
- "name": "com.github.repo.branch",
- "description": ""
- },
- {
- "type": "string",
- "name": "ghes.licenses.path",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.created",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.description",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.documentation",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.revision",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.source",
- "description": ""
- }
- ]
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "image_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "licenses",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "revision",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "source",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "manifest",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "object",
- "name": "config",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "array of objects",
- "name": "layers",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "uri",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "tag",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- }
- ]
- }
- ]
- },
- {
- "type": "string",
- "name": "created_at",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "html_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "id",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "updated_at",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "updated_at",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "repository",
- "in": "body",
- "description": "A repository on GitHub.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "sender",
- "in": "body",
- "description": "A GitHub user.
",
- "isRequired": true,
- "childParamsGroups": []
- }
- ],
- "availability": [
- "repository",
- "organization",
- "app"
- ],
- "action": "create",
- "category": "package_v2"
- }
- },
"page_build": {
"default": {
"descriptionHtml": "",
diff --git a/lib/webhooks/static/decorated/ghec.json b/lib/webhooks/static/decorated/ghec.json
index 6482c7b946..a161a19710 100644
--- a/lib/webhooks/static/decorated/ghec.json
+++ b/lib/webhooks/static/decorated/ghec.json
@@ -60926,378 +60926,6 @@
"category": "package"
}
},
- "package_v2": {
- "create": {
- "descriptionHtml": "A package was created.
",
- "summaryHtml": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"Introduction to GitHub Packages.\" For information about the APIs to manage GitHub Packages, see the GraphQL API documentation or \"Packages\" in the REST API documentation.
",
- "bodyParameters": [
- {
- "type": "string",
- "name": "action",
- "in": "body",
- "description": "",
- "isRequired": true,
- "enum": [
- "create"
- ],
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "enterprise",
- "in": "body",
- "description": "An enterprise on GitHub.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "installation",
- "in": "body",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "organization",
- "in": "body",
- "description": "A GitHub organization.
",
- "isRequired": true,
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "package",
- "in": "body",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "created_at",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "ecosystem",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "html_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "id",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "namespace",
- "description": "",
- "isRequired": true
- },
- {
- "type": "object",
- "name": "package_version",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "blob_store",
- "description": "",
- "isRequired": true
- },
- {
- "type": "object",
- "name": "container_metadata",
- "description": "",
- "childParamsGroups": [
- {
- "type": "object",
- "name": "labels",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "object",
- "name": "all_labels",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "com.github.base_image.id",
- "description": ""
- },
- {
- "type": "string",
- "name": "com.github.base_image.repo_digest",
- "description": ""
- },
- {
- "type": "string",
- "name": "com.github.repo.branch",
- "description": ""
- },
- {
- "type": "string",
- "name": "ghes.licenses.path",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.created",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.description",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.documentation",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.revision",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.source",
- "description": ""
- }
- ]
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "image_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "licenses",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "revision",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "source",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "manifest",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "object",
- "name": "config",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "array of objects",
- "name": "layers",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "uri",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "tag",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- }
- ]
- }
- ]
- },
- {
- "type": "string",
- "name": "created_at",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "html_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "id",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "updated_at",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "updated_at",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "repository",
- "in": "body",
- "description": "A repository on GitHub.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "sender",
- "in": "body",
- "description": "A GitHub user.
",
- "isRequired": true,
- "childParamsGroups": []
- }
- ],
- "availability": [
- "repository",
- "organization",
- "app"
- ],
- "action": "create",
- "category": "package_v2"
- }
- },
"page_build": {
"default": {
"descriptionHtml": "",
diff --git a/lib/webhooks/static/decorated/ghes-3.7.json b/lib/webhooks/static/decorated/ghes-3.7.json
index ac01a22903..73ca289d86 100644
--- a/lib/webhooks/static/decorated/ghes-3.7.json
+++ b/lib/webhooks/static/decorated/ghes-3.7.json
@@ -60926,378 +60926,6 @@
"category": "package"
}
},
- "package_v2": {
- "create": {
- "descriptionHtml": "A package was created.
",
- "summaryHtml": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"Introduction to GitHub Packages.\" For information about the APIs to manage GitHub Packages, see the GraphQL API documentation or \"Packages\" in the REST API documentation.
",
- "bodyParameters": [
- {
- "type": "string",
- "name": "action",
- "in": "body",
- "description": "",
- "isRequired": true,
- "enum": [
- "create"
- ],
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "enterprise",
- "in": "body",
- "description": "An enterprise on GitHub.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "installation",
- "in": "body",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "organization",
- "in": "body",
- "description": "A GitHub organization.
",
- "isRequired": true,
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "package",
- "in": "body",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "created_at",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "ecosystem",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "html_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "id",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "namespace",
- "description": "",
- "isRequired": true
- },
- {
- "type": "object",
- "name": "package_version",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "blob_store",
- "description": "",
- "isRequired": true
- },
- {
- "type": "object",
- "name": "container_metadata",
- "description": "",
- "childParamsGroups": [
- {
- "type": "object",
- "name": "labels",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "object",
- "name": "all_labels",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "com.github.base_image.id",
- "description": ""
- },
- {
- "type": "string",
- "name": "com.github.base_image.repo_digest",
- "description": ""
- },
- {
- "type": "string",
- "name": "com.github.repo.branch",
- "description": ""
- },
- {
- "type": "string",
- "name": "ghes.licenses.path",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.created",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.description",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.documentation",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.revision",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.source",
- "description": ""
- }
- ]
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "image_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "licenses",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "revision",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "source",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "manifest",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "object",
- "name": "config",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "array of objects",
- "name": "layers",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "uri",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "tag",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- }
- ]
- }
- ]
- },
- {
- "type": "string",
- "name": "created_at",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "html_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "id",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "updated_at",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "updated_at",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "repository",
- "in": "body",
- "description": "A repository on GitHub.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "sender",
- "in": "body",
- "description": "A GitHub user.
",
- "isRequired": true,
- "childParamsGroups": []
- }
- ],
- "availability": [
- "repository",
- "organization",
- "app"
- ],
- "action": "create",
- "category": "package_v2"
- }
- },
"page_build": {
"default": {
"descriptionHtml": "",
diff --git a/lib/webhooks/static/decorated/github.ae.json b/lib/webhooks/static/decorated/github.ae.json
index 506702ca72..d107070ca6 100644
--- a/lib/webhooks/static/decorated/github.ae.json
+++ b/lib/webhooks/static/decorated/github.ae.json
@@ -60926,378 +60926,6 @@
"category": "package"
}
},
- "package_v2": {
- "create": {
- "descriptionHtml": "A package was created.
",
- "summaryHtml": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"Introduction to GitHub Packages.\" For information about the APIs to manage GitHub Packages, see the GraphQL API documentation or \"Packages\" in the REST API documentation.
",
- "bodyParameters": [
- {
- "type": "string",
- "name": "action",
- "in": "body",
- "description": "",
- "isRequired": true,
- "enum": [
- "create"
- ],
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "enterprise",
- "in": "body",
- "description": "An enterprise on GitHub.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "installation",
- "in": "body",
- "description": "The GitHub App installation. This property is included when the event is configured for and sent to a GitHub App.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "organization",
- "in": "body",
- "description": "A GitHub organization.
",
- "isRequired": true,
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "package",
- "in": "body",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "created_at",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "ecosystem",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "html_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "id",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "namespace",
- "description": "",
- "isRequired": true
- },
- {
- "type": "object",
- "name": "package_version",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "blob_store",
- "description": "",
- "isRequired": true
- },
- {
- "type": "object",
- "name": "container_metadata",
- "description": "",
- "childParamsGroups": [
- {
- "type": "object",
- "name": "labels",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "object",
- "name": "all_labels",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "com.github.base_image.id",
- "description": ""
- },
- {
- "type": "string",
- "name": "com.github.base_image.repo_digest",
- "description": ""
- },
- {
- "type": "string",
- "name": "com.github.repo.branch",
- "description": ""
- },
- {
- "type": "string",
- "name": "ghes.licenses.path",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.created",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.description",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.documentation",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.revision",
- "description": ""
- },
- {
- "type": "string",
- "name": "org.opencontainers.image.source",
- "description": ""
- }
- ]
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "image_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "licenses",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "revision",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "source",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "manifest",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "object",
- "name": "config",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "array of objects",
- "name": "layers",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "media_type",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "size",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "uri",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "tag",
- "description": "",
- "isRequired": true,
- "childParamsGroups": [
- {
- "type": "string",
- "name": "digest",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- }
- ]
- }
- ]
- },
- {
- "type": "string",
- "name": "created_at",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "description",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "html_url",
- "description": "",
- "isRequired": true
- },
- {
- "type": "integer",
- "name": "id",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "name",
- "description": "",
- "isRequired": true
- },
- {
- "type": "string",
- "name": "updated_at",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "string",
- "name": "updated_at",
- "description": "",
- "isRequired": true
- }
- ]
- },
- {
- "type": "object",
- "name": "repository",
- "in": "body",
- "description": "A repository on GitHub.
",
- "childParamsGroups": []
- },
- {
- "type": "object",
- "name": "sender",
- "in": "body",
- "description": "A GitHub user.
",
- "isRequired": true,
- "childParamsGroups": []
- }
- ],
- "availability": [
- "repository",
- "organization",
- "app"
- ],
- "action": "create",
- "category": "package_v2"
- }
- },
"page_build": {
"default": {
"descriptionHtml": "",