diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index a6ac15d329..09bc7d0512 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -13564,7 +13564,7 @@ "type": "array", "description": "List of teams assigned to the organization role", "items": { - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" } }, "examples": { @@ -13630,7 +13630,7 @@ "type": "array", "description": "List of users assigned to the organization role", "items": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" } }, "examples": { @@ -96510,6 +96510,299 @@ "updated_at" ] }, + "team-role-assignment": { + "title": "A Role Assignment for a Team", + "description": "The Relationship a Team has with a role.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "$ref": "#/components/schemas/nullable-team-simple" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + }, + "team-simple": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + }, + "user-role-assignment": { + "title": "A Role Assignment for a User", + "description": "The Relationship a User has with a role.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"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" + ] + }, "package-version": { "title": "Package Version", "description": "A version of a software package", @@ -99849,89 +100142,6 @@ ], "additionalProperties": false }, - "team-simple": { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VGVhbTE=" - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/organizations/1/team/1/members{/member}" - }, - "name": { - "description": "Name of the team", - "type": "string", - "example": "Justice League" - }, - "description": { - "description": "Description of the team", - "type": "string", - "nullable": true, - "example": "A great team." - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "example": "admin" - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "example": "closed" - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "example": "notifications_enabled" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/orgs/rails/teams/core" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1/repos" - }, - "slug": { - "type": "string", - "example": "justice-league" - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ] - }, "actions-billing-usage": { "type": "object", "properties": { @@ -126556,6 +126766,56 @@ "archived_at" ] }, + "projects-v2-single-select-option": { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "projects-v2-iteration-setting": { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + }, "webhooks_number": { "description": "The pull request number.", "type": "integer" @@ -172445,6 +172705,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -172457,6 +172718,46 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] } } } diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index ea09e0a49e..adb32fcb67 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -9903,7 +9903,7 @@ paths: type: array description: List of teams assigned to the organization role items: - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" examples: default: "$ref": "#/components/examples/team-items" @@ -9949,7 +9949,7 @@ paths: type: array description: List of users assigned to the organization role items: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" examples: default: "$ref": "#/components/examples/simple-user-items" @@ -70269,6 +70269,236 @@ components: - organization - created_at - updated_at + team-role-assignment: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + user-role-assignment: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"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 package-version: title: Package Version description: A version of a software package @@ -72900,74 +73130,6 @@ components: - collaborating_teams - private_fork additionalProperties: false - team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug actions-billing-usage: type: object properties: @@ -93321,6 +93483,42 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-option: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + projects-v2-iteration-setting: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title webhooks_number: description: The pull request number. type: integer @@ -127379,6 +127577,9 @@ components: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -127389,6 +127590,24 @@ components: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" + to: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" required: - field_value - type: object diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index a6ac15d329..09bc7d0512 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -13564,7 +13564,7 @@ "type": "array", "description": "List of teams assigned to the organization role", "items": { - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" } }, "examples": { @@ -13630,7 +13630,7 @@ "type": "array", "description": "List of users assigned to the organization role", "items": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" } }, "examples": { @@ -96510,6 +96510,299 @@ "updated_at" ] }, + "team-role-assignment": { + "title": "A Role Assignment for a Team", + "description": "The Relationship a Team has with a role.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "$ref": "#/components/schemas/nullable-team-simple" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + }, + "team-simple": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + }, + "user-role-assignment": { + "title": "A Role Assignment for a User", + "description": "The Relationship a User has with a role.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"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" + ] + }, "package-version": { "title": "Package Version", "description": "A version of a software package", @@ -99849,89 +100142,6 @@ ], "additionalProperties": false }, - "team-simple": { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VGVhbTE=" - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/organizations/1/team/1/members{/member}" - }, - "name": { - "description": "Name of the team", - "type": "string", - "example": "Justice League" - }, - "description": { - "description": "Description of the team", - "type": "string", - "nullable": true, - "example": "A great team." - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "example": "admin" - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "example": "closed" - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "example": "notifications_enabled" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/orgs/rails/teams/core" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1/repos" - }, - "slug": { - "type": "string", - "example": "justice-league" - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ] - }, "actions-billing-usage": { "type": "object", "properties": { @@ -126556,6 +126766,56 @@ "archived_at" ] }, + "projects-v2-single-select-option": { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "projects-v2-iteration-setting": { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + }, "webhooks_number": { "description": "The pull request number.", "type": "integer" @@ -172445,6 +172705,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -172457,6 +172718,46 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] } } } diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index ea09e0a49e..adb32fcb67 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -9903,7 +9903,7 @@ paths: type: array description: List of teams assigned to the organization role items: - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" examples: default: "$ref": "#/components/examples/team-items" @@ -9949,7 +9949,7 @@ paths: type: array description: List of users assigned to the organization role items: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" examples: default: "$ref": "#/components/examples/simple-user-items" @@ -70269,6 +70269,236 @@ components: - organization - created_at - updated_at + team-role-assignment: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + user-role-assignment: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"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 package-version: title: Package Version description: A version of a software package @@ -72900,74 +73130,6 @@ components: - collaborating_teams - private_fork additionalProperties: false - team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug actions-billing-usage: type: object properties: @@ -93321,6 +93483,42 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-option: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + projects-v2-iteration-setting: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title webhooks_number: description: The pull request number. type: integer @@ -127379,6 +127577,9 @@ components: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -127389,6 +127590,24 @@ components: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" + to: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" required: - field_value - type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 7209afdfbf..7573ce6ca7 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -90268,8 +90268,8 @@ "type": "array", "description": "List of teams assigned to the organization role", "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", + "title": "A Role Assignment for a Team", + "description": "The Relationship a Team has with a role.", "type": "object", "properties": { "id": { @@ -90546,8 +90546,8 @@ "type": "array", "description": "List of users assigned to the organization role", "items": { - "title": "Simple User", - "description": "A GitHub user.", + "title": "A Role Assignment for a User", + "description": "The Relationship a User has with a role.", "type": "object", "properties": { "name": { @@ -788048,6 +788048,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -788060,6 +788061,134 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] } } } diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index f47fb4e9b7..0ac0d15ea7 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -768,7 +768,7 @@ paths: - subscriptions_url - type - url - type: &207 + type: &209 type: string description: The type of credit the user is receiving. enum: @@ -2751,7 +2751,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &189 + properties: &191 id: description: Unique identifier of the repository example: 42 @@ -3179,7 +3179,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &190 + required: &192 - archive_url - assignees_url - blobs_url @@ -8104,7 +8104,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &200 + - &202 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -8115,7 +8115,7 @@ paths: enum: - open - resolved - - &201 + - &203 name: secret_type in: query description: |- @@ -8125,7 +8125,7 @@ paths: required: false schema: type: string - - &202 + - &204 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -8134,7 +8134,7 @@ paths: required: false schema: type: string - - &203 + - &205 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -8150,7 +8150,7 @@ paths: - *18 - *41 - *42 - - &204 + - &206 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -8166,7 +8166,7 @@ paths: application/json: schema: type: array - items: &205 + items: &207 type: object properties: number: *45 @@ -8258,7 +8258,7 @@ paths: - inactive - unknown examples: - default: &206 + default: &208 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13146,7 +13146,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &191 + security_and_analysis: &193 nullable: true type: object properties: @@ -19278,7 +19278,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &208 + properties: &168 id: description: Unique identifier of the team type: integer @@ -19334,7 +19334,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &209 + required: &169 - id - node_id - url @@ -20593,7 +20593,7 @@ paths: application/json: schema: type: array - items: &169 + items: &171 title: Package description: A software package type: object @@ -20663,7 +20663,7 @@ paths: - created_at - updated_at examples: - default: &170 + default: &172 value: - id: 197 name: hello_docker @@ -22047,7 +22047,7 @@ paths: type: array items: *124 examples: - default: &168 + default: &170 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -23635,7 +23635,7 @@ paths: type: array items: *110 examples: - default: &175 + default: &177 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -24424,9 +24424,81 @@ paths: schema: type: array description: List of teams assigned to the organization role - items: *124 + items: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + title: Team Simple + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: *168 + required: *169 + nullable: true + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent examples: - default: *168 + default: *170 headers: Link: *50 '404': @@ -24467,7 +24539,101 @@ paths: schema: type: array description: List of users assigned to the organization role - items: *19 + items: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"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 examples: default: *155 headers: @@ -24695,9 +24861,9 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: - default: *170 + default: *172 '403': *29 '401': *25 '400': &556 @@ -24722,7 +24888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &171 + - &173 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -24740,7 +24906,7 @@ paths: - docker - nuget - container - - &172 + - &174 name: package_name description: The name of the package. in: path @@ -24753,7 +24919,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: default: value: @@ -24805,8 +24971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *171 - - *172 + - *173 + - *174 - *86 responses: '204': @@ -24839,8 +25005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *171 - - *172 + - *173 + - *174 - *86 - name: token description: package token @@ -24873,8 +25039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *171 - - *172 + - *173 + - *174 - *86 - *20 - *18 @@ -24895,7 +25061,7 @@ paths: application/json: schema: type: array - items: &173 + items: &175 title: Package Version description: A version of a software package type: object @@ -25020,10 +25186,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *171 - - *172 + - *173 + - *174 - *86 - - &174 + - &176 name: package_version_id description: Unique identifier of the package version. in: path @@ -25035,7 +25201,7 @@ paths: description: Response content: application/json: - schema: *173 + schema: *175 examples: default: value: @@ -25071,10 +25237,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *171 - - *172 - - *86 + - *173 - *174 + - *86 + - *176 responses: '204': description: Response @@ -25106,10 +25272,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *171 - - *172 - - *86 + - *173 - *174 + - *86 + - *176 responses: '204': description: Response @@ -25139,7 +25305,7 @@ paths: - *86 - *18 - *20 - - &176 + - &178 name: sort description: The property by which to sort the results. in: query @@ -25150,7 +25316,7 @@ paths: - created_at default: created_at - *40 - - &177 + - &179 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -25161,7 +25327,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &178 + - &180 name: repository description: The name of the repository to use to filter the results. in: query @@ -25169,7 +25335,7 @@ paths: schema: type: string example: Hello-World - - &179 + - &181 name: permission description: The permission to use to filter the results. in: query @@ -25177,7 +25343,7 @@ paths: schema: type: string example: issues_read - - &180 + - &182 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -25187,7 +25353,7 @@ paths: schema: type: string format: date-time - - &181 + - &183 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -25442,7 +25608,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': &182 + '204': &184 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -25486,7 +25652,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -25512,13 +25678,13 @@ paths: - *86 - *18 - *20 - - *176 - - *40 - - *177 - *178 + - *40 - *179 - *180 - *181 + - *182 + - *183 responses: '500': *121 '422': *16 @@ -25743,7 +25909,7 @@ paths: responses: '500': *121 '404': *7 - '204': *182 + '204': *184 '403': *29 '422': *16 x-github: @@ -25786,7 +25952,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -25829,7 +25995,7 @@ paths: application/json: schema: type: array - items: &183 + items: &185 title: Project description: Projects are a way to organize columns and cards of work. @@ -25999,7 +26165,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: value: @@ -26069,7 +26235,7 @@ paths: application/json: schema: type: array - items: &184 + items: &186 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -26123,7 +26289,7 @@ paths: - property_name - value_type examples: - default: &185 + default: &187 value: - property_name: environment value_type: single_select @@ -26172,7 +26338,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *184 + items: *186 minItems: 1 maxItems: 100 required: @@ -26202,9 +26368,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 '403': *29 '404': *7 x-github: @@ -26226,7 +26392,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *86 - - &186 + - &188 name: custom_property_name description: The custom property name. The name is case sensitive. in: path @@ -26238,9 +26404,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: &187 + default: &189 value: property_name: environment value_type: single_select @@ -26273,7 +26439,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *86 - - *186 + - *188 requestBody: required: true content: @@ -26332,9 +26498,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *187 + default: *189 '403': *29 '404': *7 x-github: @@ -26358,9 +26524,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *86 - - *186 + - *188 responses: - '204': *182 + '204': *184 '403': *29 '404': *7 x-github: @@ -26419,7 +26585,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &188 + items: &190 title: Custom Property Value description: Custom property name and associated value type: object @@ -26506,7 +26672,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *188 + items: *190 required: - repository_names - properties @@ -26697,7 +26863,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -27171,8 +27337,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *189 - required: *190 + properties: *191 + required: *192 nullable: true temp_clone_token: type: string @@ -27308,7 +27474,7 @@ paths: - key - name - html_url - security_and_analysis: *191 + security_and_analysis: *193 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -27920,7 +28086,7 @@ paths: application/json: schema: type: array - items: &198 + items: &200 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -27956,7 +28122,7 @@ paths: source: type: string description: The name of the source - enforcement: &194 + enforcement: &196 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -27969,7 +28135,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &195 + items: &197 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -28038,7 +28204,7 @@ paths: conditions: nullable: true anyOf: - - &192 + - &194 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -28062,7 +28228,7 @@ paths: match. items: type: string - - &196 + - &198 title: Organization ruleset conditions type: object description: 'Conditions for an organization ruleset. The @@ -28077,7 +28243,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *192 + - *194 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -28111,7 +28277,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *192 + - *194 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -28133,7 +28299,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *192 + - *194 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -28146,7 +28312,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &193 + items: &195 title: Repository ruleset property targeting definition type: object @@ -28171,12 +28337,12 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *193 + items: *195 required: - repository_property rules: type: array - items: &197 + items: &199 title: Repository Rule type: object description: A repository rule. @@ -28832,16 +28998,16 @@ paths: - branch - tag - push - enforcement: *194 + enforcement: *196 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *195 - conditions: *196 + items: *197 + conditions: *198 rules: type: array description: An array of rules within the ruleset. - items: *197 + items: *199 required: - name - enforcement @@ -28879,9 +29045,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: &199 + default: &201 value: id: 21 name: super cool ruleset @@ -29262,9 +29428,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *199 + default: *201 '404': *7 '500': *121 put: @@ -29310,16 +29476,16 @@ paths: - branch - tag - push - enforcement: *194 + enforcement: *196 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *195 - conditions: *196 + items: *197 + conditions: *198 rules: description: An array of rules within the ruleset. type: array - items: *197 + items: *199 examples: default: value: @@ -29354,9 +29520,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *199 + default: *201 '404': *7 '500': *121 delete: @@ -29403,10 +29569,10 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *86 - - *200 - - *201 - *202 - *203 + - *204 + - *205 - *40 - *20 - *18 @@ -29430,7 +29596,7 @@ paths: required: false schema: type: string - - *204 + - *206 responses: '200': description: Response @@ -29438,9 +29604,9 @@ paths: application/json: schema: type: array - items: *205 + items: *207 examples: - default: *206 + default: *208 headers: Link: *50 '404': *7 @@ -29729,7 +29895,7 @@ paths: login: type: string description: The username of the user credited. - type: *207 + type: *209 credits_detailed: type: array nullable: true @@ -29739,7 +29905,7 @@ paths: type: object properties: user: *19 - type: *207 + type: *209 state: type: string description: The state of the user's acceptance of the @@ -30181,10 +30347,10 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *208 - required: *209 + properties: *168 + required: *169 examples: - default: *168 + default: *170 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30477,7 +30643,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 headers: Link: *50 '403': *29 @@ -30634,8 +30800,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *208 - required: *209 + properties: *168 + required: *169 nullable: true members_count: type: integer @@ -32914,7 +33080,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -34428,7 +34594,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: &233 value: @@ -34529,7 +34695,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: *233 '404': @@ -44096,7 +44262,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 '404': *7 x-github: githubCloudOnly: false @@ -44156,7 +44322,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 '422': *16 x-github: githubCloudOnly: false @@ -44217,7 +44383,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 '422': *16 x-github: githubCloudOnly: false @@ -44277,7 +44443,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 '422': *16 x-github: githubCloudOnly: false @@ -68049,7 +68215,7 @@ paths: - *226 - *456 responses: - '204': *182 + '204': *184 '404': *7 x-github: githubCloudOnly: false @@ -68374,7 +68540,7 @@ paths: - *225 - *226 responses: - '204': *182 + '204': *184 '422': *15 x-github: githubCloudOnly: false @@ -68396,7 +68562,7 @@ paths: - *225 - *226 responses: - '204': *182 + '204': *184 '422': *15 x-github: githubCloudOnly: false @@ -68439,7 +68605,7 @@ paths: application/json: schema: type: array - items: *183 + items: *185 examples: default: value: @@ -68526,7 +68692,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: *233 '401': *25 @@ -68561,7 +68727,7 @@ paths: application/json: schema: type: array - items: *188 + items: *190 examples: default: value: @@ -68605,7 +68771,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *188 + items: *190 required: - properties examples: @@ -75343,7 +75509,7 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: default: value: @@ -75413,16 +75579,16 @@ paths: - branch - tag - push - enforcement: *194 + enforcement: *196 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *195 - conditions: *192 + items: *197 + conditions: *194 rules: type: array description: An array of rules within the ruleset. - items: *197 + items: *199 required: - name - enforcement @@ -75453,7 +75619,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: &505 value: @@ -75599,7 +75765,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: *505 '404': *7 @@ -75648,16 +75814,16 @@ paths: - branch - tag - push - enforcement: *194 + enforcement: *196 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *195 - conditions: *192 + items: *197 + conditions: *194 rules: description: An array of rules within the ruleset. type: array - items: *197 + items: *199 examples: default: value: @@ -75685,7 +75851,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: *505 '404': *7 @@ -75736,16 +75902,16 @@ paths: parameters: - *225 - *226 - - *200 - - *201 - *202 - *203 + - *204 + - *205 - *40 - *20 - *18 - *506 - *507 - - *204 + - *206 responses: '200': description: Response @@ -76090,7 +76256,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &635 + items: &637 type: object properties: type: @@ -76593,7 +76759,7 @@ paths: login: type: string description: The username of the user credited. - type: *207 + type: *209 required: - login - type @@ -77266,7 +77432,7 @@ paths: login: type: string description: The username of the user credited. - type: *207 + type: *209 required: - login - type @@ -77581,7 +77747,7 @@ paths: - 1124 - -435 '202': *91 - '204': *182 + '204': *184 '422': description: Repository contains more than 10,000 commits x-github: @@ -77651,7 +77817,7 @@ paths: total: 89 week: 1336280400 '202': *91 - '204': *182 + '204': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77752,7 +77918,7 @@ paths: d: 77 c: 10 '202': *91 - '204': *182 + '204': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77953,7 +78119,7 @@ paths: - - 0 - 2 - 21 - '204': *182 + '204': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78547,7 +78713,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 headers: Link: *50 '404': *7 @@ -82921,7 +83087,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 '404': *7 @@ -85811,7 +85977,7 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: default: &555 value: @@ -88436,7 +88602,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 '404': *7 @@ -88522,7 +88688,7 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: default: *555 '400': *556 @@ -88545,14 +88711,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 + - *174 responses: '200': description: Response content: application/json: - schema: *169 + schema: *171 examples: default: &567 value: @@ -88667,8 +88833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 + - *174 responses: '204': description: Response @@ -88698,8 +88864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 + - *174 - name: token description: package token schema: @@ -88731,8 +88897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *171 - - *172 + - *173 + - *174 - *20 - *18 - name: state @@ -88752,7 +88918,7 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: default: value: @@ -88801,15 +88967,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 - *174 + - *176 responses: '200': description: Response content: application/json: - schema: *173 + schema: *175 examples: default: value: @@ -88845,9 +89011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 - *174 + - *176 responses: '204': description: Response @@ -88877,9 +89043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 - *174 + - *176 responses: '204': description: Response @@ -88935,7 +89101,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: value: @@ -90164,7 +90330,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 '304': *37 @@ -90428,7 +90594,7 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: default: *555 '403': *29 @@ -91060,7 +91226,7 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: default: *555 '403': *29 @@ -91085,15 +91251,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *171 - - *172 + - *173 + - *174 - *114 responses: '200': description: Response content: application/json: - schema: *169 + schema: *171 examples: default: *567 x-github: @@ -91116,8 +91282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *171 - - *172 + - *173 + - *174 - *114 responses: '204': @@ -91150,8 +91316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *171 - - *172 + - *173 + - *174 - *114 - name: token description: package token @@ -91184,8 +91350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *171 - - *172 + - *173 + - *174 - *114 responses: '200': @@ -91194,7 +91360,7 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: default: value: @@ -91252,16 +91418,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *171 - - *172 + - *173 - *174 + - *176 - *114 responses: '200': description: Response content: application/json: - schema: *173 + schema: *175 examples: default: value: @@ -91296,10 +91462,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *171 - - *172 - - *114 + - *173 - *174 + - *114 + - *176 responses: '204': description: Response @@ -91331,10 +91497,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *171 - - *172 - - *114 + - *173 - *174 + - *114 + - *176 responses: '204': description: Response @@ -91378,7 +91544,7 @@ paths: application/json: schema: type: array - items: *183 + items: *185 examples: default: value: @@ -91653,7 +91819,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -91879,7 +92045,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -99444,7 +99610,7 @@ x-webhooks: type: string enum: - created - definition: *184 + definition: *186 enterprise: *577 installation: *578 organization: *579 @@ -99611,7 +99777,7 @@ x-webhooks: type: string enum: - updated - definition: *184 + definition: *186 enterprise: *577 installation: *578 organization: *579 @@ -99699,11 +99865,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *188 + items: *190 old_property_values: type: array description: The old custom property values for the repository. - items: *188 + items: *190 required: - action - repository @@ -112839,7 +113005,7 @@ x-webhooks: type: string enum: - edited - changes: &627 + changes: &629 description: The changes to the comment. type: object properties: @@ -127864,7 +128030,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &630 + assignee: &632 title: User type: object nullable: true @@ -137114,7 +137280,7 @@ x-webhooks: type: string enum: - archived - changes: &623 + changes: &625 type: object properties: archived_at: @@ -137513,6 +137679,9 @@ x-webhooks: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -137523,6 +137692,58 @@ x-webhooks: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - &623 + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + - &624 + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title + to: + nullable: true + oneOf: + - type: string + - type: integer + - *623 + - *624 required: - field_value - type: object @@ -137718,7 +137939,7 @@ x-webhooks: type: string enum: - restored - changes: *623 + changes: *625 installation: *578 organization: *579 projects_v2_item: *622 @@ -137958,7 +138179,7 @@ x-webhooks: assignee: *598 enterprise: *577 installation: *578 - number: &624 + number: &626 description: The pull request number. type: integer organization: *579 @@ -144980,9 +145201,9 @@ x-webhooks: - closed enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: &625 + pull_request: &627 allOf: - *463 - type: object @@ -145129,9 +145350,9 @@ x-webhooks: - converted_to_draft enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -145214,9 +145435,9 @@ x-webhooks: - demilestoned enterprise: *577 milestone: *445 - number: *624 + number: *626 organization: *579 - pull_request: &626 + pull_request: &628 title: Pull Request type: object properties: @@ -149909,9 +150130,9 @@ x-webhooks: - from enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -152321,7 +152542,7 @@ x-webhooks: enterprise: *577 installation: *578 label: *597 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -154662,7 +154883,7 @@ x-webhooks: - locked enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -157000,9 +157221,9 @@ x-webhooks: - milestoned enterprise: *577 milestone: *445 - number: *624 + number: *626 organization: *579 - pull_request: *626 + pull_request: *628 repository: *580 sender: *581 required: @@ -157084,9 +157305,9 @@ x-webhooks: - opened enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -157170,9 +157391,9 @@ x-webhooks: - ready_for_review enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -157255,9 +157476,9 @@ x-webhooks: - reopened enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -159850,7 +160071,7 @@ x-webhooks: type: string enum: - deleted - comment: &628 + comment: &630 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -162349,8 +162570,8 @@ x-webhooks: type: string enum: - edited - changes: *627 - comment: *628 + changes: *629 + comment: *630 enterprise: *577 installation: *578 organization: *579 @@ -168996,7 +169217,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *580 - review: &629 + review: &631 description: The review that was affected. type: object properties: @@ -180961,7 +181182,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *580 - review: *629 + review: *631 sender: *581 required: - action @@ -185890,7 +186111,7 @@ x-webhooks: type: string enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -188219,10 +188440,10 @@ x-webhooks: type: string enum: - unassigned - assignee: *630 + assignee: *632 enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -190563,7 +190784,7 @@ x-webhooks: enterprise: *577 installation: *578 label: *597 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -192895,7 +193116,7 @@ x-webhooks: - unlocked enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -197005,7 +197226,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: &631 + release: &633 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -197388,7 +197609,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: *631 + release: *633 repository: *580 sender: *581 required: @@ -197500,7 +197721,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: *631 + release: *633 repository: *580 sender: *581 required: @@ -197967,7 +198188,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: &632 + release: &634 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -198350,7 +198571,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: *631 + release: *633 repository: *580 sender: *581 required: @@ -198430,7 +198651,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: *632 + release: *634 repository: *580 sender: *581 required: @@ -199453,7 +199674,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - repository_ruleset: *198 + repository_ruleset: *200 sender: *581 required: - action @@ -199535,7 +199756,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - repository_ruleset: *198 + repository_ruleset: *200 sender: *581 required: - action @@ -199617,7 +199838,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - repository_ruleset: *198 + repository_ruleset: *200 changes: type: object properties: @@ -199636,16 +199857,16 @@ x-webhooks: properties: added: type: array - items: *192 + items: *194 deleted: type: array - items: *192 + items: *194 updated: type: array items: type: object properties: - condition: *192 + condition: *194 changes: type: object properties: @@ -199678,16 +199899,16 @@ x-webhooks: properties: added: type: array - items: *197 + items: *199 deleted: type: array - items: *197 + items: *199 updated: type: array items: type: object properties: - rule: *197 + rule: *199 changes: type: object properties: @@ -200079,7 +200300,7 @@ x-webhooks: type: string enum: - create - alert: &633 + alert: &635 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -200486,7 +200707,7 @@ x-webhooks: type: string enum: - reopen - alert: *633 + alert: *635 enterprise: *577 installation: *578 organization: *579 @@ -200769,7 +200990,7 @@ x-webhooks: type: string enum: - created - alert: &634 + alert: &636 type: object properties: number: *45 @@ -200933,9 +201154,9 @@ x-webhooks: type: string enum: - created - alert: *634 + alert: *636 installation: *578 - location: *635 + location: *637 organization: *579 repository: *580 sender: *581 @@ -201173,7 +201394,7 @@ x-webhooks: type: string enum: - reopened - alert: *634 + alert: *636 enterprise: *577 installation: *578 organization: *579 @@ -201255,7 +201476,7 @@ x-webhooks: type: string enum: - resolved - alert: *634 + alert: *636 enterprise: *577 installation: *578 organization: *579 @@ -201337,7 +201558,7 @@ x-webhooks: type: string enum: - validated - alert: *634 + alert: *636 enterprise: *577 installation: *578 organization: *579 @@ -201421,7 +201642,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - security_advisory: &636 + security_advisory: &638 description: The details of the security advisory, including summary, description, and severity. type: object @@ -201607,7 +201828,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - security_advisory: *636 + security_advisory: *638 sender: *581 required: - action @@ -201866,7 +202087,7 @@ x-webhooks: from: type: object properties: - security_and_analysis: *191 + security_and_analysis: *193 enterprise: *577 installation: *578 organization: *579 @@ -201953,7 +202174,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - sponsorship: &637 + sponsorship: &639 type: object properties: created_at: @@ -202253,7 +202474,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - sponsorship @@ -202346,7 +202567,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - changes @@ -202423,7 +202644,7 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &638 + effective_date: &640 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. @@ -202433,7 +202654,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - sponsorship @@ -202507,7 +202728,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &639 + changes: &641 type: object properties: tier: @@ -202551,13 +202772,13 @@ x-webhooks: - from required: - tier - effective_date: *638 + effective_date: *640 enterprise: *577 installation: *578 organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - changes @@ -202634,13 +202855,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *639 + changes: *641 enterprise: *577 installation: *578 organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - changes @@ -203334,7 +203555,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - team: &640 + team: &642 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -203981,7 +204202,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - team @@ -204514,7 +204735,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - team @@ -205048,7 +205269,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - team @@ -205649,7 +205870,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - changes @@ -206184,7 +206405,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - team diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 7209afdfbf..7573ce6ca7 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -90268,8 +90268,8 @@ "type": "array", "description": "List of teams assigned to the organization role", "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", + "title": "A Role Assignment for a Team", + "description": "The Relationship a Team has with a role.", "type": "object", "properties": { "id": { @@ -90546,8 +90546,8 @@ "type": "array", "description": "List of users assigned to the organization role", "items": { - "title": "Simple User", - "description": "A GitHub user.", + "title": "A Role Assignment for a User", + "description": "The Relationship a User has with a role.", "type": "object", "properties": { "name": { @@ -788048,6 +788048,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -788060,6 +788061,134 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] } } } diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index f47fb4e9b7..0ac0d15ea7 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -768,7 +768,7 @@ paths: - subscriptions_url - type - url - type: &207 + type: &209 type: string description: The type of credit the user is receiving. enum: @@ -2751,7 +2751,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &189 + properties: &191 id: description: Unique identifier of the repository example: 42 @@ -3179,7 +3179,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &190 + required: &192 - archive_url - assignees_url - blobs_url @@ -8104,7 +8104,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &200 + - &202 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -8115,7 +8115,7 @@ paths: enum: - open - resolved - - &201 + - &203 name: secret_type in: query description: |- @@ -8125,7 +8125,7 @@ paths: required: false schema: type: string - - &202 + - &204 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -8134,7 +8134,7 @@ paths: required: false schema: type: string - - &203 + - &205 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -8150,7 +8150,7 @@ paths: - *18 - *41 - *42 - - &204 + - &206 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -8166,7 +8166,7 @@ paths: application/json: schema: type: array - items: &205 + items: &207 type: object properties: number: *45 @@ -8258,7 +8258,7 @@ paths: - inactive - unknown examples: - default: &206 + default: &208 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13146,7 +13146,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &191 + security_and_analysis: &193 nullable: true type: object properties: @@ -19278,7 +19278,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &208 + properties: &168 id: description: Unique identifier of the team type: integer @@ -19334,7 +19334,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &209 + required: &169 - id - node_id - url @@ -20593,7 +20593,7 @@ paths: application/json: schema: type: array - items: &169 + items: &171 title: Package description: A software package type: object @@ -20663,7 +20663,7 @@ paths: - created_at - updated_at examples: - default: &170 + default: &172 value: - id: 197 name: hello_docker @@ -22047,7 +22047,7 @@ paths: type: array items: *124 examples: - default: &168 + default: &170 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -23635,7 +23635,7 @@ paths: type: array items: *110 examples: - default: &175 + default: &177 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -24424,9 +24424,81 @@ paths: schema: type: array description: List of teams assigned to the organization role - items: *124 + items: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + title: Team Simple + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: *168 + required: *169 + nullable: true + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent examples: - default: *168 + default: *170 headers: Link: *50 '404': @@ -24467,7 +24539,101 @@ paths: schema: type: array description: List of users assigned to the organization role - items: *19 + items: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"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 examples: default: *155 headers: @@ -24695,9 +24861,9 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: - default: *170 + default: *172 '403': *29 '401': *25 '400': &556 @@ -24722,7 +24888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &171 + - &173 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -24740,7 +24906,7 @@ paths: - docker - nuget - container - - &172 + - &174 name: package_name description: The name of the package. in: path @@ -24753,7 +24919,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *171 examples: default: value: @@ -24805,8 +24971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *171 - - *172 + - *173 + - *174 - *86 responses: '204': @@ -24839,8 +25005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *171 - - *172 + - *173 + - *174 - *86 - name: token description: package token @@ -24873,8 +25039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *171 - - *172 + - *173 + - *174 - *86 - *20 - *18 @@ -24895,7 +25061,7 @@ paths: application/json: schema: type: array - items: &173 + items: &175 title: Package Version description: A version of a software package type: object @@ -25020,10 +25186,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *171 - - *172 + - *173 + - *174 - *86 - - &174 + - &176 name: package_version_id description: Unique identifier of the package version. in: path @@ -25035,7 +25201,7 @@ paths: description: Response content: application/json: - schema: *173 + schema: *175 examples: default: value: @@ -25071,10 +25237,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *171 - - *172 - - *86 + - *173 - *174 + - *86 + - *176 responses: '204': description: Response @@ -25106,10 +25272,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *171 - - *172 - - *86 + - *173 - *174 + - *86 + - *176 responses: '204': description: Response @@ -25139,7 +25305,7 @@ paths: - *86 - *18 - *20 - - &176 + - &178 name: sort description: The property by which to sort the results. in: query @@ -25150,7 +25316,7 @@ paths: - created_at default: created_at - *40 - - &177 + - &179 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -25161,7 +25327,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &178 + - &180 name: repository description: The name of the repository to use to filter the results. in: query @@ -25169,7 +25335,7 @@ paths: schema: type: string example: Hello-World - - &179 + - &181 name: permission description: The permission to use to filter the results. in: query @@ -25177,7 +25343,7 @@ paths: schema: type: string example: issues_read - - &180 + - &182 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -25187,7 +25353,7 @@ paths: schema: type: string format: date-time - - &181 + - &183 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -25442,7 +25608,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': &182 + '204': &184 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -25486,7 +25652,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -25512,13 +25678,13 @@ paths: - *86 - *18 - *20 - - *176 - - *40 - - *177 - *178 + - *40 - *179 - *180 - *181 + - *182 + - *183 responses: '500': *121 '422': *16 @@ -25743,7 +25909,7 @@ paths: responses: '500': *121 '404': *7 - '204': *182 + '204': *184 '403': *29 '422': *16 x-github: @@ -25786,7 +25952,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -25829,7 +25995,7 @@ paths: application/json: schema: type: array - items: &183 + items: &185 title: Project description: Projects are a way to organize columns and cards of work. @@ -25999,7 +26165,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: value: @@ -26069,7 +26235,7 @@ paths: application/json: schema: type: array - items: &184 + items: &186 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -26123,7 +26289,7 @@ paths: - property_name - value_type examples: - default: &185 + default: &187 value: - property_name: environment value_type: single_select @@ -26172,7 +26338,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *184 + items: *186 minItems: 1 maxItems: 100 required: @@ -26202,9 +26368,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 '403': *29 '404': *7 x-github: @@ -26226,7 +26392,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *86 - - &186 + - &188 name: custom_property_name description: The custom property name. The name is case sensitive. in: path @@ -26238,9 +26404,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: &187 + default: &189 value: property_name: environment value_type: single_select @@ -26273,7 +26439,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *86 - - *186 + - *188 requestBody: required: true content: @@ -26332,9 +26498,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *186 examples: - default: *187 + default: *189 '403': *29 '404': *7 x-github: @@ -26358,9 +26524,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *86 - - *186 + - *188 responses: - '204': *182 + '204': *184 '403': *29 '404': *7 x-github: @@ -26419,7 +26585,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &188 + items: &190 title: Custom Property Value description: Custom property name and associated value type: object @@ -26506,7 +26672,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *188 + items: *190 required: - repository_names - properties @@ -26697,7 +26863,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -27171,8 +27337,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *189 - required: *190 + properties: *191 + required: *192 nullable: true temp_clone_token: type: string @@ -27308,7 +27474,7 @@ paths: - key - name - html_url - security_and_analysis: *191 + security_and_analysis: *193 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -27920,7 +28086,7 @@ paths: application/json: schema: type: array - items: &198 + items: &200 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -27956,7 +28122,7 @@ paths: source: type: string description: The name of the source - enforcement: &194 + enforcement: &196 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -27969,7 +28135,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &195 + items: &197 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -28038,7 +28204,7 @@ paths: conditions: nullable: true anyOf: - - &192 + - &194 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -28062,7 +28228,7 @@ paths: match. items: type: string - - &196 + - &198 title: Organization ruleset conditions type: object description: 'Conditions for an organization ruleset. The @@ -28077,7 +28243,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *192 + - *194 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -28111,7 +28277,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *192 + - *194 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -28133,7 +28299,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *192 + - *194 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -28146,7 +28312,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &193 + items: &195 title: Repository ruleset property targeting definition type: object @@ -28171,12 +28337,12 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *193 + items: *195 required: - repository_property rules: type: array - items: &197 + items: &199 title: Repository Rule type: object description: A repository rule. @@ -28832,16 +28998,16 @@ paths: - branch - tag - push - enforcement: *194 + enforcement: *196 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *195 - conditions: *196 + items: *197 + conditions: *198 rules: type: array description: An array of rules within the ruleset. - items: *197 + items: *199 required: - name - enforcement @@ -28879,9 +29045,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: &199 + default: &201 value: id: 21 name: super cool ruleset @@ -29262,9 +29428,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *199 + default: *201 '404': *7 '500': *121 put: @@ -29310,16 +29476,16 @@ paths: - branch - tag - push - enforcement: *194 + enforcement: *196 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *195 - conditions: *196 + items: *197 + conditions: *198 rules: description: An array of rules within the ruleset. type: array - items: *197 + items: *199 examples: default: value: @@ -29354,9 +29520,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *199 + default: *201 '404': *7 '500': *121 delete: @@ -29403,10 +29569,10 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *86 - - *200 - - *201 - *202 - *203 + - *204 + - *205 - *40 - *20 - *18 @@ -29430,7 +29596,7 @@ paths: required: false schema: type: string - - *204 + - *206 responses: '200': description: Response @@ -29438,9 +29604,9 @@ paths: application/json: schema: type: array - items: *205 + items: *207 examples: - default: *206 + default: *208 headers: Link: *50 '404': *7 @@ -29729,7 +29895,7 @@ paths: login: type: string description: The username of the user credited. - type: *207 + type: *209 credits_detailed: type: array nullable: true @@ -29739,7 +29905,7 @@ paths: type: object properties: user: *19 - type: *207 + type: *209 state: type: string description: The state of the user's acceptance of the @@ -30181,10 +30347,10 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *208 - required: *209 + properties: *168 + required: *169 examples: - default: *168 + default: *170 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30477,7 +30643,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 headers: Link: *50 '403': *29 @@ -30634,8 +30800,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *208 - required: *209 + properties: *168 + required: *169 nullable: true members_count: type: integer @@ -32914,7 +33080,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -34428,7 +34594,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: &233 value: @@ -34529,7 +34695,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: *233 '404': @@ -44096,7 +44262,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 '404': *7 x-github: githubCloudOnly: false @@ -44156,7 +44322,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 '422': *16 x-github: githubCloudOnly: false @@ -44217,7 +44383,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 '422': *16 x-github: githubCloudOnly: false @@ -44277,7 +44443,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 '422': *16 x-github: githubCloudOnly: false @@ -68049,7 +68215,7 @@ paths: - *226 - *456 responses: - '204': *182 + '204': *184 '404': *7 x-github: githubCloudOnly: false @@ -68374,7 +68540,7 @@ paths: - *225 - *226 responses: - '204': *182 + '204': *184 '422': *15 x-github: githubCloudOnly: false @@ -68396,7 +68562,7 @@ paths: - *225 - *226 responses: - '204': *182 + '204': *184 '422': *15 x-github: githubCloudOnly: false @@ -68439,7 +68605,7 @@ paths: application/json: schema: type: array - items: *183 + items: *185 examples: default: value: @@ -68526,7 +68692,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: *233 '401': *25 @@ -68561,7 +68727,7 @@ paths: application/json: schema: type: array - items: *188 + items: *190 examples: default: value: @@ -68605,7 +68771,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *188 + items: *190 required: - properties examples: @@ -75343,7 +75509,7 @@ paths: application/json: schema: type: array - items: *198 + items: *200 examples: default: value: @@ -75413,16 +75579,16 @@ paths: - branch - tag - push - enforcement: *194 + enforcement: *196 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *195 - conditions: *192 + items: *197 + conditions: *194 rules: type: array description: An array of rules within the ruleset. - items: *197 + items: *199 required: - name - enforcement @@ -75453,7 +75619,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: &505 value: @@ -75599,7 +75765,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: *505 '404': *7 @@ -75648,16 +75814,16 @@ paths: - branch - tag - push - enforcement: *194 + enforcement: *196 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *195 - conditions: *192 + items: *197 + conditions: *194 rules: description: An array of rules within the ruleset. type: array - items: *197 + items: *199 examples: default: value: @@ -75685,7 +75851,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: default: *505 '404': *7 @@ -75736,16 +75902,16 @@ paths: parameters: - *225 - *226 - - *200 - - *201 - *202 - *203 + - *204 + - *205 - *40 - *20 - *18 - *506 - *507 - - *204 + - *206 responses: '200': description: Response @@ -76090,7 +76256,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &635 + items: &637 type: object properties: type: @@ -76593,7 +76759,7 @@ paths: login: type: string description: The username of the user credited. - type: *207 + type: *209 required: - login - type @@ -77266,7 +77432,7 @@ paths: login: type: string description: The username of the user credited. - type: *207 + type: *209 required: - login - type @@ -77581,7 +77747,7 @@ paths: - 1124 - -435 '202': *91 - '204': *182 + '204': *184 '422': description: Repository contains more than 10,000 commits x-github: @@ -77651,7 +77817,7 @@ paths: total: 89 week: 1336280400 '202': *91 - '204': *182 + '204': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77752,7 +77918,7 @@ paths: d: 77 c: 10 '202': *91 - '204': *182 + '204': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77953,7 +78119,7 @@ paths: - - 0 - 2 - 21 - '204': *182 + '204': *184 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78547,7 +78713,7 @@ paths: type: array items: *124 examples: - default: *168 + default: *170 headers: Link: *50 '404': *7 @@ -82921,7 +83087,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 '404': *7 @@ -85811,7 +85977,7 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: default: &555 value: @@ -88436,7 +88602,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 '404': *7 @@ -88522,7 +88688,7 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: default: *555 '400': *556 @@ -88545,14 +88711,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 + - *174 responses: '200': description: Response content: application/json: - schema: *169 + schema: *171 examples: default: &567 value: @@ -88667,8 +88833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 + - *174 responses: '204': description: Response @@ -88698,8 +88864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 + - *174 - name: token description: package token schema: @@ -88731,8 +88897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *171 - - *172 + - *173 + - *174 - *20 - *18 - name: state @@ -88752,7 +88918,7 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: default: value: @@ -88801,15 +88967,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 - *174 + - *176 responses: '200': description: Response content: application/json: - schema: *173 + schema: *175 examples: default: value: @@ -88845,9 +89011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 - *174 + - *176 responses: '204': description: Response @@ -88877,9 +89043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *171 - - *172 + - *173 - *174 + - *176 responses: '204': description: Response @@ -88935,7 +89101,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *185 examples: default: value: @@ -90164,7 +90330,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 '304': *37 @@ -90428,7 +90594,7 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: default: *555 '403': *29 @@ -91060,7 +91226,7 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: default: *555 '403': *29 @@ -91085,15 +91251,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *171 - - *172 + - *173 + - *174 - *114 responses: '200': description: Response content: application/json: - schema: *169 + schema: *171 examples: default: *567 x-github: @@ -91116,8 +91282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *171 - - *172 + - *173 + - *174 - *114 responses: '204': @@ -91150,8 +91316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *171 - - *172 + - *173 + - *174 - *114 - name: token description: package token @@ -91184,8 +91350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *171 - - *172 + - *173 + - *174 - *114 responses: '200': @@ -91194,7 +91360,7 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: default: value: @@ -91252,16 +91418,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *171 - - *172 + - *173 - *174 + - *176 - *114 responses: '200': description: Response content: application/json: - schema: *173 + schema: *175 examples: default: value: @@ -91296,10 +91462,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *171 - - *172 - - *114 + - *173 - *174 + - *114 + - *176 responses: '204': description: Response @@ -91331,10 +91497,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *171 - - *172 - - *114 + - *173 - *174 + - *114 + - *176 responses: '204': description: Response @@ -91378,7 +91544,7 @@ paths: application/json: schema: type: array - items: *183 + items: *185 examples: default: value: @@ -91653,7 +91819,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -91879,7 +92045,7 @@ paths: type: array items: *110 examples: - default: *175 + default: *177 headers: Link: *50 x-github: @@ -99444,7 +99610,7 @@ x-webhooks: type: string enum: - created - definition: *184 + definition: *186 enterprise: *577 installation: *578 organization: *579 @@ -99611,7 +99777,7 @@ x-webhooks: type: string enum: - updated - definition: *184 + definition: *186 enterprise: *577 installation: *578 organization: *579 @@ -99699,11 +99865,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *188 + items: *190 old_property_values: type: array description: The old custom property values for the repository. - items: *188 + items: *190 required: - action - repository @@ -112839,7 +113005,7 @@ x-webhooks: type: string enum: - edited - changes: &627 + changes: &629 description: The changes to the comment. type: object properties: @@ -127864,7 +128030,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &630 + assignee: &632 title: User type: object nullable: true @@ -137114,7 +137280,7 @@ x-webhooks: type: string enum: - archived - changes: &623 + changes: &625 type: object properties: archived_at: @@ -137513,6 +137679,9 @@ x-webhooks: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -137523,6 +137692,58 @@ x-webhooks: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - &623 + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + - &624 + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title + to: + nullable: true + oneOf: + - type: string + - type: integer + - *623 + - *624 required: - field_value - type: object @@ -137718,7 +137939,7 @@ x-webhooks: type: string enum: - restored - changes: *623 + changes: *625 installation: *578 organization: *579 projects_v2_item: *622 @@ -137958,7 +138179,7 @@ x-webhooks: assignee: *598 enterprise: *577 installation: *578 - number: &624 + number: &626 description: The pull request number. type: integer organization: *579 @@ -144980,9 +145201,9 @@ x-webhooks: - closed enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: &625 + pull_request: &627 allOf: - *463 - type: object @@ -145129,9 +145350,9 @@ x-webhooks: - converted_to_draft enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -145214,9 +145435,9 @@ x-webhooks: - demilestoned enterprise: *577 milestone: *445 - number: *624 + number: *626 organization: *579 - pull_request: &626 + pull_request: &628 title: Pull Request type: object properties: @@ -149909,9 +150130,9 @@ x-webhooks: - from enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -152321,7 +152542,7 @@ x-webhooks: enterprise: *577 installation: *578 label: *597 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -154662,7 +154883,7 @@ x-webhooks: - locked enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -157000,9 +157221,9 @@ x-webhooks: - milestoned enterprise: *577 milestone: *445 - number: *624 + number: *626 organization: *579 - pull_request: *626 + pull_request: *628 repository: *580 sender: *581 required: @@ -157084,9 +157305,9 @@ x-webhooks: - opened enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -157170,9 +157391,9 @@ x-webhooks: - ready_for_review enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -157255,9 +157476,9 @@ x-webhooks: - reopened enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 - pull_request: *625 + pull_request: *627 repository: *580 sender: *581 required: @@ -159850,7 +160071,7 @@ x-webhooks: type: string enum: - deleted - comment: &628 + comment: &630 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -162349,8 +162570,8 @@ x-webhooks: type: string enum: - edited - changes: *627 - comment: *628 + changes: *629 + comment: *630 enterprise: *577 installation: *578 organization: *579 @@ -168996,7 +169217,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *580 - review: &629 + review: &631 description: The review that was affected. type: object properties: @@ -180961,7 +181182,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *580 - review: *629 + review: *631 sender: *581 required: - action @@ -185890,7 +186111,7 @@ x-webhooks: type: string enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -188219,10 +188440,10 @@ x-webhooks: type: string enum: - unassigned - assignee: *630 + assignee: *632 enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -190563,7 +190784,7 @@ x-webhooks: enterprise: *577 installation: *578 label: *597 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -192895,7 +193116,7 @@ x-webhooks: - unlocked enterprise: *577 installation: *578 - number: *624 + number: *626 organization: *579 pull_request: title: Pull Request @@ -197005,7 +197226,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: &631 + release: &633 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -197388,7 +197609,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: *631 + release: *633 repository: *580 sender: *581 required: @@ -197500,7 +197721,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: *631 + release: *633 repository: *580 sender: *581 required: @@ -197967,7 +198188,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: &632 + release: &634 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -198350,7 +198571,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: *631 + release: *633 repository: *580 sender: *581 required: @@ -198430,7 +198651,7 @@ x-webhooks: enterprise: *577 installation: *578 organization: *579 - release: *632 + release: *634 repository: *580 sender: *581 required: @@ -199453,7 +199674,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - repository_ruleset: *198 + repository_ruleset: *200 sender: *581 required: - action @@ -199535,7 +199756,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - repository_ruleset: *198 + repository_ruleset: *200 sender: *581 required: - action @@ -199617,7 +199838,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - repository_ruleset: *198 + repository_ruleset: *200 changes: type: object properties: @@ -199636,16 +199857,16 @@ x-webhooks: properties: added: type: array - items: *192 + items: *194 deleted: type: array - items: *192 + items: *194 updated: type: array items: type: object properties: - condition: *192 + condition: *194 changes: type: object properties: @@ -199678,16 +199899,16 @@ x-webhooks: properties: added: type: array - items: *197 + items: *199 deleted: type: array - items: *197 + items: *199 updated: type: array items: type: object properties: - rule: *197 + rule: *199 changes: type: object properties: @@ -200079,7 +200300,7 @@ x-webhooks: type: string enum: - create - alert: &633 + alert: &635 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -200486,7 +200707,7 @@ x-webhooks: type: string enum: - reopen - alert: *633 + alert: *635 enterprise: *577 installation: *578 organization: *579 @@ -200769,7 +200990,7 @@ x-webhooks: type: string enum: - created - alert: &634 + alert: &636 type: object properties: number: *45 @@ -200933,9 +201154,9 @@ x-webhooks: type: string enum: - created - alert: *634 + alert: *636 installation: *578 - location: *635 + location: *637 organization: *579 repository: *580 sender: *581 @@ -201173,7 +201394,7 @@ x-webhooks: type: string enum: - reopened - alert: *634 + alert: *636 enterprise: *577 installation: *578 organization: *579 @@ -201255,7 +201476,7 @@ x-webhooks: type: string enum: - resolved - alert: *634 + alert: *636 enterprise: *577 installation: *578 organization: *579 @@ -201337,7 +201558,7 @@ x-webhooks: type: string enum: - validated - alert: *634 + alert: *636 enterprise: *577 installation: *578 organization: *579 @@ -201421,7 +201642,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - security_advisory: &636 + security_advisory: &638 description: The details of the security advisory, including summary, description, and severity. type: object @@ -201607,7 +201828,7 @@ x-webhooks: installation: *578 organization: *579 repository: *580 - security_advisory: *636 + security_advisory: *638 sender: *581 required: - action @@ -201866,7 +202087,7 @@ x-webhooks: from: type: object properties: - security_and_analysis: *191 + security_and_analysis: *193 enterprise: *577 installation: *578 organization: *579 @@ -201953,7 +202174,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - sponsorship: &637 + sponsorship: &639 type: object properties: created_at: @@ -202253,7 +202474,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - sponsorship @@ -202346,7 +202567,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - changes @@ -202423,7 +202644,7 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &638 + effective_date: &640 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. @@ -202433,7 +202654,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - sponsorship @@ -202507,7 +202728,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &639 + changes: &641 type: object properties: tier: @@ -202551,13 +202772,13 @@ x-webhooks: - from required: - tier - effective_date: *638 + effective_date: *640 enterprise: *577 installation: *578 organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - changes @@ -202634,13 +202855,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *639 + changes: *641 enterprise: *577 installation: *578 organization: *579 repository: *580 sender: *581 - sponsorship: *637 + sponsorship: *639 required: - action - changes @@ -203334,7 +203555,7 @@ x-webhooks: organization: *579 repository: *580 sender: *581 - team: &640 + team: &642 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -203981,7 +204202,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - team @@ -204514,7 +204735,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - team @@ -205048,7 +205269,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - team @@ -205649,7 +205870,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - changes @@ -206184,7 +206405,7 @@ x-webhooks: - topics - visibility sender: *581 - team: *640 + team: *642 required: - action - team diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index c6af04da9b..2401259754 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -106796,8 +106796,8 @@ "type": "array", "description": "List of teams assigned to the organization role", "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", + "title": "A Role Assignment for a Team", + "description": "The Relationship a Team has with a role.", "type": "object", "properties": { "id": { @@ -107074,8 +107074,8 @@ "type": "array", "description": "List of users assigned to the organization role", "items": { - "title": "Simple User", - "description": "A GitHub user.", + "title": "A Role Assignment for a User", + "description": "The Relationship a User has with a role.", "type": "object", "properties": { "name": { @@ -835239,6 +835239,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -835251,6 +835252,134 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] } } } diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index b14080501b..edfe668e53 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -776,7 +776,7 @@ paths: - subscriptions_url - type - url - type: &252 + type: &254 type: string description: The type of credit the user is receiving. enum: @@ -2759,7 +2759,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &232 + properties: &234 id: description: Unique identifier of the repository example: 42 @@ -3187,7 +3187,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &233 + required: &235 - archive_url - assignees_url - blobs_url @@ -11629,7 +11629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &245 + - &247 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -11640,7 +11640,7 @@ paths: enum: - open - resolved - - &246 + - &248 name: secret_type in: query description: |- @@ -11650,7 +11650,7 @@ paths: required: false schema: type: string - - &247 + - &249 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -11659,7 +11659,7 @@ paths: required: false schema: type: string - - &248 + - &250 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -11675,7 +11675,7 @@ paths: - *18 - *65 - *66 - - &249 + - &251 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -11691,7 +11691,7 @@ paths: application/json: schema: type: array - items: &250 + items: &252 type: object properties: number: *71 @@ -11783,7 +11783,7 @@ paths: - inactive - unknown examples: - default: &251 + default: &253 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -17343,7 +17343,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &234 + security_and_analysis: &236 nullable: true type: object properties: @@ -23769,7 +23769,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &253 + properties: &211 id: description: Unique identifier of the team type: integer @@ -23825,7 +23825,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &254 + required: &212 - id - node_id - url @@ -25734,7 +25734,7 @@ paths: application/json: schema: type: array - items: &212 + items: &214 title: Package description: A software package type: object @@ -25804,7 +25804,7 @@ paths: - created_at - updated_at examples: - default: &213 + default: &215 value: - id: 197 name: hello_docker @@ -26302,7 +26302,7 @@ paths: application/json: schema: type: array - items: &235 + items: &237 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -26316,7 +26316,7 @@ paths: - name - description examples: - default: &236 + default: &238 value: - name: add_assignee description: Assign or remove a user @@ -27449,7 +27449,7 @@ paths: type: array items: *163 examples: - default: &211 + default: &213 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -29037,7 +29037,7 @@ paths: type: array items: *134 examples: - default: &218 + default: &220 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29822,9 +29822,81 @@ paths: schema: type: array description: List of teams assigned to the organization role - items: *163 + items: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + title: Team Simple + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: *211 + required: *212 + nullable: true + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent examples: - default: *211 + default: *213 headers: Link: *39 '404': @@ -29865,7 +29937,101 @@ paths: schema: type: array description: List of users assigned to the organization role - items: *19 + items: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"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 examples: default: *199 headers: @@ -30093,9 +30259,9 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: - default: *213 + default: *215 '403': *29 '401': *25 '400': &627 @@ -30120,7 +30286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &214 + - &216 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -30138,7 +30304,7 @@ paths: - docker - nuget - container - - &215 + - &217 name: package_name description: The name of the package. in: path @@ -30151,7 +30317,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -30203,8 +30369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *214 - - *215 + - *216 + - *217 - *117 responses: '204': @@ -30237,8 +30403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *214 - - *215 + - *216 + - *217 - *117 - name: token description: package token @@ -30271,8 +30437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *214 - - *215 + - *216 + - *217 - *117 - *20 - *18 @@ -30293,7 +30459,7 @@ paths: application/json: schema: type: array - items: &216 + items: &218 title: Package Version description: A version of a software package type: object @@ -30418,10 +30584,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *214 - - *215 + - *216 + - *217 - *117 - - &217 + - &219 name: package_version_id description: Unique identifier of the package version. in: path @@ -30433,7 +30599,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -30469,10 +30635,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *214 - - *215 - - *117 + - *216 - *217 + - *117 + - *219 responses: '204': description: Response @@ -30504,10 +30670,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *214 - - *215 - - *117 + - *216 - *217 + - *117 + - *219 responses: '204': description: Response @@ -30537,7 +30703,7 @@ paths: - *117 - *18 - *20 - - &219 + - &221 name: sort description: The property by which to sort the results. in: query @@ -30548,7 +30714,7 @@ paths: - created_at default: created_at - *67 - - &220 + - &222 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -30559,7 +30725,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &221 + - &223 name: repository description: The name of the repository to use to filter the results. in: query @@ -30567,7 +30733,7 @@ paths: schema: type: string example: Hello-World - - &222 + - &224 name: permission description: The permission to use to filter the results. in: query @@ -30575,7 +30741,7 @@ paths: schema: type: string example: issues_read - - &223 + - &225 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30585,7 +30751,7 @@ paths: schema: type: string format: date-time - - &224 + - &226 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30840,7 +31006,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': &225 + '204': &227 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -30884,7 +31050,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -30910,13 +31076,13 @@ paths: - *117 - *18 - *20 - - *219 - - *67 - - *220 - *221 + - *67 - *222 - *223 - *224 + - *225 + - *226 responses: '500': *82 '422': *16 @@ -31141,7 +31307,7 @@ paths: responses: '500': *82 '404': *7 - '204': *225 + '204': *227 '403': *29 '422': *16 x-github: @@ -31184,7 +31350,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -31227,7 +31393,7 @@ paths: application/json: schema: type: array - items: &226 + items: &228 title: Project description: Projects are a way to organize columns and cards of work. @@ -31397,7 +31563,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: value: @@ -31467,7 +31633,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -31521,7 +31687,7 @@ paths: - property_name - value_type examples: - default: &228 + default: &230 value: - property_name: environment value_type: single_select @@ -31570,7 +31736,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *227 + items: *229 minItems: 1 maxItems: 100 required: @@ -31600,9 +31766,9 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: - default: *228 + default: *230 '403': *29 '404': *7 x-github: @@ -31624,7 +31790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *117 - - &229 + - &231 name: custom_property_name description: The custom property name. The name is case sensitive. in: path @@ -31636,9 +31802,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: &230 + default: &232 value: property_name: environment value_type: single_select @@ -31671,7 +31837,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *117 - - *229 + - *231 requestBody: required: true content: @@ -31730,9 +31896,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *230 + default: *232 '403': *29 '404': *7 x-github: @@ -31756,9 +31922,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *117 - - *229 + - *231 responses: - '204': *225 + '204': *227 '403': *29 '404': *7 x-github: @@ -31817,7 +31983,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &231 + items: &233 title: Custom Property Value description: Custom property name and associated value type: object @@ -31904,7 +32070,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *231 + items: *233 required: - repository_names - properties @@ -32096,7 +32262,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -32571,8 +32737,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *232 - required: *233 + properties: *234 + required: *235 nullable: true temp_clone_token: type: string @@ -32708,7 +32874,7 @@ paths: - key - name - html_url - security_and_analysis: *234 + security_and_analysis: *236 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -33318,9 +33484,9 @@ paths: application/json: schema: type: array - items: *235 + items: *237 examples: - default: *236 + default: *238 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33352,7 +33518,7 @@ paths: application/json: schema: type: array - items: &243 + items: &245 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -33388,7 +33554,7 @@ paths: source: type: string description: The name of the source - enforcement: &239 + enforcement: &241 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -33400,7 +33566,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &240 + items: &242 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -33469,7 +33635,7 @@ paths: conditions: nullable: true anyOf: - - &237 + - &239 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -33493,7 +33659,7 @@ paths: match. items: type: string - - &241 + - &243 title: Organization ruleset conditions type: object description: 'Conditions for an organization ruleset. The @@ -33508,7 +33674,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *237 + - *239 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -33542,7 +33708,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *237 + - *239 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -33564,7 +33730,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *237 + - *239 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -33577,7 +33743,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &238 + items: &240 title: Repository ruleset property targeting definition type: object @@ -33602,12 +33768,12 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *238 + items: *240 required: - repository_property rules: type: array - items: &242 + items: &244 title: Repository Rule type: object description: A repository rule. @@ -34263,16 +34429,16 @@ paths: - branch - tag - push - enforcement: *239 + enforcement: *241 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *240 - conditions: *241 + items: *242 + conditions: *243 rules: type: array description: An array of rules within the ruleset. - items: *242 + items: *244 required: - name - enforcement @@ -34310,9 +34476,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: &244 + default: &246 value: id: 21 name: super cool ruleset @@ -34693,9 +34859,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '404': *7 '500': *82 put: @@ -34741,16 +34907,16 @@ paths: - branch - tag - push - enforcement: *239 + enforcement: *241 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *240 - conditions: *241 + items: *242 + conditions: *243 rules: description: An array of rules within the ruleset. type: array - items: *242 + items: *244 examples: default: value: @@ -34785,9 +34951,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '404': *7 '500': *82 delete: @@ -34834,10 +35000,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *117 - - *245 - - *246 - *247 - *248 + - *249 + - *250 - *67 - *20 - *18 @@ -34861,7 +35027,7 @@ paths: required: false schema: type: string - - *249 + - *251 responses: '200': description: Response @@ -34869,9 +35035,9 @@ paths: application/json: schema: type: array - items: *250 + items: *252 examples: - default: *251 + default: *253 headers: Link: *39 '404': *7 @@ -35160,7 +35326,7 @@ paths: login: type: string description: The username of the user credited. - type: *252 + type: *254 credits_detailed: type: array nullable: true @@ -35170,7 +35336,7 @@ paths: type: object properties: user: *19 - type: *252 + type: *254 state: type: string description: The state of the user's acceptance of the @@ -35612,10 +35778,10 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *253 - required: *254 + properties: *211 + required: *212 examples: - default: *211 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35923,7 +36089,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 headers: Link: *39 '403': *29 @@ -36080,8 +36246,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *253 - required: *254 + properties: *211 + required: *212 nullable: true members_count: type: integer @@ -38457,7 +38623,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -40078,7 +40244,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: &292 value: @@ -40179,7 +40345,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: *292 '404': @@ -49769,7 +49935,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 '404': *7 x-github: githubCloudOnly: false @@ -49829,7 +49995,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 '422': *16 x-github: githubCloudOnly: false @@ -49890,7 +50056,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 '422': *16 x-github: githubCloudOnly: false @@ -49950,7 +50116,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 '422': *16 x-github: githubCloudOnly: false @@ -73783,7 +73949,7 @@ paths: - *283 - *500 responses: - '204': *225 + '204': *227 '404': *7 x-github: githubCloudOnly: false @@ -74108,7 +74274,7 @@ paths: - *282 - *283 responses: - '204': *225 + '204': *227 '422': *15 x-github: githubCloudOnly: false @@ -74130,7 +74296,7 @@ paths: - *282 - *283 responses: - '204': *225 + '204': *227 '422': *15 x-github: githubCloudOnly: false @@ -74173,7 +74339,7 @@ paths: application/json: schema: type: array - items: *226 + items: *228 examples: default: value: @@ -74260,7 +74426,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: *292 '401': *25 @@ -74295,7 +74461,7 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: default: value: @@ -74339,7 +74505,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *231 + items: *233 required: - properties examples: @@ -81078,7 +81244,7 @@ paths: application/json: schema: type: array - items: *243 + items: *245 examples: default: value: @@ -81148,16 +81314,16 @@ paths: - branch - tag - push - enforcement: *239 + enforcement: *241 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *240 - conditions: *237 + items: *242 + conditions: *239 rules: type: array description: An array of rules within the ruleset. - items: *242 + items: *244 required: - name - enforcement @@ -81188,7 +81354,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: default: &549 value: @@ -81334,7 +81500,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: default: *549 '404': *7 @@ -81383,16 +81549,16 @@ paths: - branch - tag - push - enforcement: *239 + enforcement: *241 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *240 - conditions: *237 + items: *242 + conditions: *239 rules: description: An array of rules within the ruleset. type: array - items: *242 + items: *244 examples: default: value: @@ -81420,7 +81586,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: default: *549 '404': *7 @@ -81471,16 +81637,16 @@ paths: parameters: - *282 - *283 - - *245 - - *246 - *247 - *248 + - *249 + - *250 - *67 - *20 - *18 - *550 - *551 - - *249 + - *251 responses: '200': description: Response @@ -81825,7 +81991,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &707 + items: &709 type: object properties: type: @@ -82328,7 +82494,7 @@ paths: login: type: string description: The username of the user credited. - type: *252 + type: *254 required: - login - type @@ -83001,7 +83167,7 @@ paths: login: type: string description: The username of the user credited. - type: *252 + type: *254 required: - login - type @@ -83316,7 +83482,7 @@ paths: - 1124 - -435 '202': *122 - '204': *225 + '204': *227 '422': description: Repository contains more than 10,000 commits x-github: @@ -83386,7 +83552,7 @@ paths: total: 89 week: 1336280400 '202': *122 - '204': *225 + '204': *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83487,7 +83653,7 @@ paths: d: 77 c: 10 '202': *122 - '204': *225 + '204': *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83688,7 +83854,7 @@ paths: - - 0 - 2 - 21 - '204': *225 + '204': *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84282,7 +84448,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 headers: Link: *39 '404': *7 @@ -90659,7 +90825,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 '404': *7 @@ -93441,7 +93607,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: &626 value: @@ -96066,7 +96232,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 '404': *7 @@ -96152,7 +96318,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: *626 '400': *627 @@ -96175,14 +96341,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: default: &638 value: @@ -96297,8 +96463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 + - *217 responses: '204': description: Response @@ -96328,8 +96494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 + - *217 - name: token description: package token schema: @@ -96361,8 +96527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *214 - - *215 + - *216 + - *217 - *20 - *18 - name: state @@ -96382,7 +96548,7 @@ paths: application/json: schema: type: array - items: *216 + items: *218 examples: default: value: @@ -96431,15 +96597,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 - *217 + - *219 responses: '200': description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -96475,9 +96641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 - *217 + - *219 responses: '204': description: Response @@ -96507,9 +96673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 - *217 + - *219 responses: '204': description: Response @@ -96565,7 +96731,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: value: @@ -97794,7 +97960,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 '304': *37 @@ -98058,7 +98224,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: *626 '403': *29 @@ -98690,7 +98856,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: *626 '403': *29 @@ -98715,15 +98881,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *214 - - *215 + - *216 + - *217 - *156 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: default: *638 x-github: @@ -98746,8 +98912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *214 - - *215 + - *216 + - *217 - *156 responses: '204': @@ -98780,8 +98946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *214 - - *215 + - *216 + - *217 - *156 - name: token description: package token @@ -98814,8 +98980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *214 - - *215 + - *216 + - *217 - *156 responses: '200': @@ -98824,7 +98990,7 @@ paths: application/json: schema: type: array - items: *216 + items: *218 examples: default: value: @@ -98882,16 +99048,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *214 - - *215 + - *216 - *217 + - *219 - *156 responses: '200': description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -98926,10 +99092,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *214 - - *215 - - *156 + - *216 - *217 + - *156 + - *219 responses: '204': description: Response @@ -98961,10 +99127,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *214 - - *215 - - *156 + - *216 - *217 + - *156 + - *219 responses: '204': description: Response @@ -99008,7 +99174,7 @@ paths: application/json: schema: type: array - items: *226 + items: *228 examples: default: value: @@ -99283,7 +99449,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -99509,7 +99675,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -108004,7 +108170,7 @@ x-webhooks: type: string enum: - created - definition: *227 + definition: *229 enterprise: *642 installation: *643 organization: *644 @@ -108171,7 +108337,7 @@ x-webhooks: type: string enum: - updated - definition: *227 + definition: *229 enterprise: *642 installation: *643 organization: *644 @@ -108259,11 +108425,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *231 + items: *233 old_property_values: type: array description: The old custom property values for the repository. - items: *231 + items: *233 required: - action - repository @@ -121400,7 +121566,7 @@ x-webhooks: type: string enum: - edited - changes: &699 + changes: &701 description: The changes to the comment. type: object properties: @@ -136425,7 +136591,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &702 + assignee: &704 title: User type: object nullable: true @@ -145675,7 +145841,7 @@ x-webhooks: type: string enum: - archived - changes: &695 + changes: &697 type: object properties: archived_at: @@ -146074,6 +146240,9 @@ x-webhooks: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -146084,6 +146253,58 @@ x-webhooks: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - &695 + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + - &696 + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title + to: + nullable: true + oneOf: + - type: string + - type: integer + - *695 + - *696 required: - field_value - type: object @@ -146279,7 +146500,7 @@ x-webhooks: type: string enum: - restored - changes: *695 + changes: *697 installation: *643 organization: *644 projects_v2_item: *694 @@ -146519,7 +146740,7 @@ x-webhooks: assignee: *670 enterprise: *642 installation: *643 - number: &696 + number: &698 description: The pull request number. type: integer organization: *644 @@ -153541,9 +153762,9 @@ x-webhooks: - closed enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: &697 + pull_request: &699 allOf: - *507 - type: object @@ -153690,9 +153911,9 @@ x-webhooks: - converted_to_draft enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -153775,9 +153996,9 @@ x-webhooks: - demilestoned enterprise: *642 milestone: *489 - number: *696 + number: *698 organization: *644 - pull_request: &698 + pull_request: &700 title: Pull Request type: object properties: @@ -158470,9 +158691,9 @@ x-webhooks: - from enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -160882,7 +161103,7 @@ x-webhooks: enterprise: *642 installation: *643 label: *669 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -163223,7 +163444,7 @@ x-webhooks: - locked enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -165561,9 +165782,9 @@ x-webhooks: - milestoned enterprise: *642 milestone: *489 - number: *696 + number: *698 organization: *644 - pull_request: *698 + pull_request: *700 repository: *645 sender: *646 required: @@ -165645,9 +165866,9 @@ x-webhooks: - opened enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -165731,9 +165952,9 @@ x-webhooks: - ready_for_review enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -165816,9 +166037,9 @@ x-webhooks: - reopened enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -168411,7 +168632,7 @@ x-webhooks: type: string enum: - deleted - comment: &700 + comment: &702 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -170910,8 +171131,8 @@ x-webhooks: type: string enum: - edited - changes: *699 - comment: *700 + changes: *701 + comment: *702 enterprise: *642 installation: *643 organization: *644 @@ -177557,7 +177778,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *645 - review: &701 + review: &703 description: The review that was affected. type: object properties: @@ -189522,7 +189743,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *645 - review: *701 + review: *703 sender: *646 required: - action @@ -194451,7 +194672,7 @@ x-webhooks: type: string enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -196780,10 +197001,10 @@ x-webhooks: type: string enum: - unassigned - assignee: *702 + assignee: *704 enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -199124,7 +199345,7 @@ x-webhooks: enterprise: *642 installation: *643 label: *669 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -201456,7 +201677,7 @@ x-webhooks: - unlocked enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -205566,7 +205787,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: &703 + release: &705 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -205949,7 +206170,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: *703 + release: *705 repository: *645 sender: *646 required: @@ -206061,7 +206282,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: *703 + release: *705 repository: *645 sender: *646 required: @@ -206528,7 +206749,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: &704 + release: &706 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -206911,7 +207132,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: *703 + release: *705 repository: *645 sender: *646 required: @@ -206991,7 +207212,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: *704 + release: *706 repository: *645 sender: *646 required: @@ -208014,7 +208235,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - repository_ruleset: *243 + repository_ruleset: *245 sender: *646 required: - action @@ -208096,7 +208317,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - repository_ruleset: *243 + repository_ruleset: *245 sender: *646 required: - action @@ -208178,7 +208399,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - repository_ruleset: *243 + repository_ruleset: *245 changes: type: object properties: @@ -208197,16 +208418,16 @@ x-webhooks: properties: added: type: array - items: *237 + items: *239 deleted: type: array - items: *237 + items: *239 updated: type: array items: type: object properties: - condition: *237 + condition: *239 changes: type: object properties: @@ -208239,16 +208460,16 @@ x-webhooks: properties: added: type: array - items: *242 + items: *244 deleted: type: array - items: *242 + items: *244 updated: type: array items: type: object properties: - rule: *242 + rule: *244 changes: type: object properties: @@ -208640,7 +208861,7 @@ x-webhooks: type: string enum: - create - alert: &705 + alert: &707 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209047,7 +209268,7 @@ x-webhooks: type: string enum: - reopen - alert: *705 + alert: *707 enterprise: *642 installation: *643 organization: *644 @@ -209330,7 +209551,7 @@ x-webhooks: type: string enum: - created - alert: &706 + alert: &708 type: object properties: number: *71 @@ -209494,9 +209715,9 @@ x-webhooks: type: string enum: - created - alert: *706 + alert: *708 installation: *643 - location: *707 + location: *709 organization: *644 repository: *645 sender: *646 @@ -209734,7 +209955,7 @@ x-webhooks: type: string enum: - reopened - alert: *706 + alert: *708 enterprise: *642 installation: *643 organization: *644 @@ -209816,7 +210037,7 @@ x-webhooks: type: string enum: - resolved - alert: *706 + alert: *708 enterprise: *642 installation: *643 organization: *644 @@ -209898,7 +210119,7 @@ x-webhooks: type: string enum: - validated - alert: *706 + alert: *708 enterprise: *642 installation: *643 organization: *644 @@ -209982,7 +210203,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - security_advisory: &708 + security_advisory: &710 description: The details of the security advisory, including summary, description, and severity. type: object @@ -210168,7 +210389,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - security_advisory: *708 + security_advisory: *710 sender: *646 required: - action @@ -210427,7 +210648,7 @@ x-webhooks: from: type: object properties: - security_and_analysis: *234 + security_and_analysis: *236 enterprise: *642 installation: *643 organization: *644 @@ -210514,7 +210735,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - sponsorship: &709 + sponsorship: &711 type: object properties: created_at: @@ -210814,7 +211035,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - sponsorship @@ -210907,7 +211128,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - changes @@ -210984,7 +211205,7 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &710 + effective_date: &712 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. @@ -210994,7 +211215,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - sponsorship @@ -211068,7 +211289,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &711 + changes: &713 type: object properties: tier: @@ -211112,13 +211333,13 @@ x-webhooks: - from required: - tier - effective_date: *710 + effective_date: *712 enterprise: *642 installation: *643 organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - changes @@ -211195,13 +211416,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *711 + changes: *713 enterprise: *642 installation: *643 organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - changes @@ -211895,7 +212116,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - team: &712 + team: &714 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -212542,7 +212763,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - team @@ -213075,7 +213296,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - team @@ -213609,7 +213830,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - team @@ -214210,7 +214431,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - changes @@ -214745,7 +214966,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - team diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index c6af04da9b..2401259754 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -106796,8 +106796,8 @@ "type": "array", "description": "List of teams assigned to the organization role", "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", + "title": "A Role Assignment for a Team", + "description": "The Relationship a Team has with a role.", "type": "object", "properties": { "id": { @@ -107074,8 +107074,8 @@ "type": "array", "description": "List of users assigned to the organization role", "items": { - "title": "Simple User", - "description": "A GitHub user.", + "title": "A Role Assignment for a User", + "description": "The Relationship a User has with a role.", "type": "object", "properties": { "name": { @@ -835239,6 +835239,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -835251,6 +835252,134 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] } } } diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index b14080501b..edfe668e53 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -776,7 +776,7 @@ paths: - subscriptions_url - type - url - type: &252 + type: &254 type: string description: The type of credit the user is receiving. enum: @@ -2759,7 +2759,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &232 + properties: &234 id: description: Unique identifier of the repository example: 42 @@ -3187,7 +3187,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &233 + required: &235 - archive_url - assignees_url - blobs_url @@ -11629,7 +11629,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &245 + - &247 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -11640,7 +11640,7 @@ paths: enum: - open - resolved - - &246 + - &248 name: secret_type in: query description: |- @@ -11650,7 +11650,7 @@ paths: required: false schema: type: string - - &247 + - &249 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -11659,7 +11659,7 @@ paths: required: false schema: type: string - - &248 + - &250 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -11675,7 +11675,7 @@ paths: - *18 - *65 - *66 - - &249 + - &251 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -11691,7 +11691,7 @@ paths: application/json: schema: type: array - items: &250 + items: &252 type: object properties: number: *71 @@ -11783,7 +11783,7 @@ paths: - inactive - unknown examples: - default: &251 + default: &253 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -17343,7 +17343,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &234 + security_and_analysis: &236 nullable: true type: object properties: @@ -23769,7 +23769,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &253 + properties: &211 id: description: Unique identifier of the team type: integer @@ -23825,7 +23825,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &254 + required: &212 - id - node_id - url @@ -25734,7 +25734,7 @@ paths: application/json: schema: type: array - items: &212 + items: &214 title: Package description: A software package type: object @@ -25804,7 +25804,7 @@ paths: - created_at - updated_at examples: - default: &213 + default: &215 value: - id: 197 name: hello_docker @@ -26302,7 +26302,7 @@ paths: application/json: schema: type: array - items: &235 + items: &237 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -26316,7 +26316,7 @@ paths: - name - description examples: - default: &236 + default: &238 value: - name: add_assignee description: Assign or remove a user @@ -27449,7 +27449,7 @@ paths: type: array items: *163 examples: - default: &211 + default: &213 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -29037,7 +29037,7 @@ paths: type: array items: *134 examples: - default: &218 + default: &220 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29822,9 +29822,81 @@ paths: schema: type: array description: List of teams assigned to the organization role - items: *163 + items: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + title: Team Simple + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: *211 + required: *212 + nullable: true + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent examples: - default: *211 + default: *213 headers: Link: *39 '404': @@ -29865,7 +29937,101 @@ paths: schema: type: array description: List of users assigned to the organization role - items: *19 + items: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"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 examples: default: *199 headers: @@ -30093,9 +30259,9 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: - default: *213 + default: *215 '403': *29 '401': *25 '400': &627 @@ -30120,7 +30286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &214 + - &216 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -30138,7 +30304,7 @@ paths: - docker - nuget - container - - &215 + - &217 name: package_name description: The name of the package. in: path @@ -30151,7 +30317,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -30203,8 +30369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *214 - - *215 + - *216 + - *217 - *117 responses: '204': @@ -30237,8 +30403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *214 - - *215 + - *216 + - *217 - *117 - name: token description: package token @@ -30271,8 +30437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *214 - - *215 + - *216 + - *217 - *117 - *20 - *18 @@ -30293,7 +30459,7 @@ paths: application/json: schema: type: array - items: &216 + items: &218 title: Package Version description: A version of a software package type: object @@ -30418,10 +30584,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *214 - - *215 + - *216 + - *217 - *117 - - &217 + - &219 name: package_version_id description: Unique identifier of the package version. in: path @@ -30433,7 +30599,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -30469,10 +30635,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *214 - - *215 - - *117 + - *216 - *217 + - *117 + - *219 responses: '204': description: Response @@ -30504,10 +30670,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *214 - - *215 - - *117 + - *216 - *217 + - *117 + - *219 responses: '204': description: Response @@ -30537,7 +30703,7 @@ paths: - *117 - *18 - *20 - - &219 + - &221 name: sort description: The property by which to sort the results. in: query @@ -30548,7 +30714,7 @@ paths: - created_at default: created_at - *67 - - &220 + - &222 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -30559,7 +30725,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &221 + - &223 name: repository description: The name of the repository to use to filter the results. in: query @@ -30567,7 +30733,7 @@ paths: schema: type: string example: Hello-World - - &222 + - &224 name: permission description: The permission to use to filter the results. in: query @@ -30575,7 +30741,7 @@ paths: schema: type: string example: issues_read - - &223 + - &225 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30585,7 +30751,7 @@ paths: schema: type: string format: date-time - - &224 + - &226 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30840,7 +31006,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': &225 + '204': &227 description: A header with no content is returned. x-github: githubCloudOnly: false @@ -30884,7 +31050,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -30910,13 +31076,13 @@ paths: - *117 - *18 - *20 - - *219 - - *67 - - *220 - *221 + - *67 - *222 - *223 - *224 + - *225 + - *226 responses: '500': *82 '422': *16 @@ -31141,7 +31307,7 @@ paths: responses: '500': *82 '404': *7 - '204': *225 + '204': *227 '403': *29 '422': *16 x-github: @@ -31184,7 +31350,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -31227,7 +31393,7 @@ paths: application/json: schema: type: array - items: &226 + items: &228 title: Project description: Projects are a way to organize columns and cards of work. @@ -31397,7 +31563,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: value: @@ -31467,7 +31633,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -31521,7 +31687,7 @@ paths: - property_name - value_type examples: - default: &228 + default: &230 value: - property_name: environment value_type: single_select @@ -31570,7 +31736,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *227 + items: *229 minItems: 1 maxItems: 100 required: @@ -31600,9 +31766,9 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: - default: *228 + default: *230 '403': *29 '404': *7 x-github: @@ -31624,7 +31790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *117 - - &229 + - &231 name: custom_property_name description: The custom property name. The name is case sensitive. in: path @@ -31636,9 +31802,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: &230 + default: &232 value: property_name: environment value_type: single_select @@ -31671,7 +31837,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *117 - - *229 + - *231 requestBody: required: true content: @@ -31730,9 +31896,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: - default: *230 + default: *232 '403': *29 '404': *7 x-github: @@ -31756,9 +31922,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *117 - - *229 + - *231 responses: - '204': *225 + '204': *227 '403': *29 '404': *7 x-github: @@ -31817,7 +31983,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &231 + items: &233 title: Custom Property Value description: Custom property name and associated value type: object @@ -31904,7 +32070,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *231 + items: *233 required: - repository_names - properties @@ -32096,7 +32262,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -32571,8 +32737,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *232 - required: *233 + properties: *234 + required: *235 nullable: true temp_clone_token: type: string @@ -32708,7 +32874,7 @@ paths: - key - name - html_url - security_and_analysis: *234 + security_and_analysis: *236 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -33318,9 +33484,9 @@ paths: application/json: schema: type: array - items: *235 + items: *237 examples: - default: *236 + default: *238 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33352,7 +33518,7 @@ paths: application/json: schema: type: array - items: &243 + items: &245 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -33388,7 +33554,7 @@ paths: source: type: string description: The name of the source - enforcement: &239 + enforcement: &241 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -33400,7 +33566,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &240 + items: &242 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -33469,7 +33635,7 @@ paths: conditions: nullable: true anyOf: - - &237 + - &239 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -33493,7 +33659,7 @@ paths: match. items: type: string - - &241 + - &243 title: Organization ruleset conditions type: object description: 'Conditions for an organization ruleset. The @@ -33508,7 +33674,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *237 + - *239 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -33542,7 +33708,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *237 + - *239 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -33564,7 +33730,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *237 + - *239 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -33577,7 +33743,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &238 + items: &240 title: Repository ruleset property targeting definition type: object @@ -33602,12 +33768,12 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *238 + items: *240 required: - repository_property rules: type: array - items: &242 + items: &244 title: Repository Rule type: object description: A repository rule. @@ -34263,16 +34429,16 @@ paths: - branch - tag - push - enforcement: *239 + enforcement: *241 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *240 - conditions: *241 + items: *242 + conditions: *243 rules: type: array description: An array of rules within the ruleset. - items: *242 + items: *244 required: - name - enforcement @@ -34310,9 +34476,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: &244 + default: &246 value: id: 21 name: super cool ruleset @@ -34693,9 +34859,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '404': *7 '500': *82 put: @@ -34741,16 +34907,16 @@ paths: - branch - tag - push - enforcement: *239 + enforcement: *241 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *240 - conditions: *241 + items: *242 + conditions: *243 rules: description: An array of rules within the ruleset. type: array - items: *242 + items: *244 examples: default: value: @@ -34785,9 +34951,9 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: - default: *244 + default: *246 '404': *7 '500': *82 delete: @@ -34834,10 +35000,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *117 - - *245 - - *246 - *247 - *248 + - *249 + - *250 - *67 - *20 - *18 @@ -34861,7 +35027,7 @@ paths: required: false schema: type: string - - *249 + - *251 responses: '200': description: Response @@ -34869,9 +35035,9 @@ paths: application/json: schema: type: array - items: *250 + items: *252 examples: - default: *251 + default: *253 headers: Link: *39 '404': *7 @@ -35160,7 +35326,7 @@ paths: login: type: string description: The username of the user credited. - type: *252 + type: *254 credits_detailed: type: array nullable: true @@ -35170,7 +35336,7 @@ paths: type: object properties: user: *19 - type: *252 + type: *254 state: type: string description: The state of the user's acceptance of the @@ -35612,10 +35778,10 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *253 - required: *254 + properties: *211 + required: *212 examples: - default: *211 + default: *213 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35923,7 +36089,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 headers: Link: *39 '403': *29 @@ -36080,8 +36246,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *253 - required: *254 + properties: *211 + required: *212 nullable: true members_count: type: integer @@ -38457,7 +38623,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -40078,7 +40244,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: &292 value: @@ -40179,7 +40345,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: *292 '404': @@ -49769,7 +49935,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 '404': *7 x-github: githubCloudOnly: false @@ -49829,7 +49995,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 '422': *16 x-github: githubCloudOnly: false @@ -49890,7 +50056,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 '422': *16 x-github: githubCloudOnly: false @@ -49950,7 +50116,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 '422': *16 x-github: githubCloudOnly: false @@ -73783,7 +73949,7 @@ paths: - *283 - *500 responses: - '204': *225 + '204': *227 '404': *7 x-github: githubCloudOnly: false @@ -74108,7 +74274,7 @@ paths: - *282 - *283 responses: - '204': *225 + '204': *227 '422': *15 x-github: githubCloudOnly: false @@ -74130,7 +74296,7 @@ paths: - *282 - *283 responses: - '204': *225 + '204': *227 '422': *15 x-github: githubCloudOnly: false @@ -74173,7 +74339,7 @@ paths: application/json: schema: type: array - items: *226 + items: *228 examples: default: value: @@ -74260,7 +74426,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: *292 '401': *25 @@ -74295,7 +74461,7 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: default: value: @@ -74339,7 +74505,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *231 + items: *233 required: - properties examples: @@ -81078,7 +81244,7 @@ paths: application/json: schema: type: array - items: *243 + items: *245 examples: default: value: @@ -81148,16 +81314,16 @@ paths: - branch - tag - push - enforcement: *239 + enforcement: *241 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *240 - conditions: *237 + items: *242 + conditions: *239 rules: type: array description: An array of rules within the ruleset. - items: *242 + items: *244 required: - name - enforcement @@ -81188,7 +81354,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: default: &549 value: @@ -81334,7 +81500,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: default: *549 '404': *7 @@ -81383,16 +81549,16 @@ paths: - branch - tag - push - enforcement: *239 + enforcement: *241 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *240 - conditions: *237 + items: *242 + conditions: *239 rules: description: An array of rules within the ruleset. type: array - items: *242 + items: *244 examples: default: value: @@ -81420,7 +81586,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *245 examples: default: *549 '404': *7 @@ -81471,16 +81637,16 @@ paths: parameters: - *282 - *283 - - *245 - - *246 - *247 - *248 + - *249 + - *250 - *67 - *20 - *18 - *550 - *551 - - *249 + - *251 responses: '200': description: Response @@ -81825,7 +81991,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &707 + items: &709 type: object properties: type: @@ -82328,7 +82494,7 @@ paths: login: type: string description: The username of the user credited. - type: *252 + type: *254 required: - login - type @@ -83001,7 +83167,7 @@ paths: login: type: string description: The username of the user credited. - type: *252 + type: *254 required: - login - type @@ -83316,7 +83482,7 @@ paths: - 1124 - -435 '202': *122 - '204': *225 + '204': *227 '422': description: Repository contains more than 10,000 commits x-github: @@ -83386,7 +83552,7 @@ paths: total: 89 week: 1336280400 '202': *122 - '204': *225 + '204': *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83487,7 +83653,7 @@ paths: d: 77 c: 10 '202': *122 - '204': *225 + '204': *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83688,7 +83854,7 @@ paths: - - 0 - 2 - 21 - '204': *225 + '204': *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84282,7 +84448,7 @@ paths: type: array items: *163 examples: - default: *211 + default: *213 headers: Link: *39 '404': *7 @@ -90659,7 +90825,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 '404': *7 @@ -93441,7 +93607,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: &626 value: @@ -96066,7 +96232,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 '404': *7 @@ -96152,7 +96318,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: *626 '400': *627 @@ -96175,14 +96341,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: default: &638 value: @@ -96297,8 +96463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 + - *217 responses: '204': description: Response @@ -96328,8 +96494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 + - *217 - name: token description: package token schema: @@ -96361,8 +96527,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *214 - - *215 + - *216 + - *217 - *20 - *18 - name: state @@ -96382,7 +96548,7 @@ paths: application/json: schema: type: array - items: *216 + items: *218 examples: default: value: @@ -96431,15 +96597,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 - *217 + - *219 responses: '200': description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -96475,9 +96641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 - *217 + - *219 responses: '204': description: Response @@ -96507,9 +96673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *214 - - *215 + - *216 - *217 + - *219 responses: '204': description: Response @@ -96565,7 +96731,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *228 examples: default: value: @@ -97794,7 +97960,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 '304': *37 @@ -98058,7 +98224,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: *626 '403': *29 @@ -98690,7 +98856,7 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: default: *626 '403': *29 @@ -98715,15 +98881,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *214 - - *215 + - *216 + - *217 - *156 responses: '200': description: Response content: application/json: - schema: *212 + schema: *214 examples: default: *638 x-github: @@ -98746,8 +98912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *214 - - *215 + - *216 + - *217 - *156 responses: '204': @@ -98780,8 +98946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *214 - - *215 + - *216 + - *217 - *156 - name: token description: package token @@ -98814,8 +98980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *214 - - *215 + - *216 + - *217 - *156 responses: '200': @@ -98824,7 +98990,7 @@ paths: application/json: schema: type: array - items: *216 + items: *218 examples: default: value: @@ -98882,16 +99048,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *214 - - *215 + - *216 - *217 + - *219 - *156 responses: '200': description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -98926,10 +99092,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *214 - - *215 - - *156 + - *216 - *217 + - *156 + - *219 responses: '204': description: Response @@ -98961,10 +99127,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *214 - - *215 - - *156 + - *216 - *217 + - *156 + - *219 responses: '204': description: Response @@ -99008,7 +99174,7 @@ paths: application/json: schema: type: array - items: *226 + items: *228 examples: default: value: @@ -99283,7 +99449,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -99509,7 +99675,7 @@ paths: type: array items: *134 examples: - default: *218 + default: *220 headers: Link: *39 x-github: @@ -108004,7 +108170,7 @@ x-webhooks: type: string enum: - created - definition: *227 + definition: *229 enterprise: *642 installation: *643 organization: *644 @@ -108171,7 +108337,7 @@ x-webhooks: type: string enum: - updated - definition: *227 + definition: *229 enterprise: *642 installation: *643 organization: *644 @@ -108259,11 +108425,11 @@ x-webhooks: new_property_values: type: array description: The new custom property values for the repository. - items: *231 + items: *233 old_property_values: type: array description: The old custom property values for the repository. - items: *231 + items: *233 required: - action - repository @@ -121400,7 +121566,7 @@ x-webhooks: type: string enum: - edited - changes: &699 + changes: &701 description: The changes to the comment. type: object properties: @@ -136425,7 +136591,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &702 + assignee: &704 title: User type: object nullable: true @@ -145675,7 +145841,7 @@ x-webhooks: type: string enum: - archived - changes: &695 + changes: &697 type: object properties: archived_at: @@ -146074,6 +146240,9 @@ x-webhooks: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -146084,6 +146253,58 @@ x-webhooks: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - &695 + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + - &696 + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title + to: + nullable: true + oneOf: + - type: string + - type: integer + - *695 + - *696 required: - field_value - type: object @@ -146279,7 +146500,7 @@ x-webhooks: type: string enum: - restored - changes: *695 + changes: *697 installation: *643 organization: *644 projects_v2_item: *694 @@ -146519,7 +146740,7 @@ x-webhooks: assignee: *670 enterprise: *642 installation: *643 - number: &696 + number: &698 description: The pull request number. type: integer organization: *644 @@ -153541,9 +153762,9 @@ x-webhooks: - closed enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: &697 + pull_request: &699 allOf: - *507 - type: object @@ -153690,9 +153911,9 @@ x-webhooks: - converted_to_draft enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -153775,9 +153996,9 @@ x-webhooks: - demilestoned enterprise: *642 milestone: *489 - number: *696 + number: *698 organization: *644 - pull_request: &698 + pull_request: &700 title: Pull Request type: object properties: @@ -158470,9 +158691,9 @@ x-webhooks: - from enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -160882,7 +161103,7 @@ x-webhooks: enterprise: *642 installation: *643 label: *669 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -163223,7 +163444,7 @@ x-webhooks: - locked enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -165561,9 +165782,9 @@ x-webhooks: - milestoned enterprise: *642 milestone: *489 - number: *696 + number: *698 organization: *644 - pull_request: *698 + pull_request: *700 repository: *645 sender: *646 required: @@ -165645,9 +165866,9 @@ x-webhooks: - opened enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -165731,9 +165952,9 @@ x-webhooks: - ready_for_review enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -165816,9 +166037,9 @@ x-webhooks: - reopened enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 - pull_request: *697 + pull_request: *699 repository: *645 sender: *646 required: @@ -168411,7 +168632,7 @@ x-webhooks: type: string enum: - deleted - comment: &700 + comment: &702 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -170910,8 +171131,8 @@ x-webhooks: type: string enum: - edited - changes: *699 - comment: *700 + changes: *701 + comment: *702 enterprise: *642 installation: *643 organization: *644 @@ -177557,7 +177778,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *645 - review: &701 + review: &703 description: The review that was affected. type: object properties: @@ -189522,7 +189743,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *645 - review: *701 + review: *703 sender: *646 required: - action @@ -194451,7 +194672,7 @@ x-webhooks: type: string enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -196780,10 +197001,10 @@ x-webhooks: type: string enum: - unassigned - assignee: *702 + assignee: *704 enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -199124,7 +199345,7 @@ x-webhooks: enterprise: *642 installation: *643 label: *669 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -201456,7 +201677,7 @@ x-webhooks: - unlocked enterprise: *642 installation: *643 - number: *696 + number: *698 organization: *644 pull_request: title: Pull Request @@ -205566,7 +205787,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: &703 + release: &705 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -205949,7 +206170,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: *703 + release: *705 repository: *645 sender: *646 required: @@ -206061,7 +206282,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: *703 + release: *705 repository: *645 sender: *646 required: @@ -206528,7 +206749,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: &704 + release: &706 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -206911,7 +207132,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: *703 + release: *705 repository: *645 sender: *646 required: @@ -206991,7 +207212,7 @@ x-webhooks: enterprise: *642 installation: *643 organization: *644 - release: *704 + release: *706 repository: *645 sender: *646 required: @@ -208014,7 +208235,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - repository_ruleset: *243 + repository_ruleset: *245 sender: *646 required: - action @@ -208096,7 +208317,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - repository_ruleset: *243 + repository_ruleset: *245 sender: *646 required: - action @@ -208178,7 +208399,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - repository_ruleset: *243 + repository_ruleset: *245 changes: type: object properties: @@ -208197,16 +208418,16 @@ x-webhooks: properties: added: type: array - items: *237 + items: *239 deleted: type: array - items: *237 + items: *239 updated: type: array items: type: object properties: - condition: *237 + condition: *239 changes: type: object properties: @@ -208239,16 +208460,16 @@ x-webhooks: properties: added: type: array - items: *242 + items: *244 deleted: type: array - items: *242 + items: *244 updated: type: array items: type: object properties: - rule: *242 + rule: *244 changes: type: object properties: @@ -208640,7 +208861,7 @@ x-webhooks: type: string enum: - create - alert: &705 + alert: &707 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209047,7 +209268,7 @@ x-webhooks: type: string enum: - reopen - alert: *705 + alert: *707 enterprise: *642 installation: *643 organization: *644 @@ -209330,7 +209551,7 @@ x-webhooks: type: string enum: - created - alert: &706 + alert: &708 type: object properties: number: *71 @@ -209494,9 +209715,9 @@ x-webhooks: type: string enum: - created - alert: *706 + alert: *708 installation: *643 - location: *707 + location: *709 organization: *644 repository: *645 sender: *646 @@ -209734,7 +209955,7 @@ x-webhooks: type: string enum: - reopened - alert: *706 + alert: *708 enterprise: *642 installation: *643 organization: *644 @@ -209816,7 +210037,7 @@ x-webhooks: type: string enum: - resolved - alert: *706 + alert: *708 enterprise: *642 installation: *643 organization: *644 @@ -209898,7 +210119,7 @@ x-webhooks: type: string enum: - validated - alert: *706 + alert: *708 enterprise: *642 installation: *643 organization: *644 @@ -209982,7 +210203,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - security_advisory: &708 + security_advisory: &710 description: The details of the security advisory, including summary, description, and severity. type: object @@ -210168,7 +210389,7 @@ x-webhooks: installation: *643 organization: *644 repository: *645 - security_advisory: *708 + security_advisory: *710 sender: *646 required: - action @@ -210427,7 +210648,7 @@ x-webhooks: from: type: object properties: - security_and_analysis: *234 + security_and_analysis: *236 enterprise: *642 installation: *643 organization: *644 @@ -210514,7 +210735,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - sponsorship: &709 + sponsorship: &711 type: object properties: created_at: @@ -210814,7 +211035,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - sponsorship @@ -210907,7 +211128,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - changes @@ -210984,7 +211205,7 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &710 + effective_date: &712 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. @@ -210994,7 +211215,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - sponsorship @@ -211068,7 +211289,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &711 + changes: &713 type: object properties: tier: @@ -211112,13 +211333,13 @@ x-webhooks: - from required: - tier - effective_date: *710 + effective_date: *712 enterprise: *642 installation: *643 organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - changes @@ -211195,13 +211416,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *711 + changes: *713 enterprise: *642 installation: *643 organization: *644 repository: *645 sender: *646 - sponsorship: *709 + sponsorship: *711 required: - action - changes @@ -211895,7 +212116,7 @@ x-webhooks: organization: *644 repository: *645 sender: *646 - team: &712 + team: &714 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -212542,7 +212763,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - team @@ -213075,7 +213296,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - team @@ -213609,7 +213830,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - team @@ -214210,7 +214431,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - changes @@ -214745,7 +214966,7 @@ x-webhooks: - topics - visibility sender: *646 - team: *712 + team: *714 required: - action - team diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index c50b18c71d..0e21144a49 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -18372,7 +18372,7 @@ "type": "array", "description": "List of teams assigned to the organization role", "items": { - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" } }, "examples": { @@ -18438,7 +18438,7 @@ "type": "array", "description": "List of users assigned to the organization role", "items": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" } }, "examples": { @@ -106230,6 +106230,299 @@ "updated_at" ] }, + "team-role-assignment": { + "title": "A Role Assignment for a Team", + "description": "The Relationship a Team has with a role.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "$ref": "#/components/schemas/nullable-team-simple" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + }, + "team-simple": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + }, + "user-role-assignment": { + "title": "A Role Assignment for a User", + "description": "The Relationship a User has with a role.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"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" + ] + }, "package-version": { "title": "Package Version", "description": "A version of a software package", @@ -109569,89 +109862,6 @@ ], "additionalProperties": false }, - "team-simple": { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VGVhbTE=" - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/organizations/1/team/1/members{/member}" - }, - "name": { - "description": "Name of the team", - "type": "string", - "example": "Justice League" - }, - "description": { - "description": "Description of the team", - "type": "string", - "nullable": true, - "example": "A great team." - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "example": "admin" - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "example": "closed" - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "example": "notifications_enabled" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/orgs/rails/teams/core" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1/repos" - }, - "slug": { - "type": "string", - "example": "justice-league" - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ] - }, "group-mapping": { "title": "GroupMapping", "description": "External Groups to be mapped to a team for membership", @@ -137322,6 +137532,56 @@ "archived_at" ] }, + "projects-v2-single-select-option": { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "projects-v2-iteration-setting": { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + }, "webhooks_number": { "description": "The pull request number.", "type": "integer" @@ -183394,6 +183654,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -183406,6 +183667,46 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] } } } diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index ec0579a899..3873e14573 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -13363,7 +13363,7 @@ paths: type: array description: List of teams assigned to the organization role items: - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" examples: default: "$ref": "#/components/examples/team-items" @@ -13409,7 +13409,7 @@ paths: type: array description: List of users assigned to the organization role items: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" examples: default: "$ref": "#/components/examples/simple-user-items" @@ -77358,6 +77358,236 @@ components: - organization - created_at - updated_at + team-role-assignment: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + user-role-assignment: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"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 package-version: title: Package Version description: A version of a software package @@ -79989,74 +80219,6 @@ components: - collaborating_teams - private_fork additionalProperties: false - team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug group-mapping: title: GroupMapping description: External Groups to be mapped to a team for membership @@ -101177,6 +101339,42 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-option: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + projects-v2-iteration-setting: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title webhooks_number: description: The pull request number. type: integer @@ -135361,6 +135559,9 @@ components: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -135371,6 +135572,24 @@ components: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" + to: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" required: - field_value - type: object diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index c50b18c71d..0e21144a49 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -18372,7 +18372,7 @@ "type": "array", "description": "List of teams assigned to the organization role", "items": { - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" } }, "examples": { @@ -18438,7 +18438,7 @@ "type": "array", "description": "List of users assigned to the organization role", "items": { - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" } }, "examples": { @@ -106230,6 +106230,299 @@ "updated_at" ] }, + "team-role-assignment": { + "title": "A Role Assignment for a Team", + "description": "The Relationship a Team has with a role.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "$ref": "#/components/schemas/nullable-team-simple" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + }, + "team-simple": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + }, + "user-role-assignment": { + "title": "A Role Assignment for a User", + "description": "The Relationship a User has with a role.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"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" + ] + }, "package-version": { "title": "Package Version", "description": "A version of a software package", @@ -109569,89 +109862,6 @@ ], "additionalProperties": false }, - "team-simple": { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VGVhbTE=" - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/organizations/1/team/1/members{/member}" - }, - "name": { - "description": "Name of the team", - "type": "string", - "example": "Justice League" - }, - "description": { - "description": "Description of the team", - "type": "string", - "nullable": true, - "example": "A great team." - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "example": "admin" - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "example": "closed" - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "example": "notifications_enabled" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/orgs/rails/teams/core" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1/repos" - }, - "slug": { - "type": "string", - "example": "justice-league" - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ] - }, "group-mapping": { "title": "GroupMapping", "description": "External Groups to be mapped to a team for membership", @@ -137322,6 +137532,56 @@ "archived_at" ] }, + "projects-v2-single-select-option": { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "projects-v2-iteration-setting": { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + }, "webhooks_number": { "description": "The pull request number.", "type": "integer" @@ -183394,6 +183654,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -183406,6 +183667,46 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] } } } diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index ec0579a899..3873e14573 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -13363,7 +13363,7 @@ paths: type: array description: List of teams assigned to the organization role items: - "$ref": "#/components/schemas/team" + "$ref": "#/components/schemas/team-role-assignment" examples: default: "$ref": "#/components/examples/team-items" @@ -13409,7 +13409,7 @@ paths: type: array description: List of users assigned to the organization role items: - "$ref": "#/components/schemas/simple-user" + "$ref": "#/components/schemas/user-role-assignment" examples: default: "$ref": "#/components/examples/simple-user-items" @@ -77358,6 +77358,236 @@ components: - organization - created_at - updated_at + team-role-assignment: + title: A Role Assignment for a Team + description: The Relationship a Team has with a role. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + user-role-assignment: + title: A Role Assignment for a User + description: The Relationship a User has with a role. + type: object + properties: + name: + nullable: true + type: string + email: + nullable: true + type: string + login: + type: string + example: octocat + id: + type: integer + example: 1 + node_id: + type: string + example: MDQ6VXNlcjE= + avatar_url: + type: string + format: uri + example: https://github.com/images/error/octocat_happy.gif + gravatar_id: + type: string + example: 41d064eb2195891e12d0413f63227ea7 + nullable: true + url: + type: string + format: uri + example: https://api.github.com/users/octocat + html_url: + type: string + format: uri + example: https://github.com/octocat + followers_url: + type: string + format: uri + example: https://api.github.com/users/octocat/followers + following_url: + type: string + example: https://api.github.com/users/octocat/following{/other_user} + gists_url: + type: string + example: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: + type: string + example: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: + type: string + format: uri + example: https://api.github.com/users/octocat/subscriptions + organizations_url: + type: string + format: uri + example: https://api.github.com/users/octocat/orgs + repos_url: + type: string + format: uri + example: https://api.github.com/users/octocat/repos + events_url: + type: string + example: https://api.github.com/users/octocat/events{/privacy} + received_events_url: + type: string + format: uri + example: https://api.github.com/users/octocat/received_events + type: + type: string + example: User + site_admin: + type: boolean + starred_at: + type: string + example: '"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 package-version: title: Package Version description: A version of a software package @@ -79989,74 +80219,6 @@ components: - collaborating_teams - private_fork additionalProperties: false - team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug group-mapping: title: GroupMapping description: External Groups to be mapped to a team for membership @@ -101177,6 +101339,42 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-option: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + projects-v2-iteration-setting: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title webhooks_number: description: The pull request number. type: integer @@ -135361,6 +135559,9 @@ components: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -135371,6 +135572,24 @@ components: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" + to: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" required: - field_value - type: object diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json index 1c314db8f1..a396fac73e 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.json @@ -705502,6 +705502,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -705514,6 +705515,134 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] } } } diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml index 3fc29ea3ed..ea0c967e9b 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.2022-11-28.deref.yaml @@ -71174,7 +71174,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &610 + items: &612 type: object properties: type: @@ -106224,7 +106224,7 @@ x-webhooks: type: string enum: - edited - changes: &602 + changes: &604 description: The changes to the comment. type: object properties: @@ -121367,7 +121367,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &605 + assignee: &607 title: User type: object nullable: true @@ -129875,7 +129875,7 @@ x-webhooks: type: string enum: - archived - changes: &598 + changes: &600 type: object properties: archived_at: @@ -130314,6 +130314,9 @@ x-webhooks: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -130324,6 +130327,58 @@ x-webhooks: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - &598 + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + - &599 + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title + to: + nullable: true + oneOf: + - type: string + - type: integer + - *598 + - *599 required: - field_value - type: object @@ -130539,7 +130594,7 @@ x-webhooks: type: string enum: - restored - changes: *598 + changes: *600 installation: *557 organization: *558 projects_v2_item: *597 @@ -130809,7 +130864,7 @@ x-webhooks: assignee: *577 enterprise: *556 installation: *557 - number: &599 + number: &601 description: The pull request number. type: integer organization: *558 @@ -137861,9 +137916,9 @@ x-webhooks: - closed enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: &600 + pull_request: &602 allOf: - *462 - type: object @@ -138020,9 +138075,9 @@ x-webhooks: - converted_to_draft enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -138115,9 +138170,9 @@ x-webhooks: - demilestoned enterprise: *556 milestone: *443 - number: *599 + number: *601 organization: *558 - pull_request: &601 + pull_request: &603 title: Pull Request type: object properties: @@ -140491,9 +140546,9 @@ x-webhooks: - from enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -140587,7 +140642,7 @@ x-webhooks: enterprise: *556 installation: *557 label: *576 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -142938,7 +142993,7 @@ x-webhooks: - locked enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -145286,9 +145341,9 @@ x-webhooks: - milestoned enterprise: *556 milestone: *443 - number: *599 + number: *601 organization: *558 - pull_request: *601 + pull_request: *603 repository: *559 sender: *561 required: @@ -145380,9 +145435,9 @@ x-webhooks: - opened enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -145476,9 +145531,9 @@ x-webhooks: - ready_for_review enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -145571,9 +145626,9 @@ x-webhooks: - reopened enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -148186,7 +148241,7 @@ x-webhooks: type: string enum: - deleted - comment: &603 + comment: &605 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -150695,8 +150750,8 @@ x-webhooks: type: string enum: - edited - changes: *602 - comment: *603 + changes: *604 + comment: *605 enterprise: *556 installation: *557 organization: *558 @@ -157362,7 +157417,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *559 - review: &604 + review: &606 description: The review that was affected. type: object properties: @@ -169357,7 +169412,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *559 - review: *604 + review: *606 sender: *561 required: - action @@ -174316,7 +174371,7 @@ x-webhooks: type: string enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -176655,10 +176710,10 @@ x-webhooks: type: string enum: - unassigned - assignee: *605 + assignee: *607 enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -179009,7 +179064,7 @@ x-webhooks: enterprise: *556 installation: *557 label: *576 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -181351,7 +181406,7 @@ x-webhooks: - unlocked enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -185495,7 +185550,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: &606 + release: &608 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -185888,7 +185943,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: *606 + release: *608 repository: *559 sender: *561 required: @@ -186010,7 +186065,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: *606 + release: *608 repository: *559 sender: *561 required: @@ -186497,7 +186552,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: &607 + release: &609 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -186890,7 +186945,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: *606 + release: *608 repository: *559 sender: *561 required: @@ -186980,7 +187035,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: *607 + release: *609 repository: *559 sender: *561 required: @@ -188343,7 +188398,7 @@ x-webhooks: type: string enum: - create - alert: &608 + alert: &610 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -188770,7 +188825,7 @@ x-webhooks: type: string enum: - reopen - alert: *608 + alert: *610 enterprise: *556 installation: *557 organization: *558 @@ -189073,7 +189128,7 @@ x-webhooks: type: string enum: - created - alert: &609 + alert: &611 type: object properties: number: *92 @@ -189242,9 +189297,9 @@ x-webhooks: type: string enum: - created - alert: *609 + alert: *611 installation: *557 - location: *610 + location: *612 organization: *558 repository: *559 sender: *561 @@ -189492,7 +189547,7 @@ x-webhooks: type: string enum: - reopened - alert: *609 + alert: *611 enterprise: *556 installation: *557 organization: *558 @@ -189584,7 +189639,7 @@ x-webhooks: type: string enum: - resolved - alert: *609 + alert: *611 enterprise: *556 installation: *557 organization: *558 @@ -189678,7 +189733,7 @@ x-webhooks: installation: *557 organization: *558 repository: *559 - security_advisory: &611 + security_advisory: &613 description: The details of the security advisory, including summary, description, and severity. type: object @@ -189874,7 +189929,7 @@ x-webhooks: installation: *557 organization: *558 repository: *559 - security_advisory: *611 + security_advisory: *613 sender: *561 required: - action @@ -190250,7 +190305,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - sponsorship: &612 + sponsorship: &614 type: object properties: created_at: @@ -190560,7 +190615,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - sponsorship @@ -190663,7 +190718,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - changes @@ -190750,7 +190805,7 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &613 + effective_date: &615 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. @@ -190760,7 +190815,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - sponsorship @@ -190844,7 +190899,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &614 + changes: &616 type: object properties: tier: @@ -190888,13 +190943,13 @@ x-webhooks: - from required: - tier - effective_date: *613 + effective_date: *615 enterprise: *556 installation: *557 organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - changes @@ -190981,13 +191036,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *614 + changes: *616 enterprise: *556 installation: *557 organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - changes @@ -191721,7 +191776,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - team: &615 + team: &617 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -192372,7 +192427,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - team @@ -192909,7 +192964,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - team @@ -193447,7 +193502,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - team @@ -194052,7 +194107,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - changes @@ -194591,7 +194646,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - team diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json index 1c314db8f1..a396fac73e 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.json @@ -705502,6 +705502,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -705514,6 +705515,134 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] } } } diff --git a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml index 3fc29ea3ed..ea0c967e9b 100644 --- a/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml +++ b/descriptions/ghes-3.10/dereferenced/ghes-3.10.deref.yaml @@ -71174,7 +71174,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &610 + items: &612 type: object properties: type: @@ -106224,7 +106224,7 @@ x-webhooks: type: string enum: - edited - changes: &602 + changes: &604 description: The changes to the comment. type: object properties: @@ -121367,7 +121367,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &605 + assignee: &607 title: User type: object nullable: true @@ -129875,7 +129875,7 @@ x-webhooks: type: string enum: - archived - changes: &598 + changes: &600 type: object properties: archived_at: @@ -130314,6 +130314,9 @@ x-webhooks: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -130324,6 +130327,58 @@ x-webhooks: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - &598 + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + - &599 + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title + to: + nullable: true + oneOf: + - type: string + - type: integer + - *598 + - *599 required: - field_value - type: object @@ -130539,7 +130594,7 @@ x-webhooks: type: string enum: - restored - changes: *598 + changes: *600 installation: *557 organization: *558 projects_v2_item: *597 @@ -130809,7 +130864,7 @@ x-webhooks: assignee: *577 enterprise: *556 installation: *557 - number: &599 + number: &601 description: The pull request number. type: integer organization: *558 @@ -137861,9 +137916,9 @@ x-webhooks: - closed enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: &600 + pull_request: &602 allOf: - *462 - type: object @@ -138020,9 +138075,9 @@ x-webhooks: - converted_to_draft enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -138115,9 +138170,9 @@ x-webhooks: - demilestoned enterprise: *556 milestone: *443 - number: *599 + number: *601 organization: *558 - pull_request: &601 + pull_request: &603 title: Pull Request type: object properties: @@ -140491,9 +140546,9 @@ x-webhooks: - from enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -140587,7 +140642,7 @@ x-webhooks: enterprise: *556 installation: *557 label: *576 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -142938,7 +142993,7 @@ x-webhooks: - locked enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -145286,9 +145341,9 @@ x-webhooks: - milestoned enterprise: *556 milestone: *443 - number: *599 + number: *601 organization: *558 - pull_request: *601 + pull_request: *603 repository: *559 sender: *561 required: @@ -145380,9 +145435,9 @@ x-webhooks: - opened enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -145476,9 +145531,9 @@ x-webhooks: - ready_for_review enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -145571,9 +145626,9 @@ x-webhooks: - reopened enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 - pull_request: *600 + pull_request: *602 repository: *559 sender: *561 required: @@ -148186,7 +148241,7 @@ x-webhooks: type: string enum: - deleted - comment: &603 + comment: &605 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -150695,8 +150750,8 @@ x-webhooks: type: string enum: - edited - changes: *602 - comment: *603 + changes: *604 + comment: *605 enterprise: *556 installation: *557 organization: *558 @@ -157362,7 +157417,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *559 - review: &604 + review: &606 description: The review that was affected. type: object properties: @@ -169357,7 +169412,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *559 - review: *604 + review: *606 sender: *561 required: - action @@ -174316,7 +174371,7 @@ x-webhooks: type: string enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -176655,10 +176710,10 @@ x-webhooks: type: string enum: - unassigned - assignee: *605 + assignee: *607 enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -179009,7 +179064,7 @@ x-webhooks: enterprise: *556 installation: *557 label: *576 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -181351,7 +181406,7 @@ x-webhooks: - unlocked enterprise: *556 installation: *557 - number: *599 + number: *601 organization: *558 pull_request: title: Pull Request @@ -185495,7 +185550,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: &606 + release: &608 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -185888,7 +185943,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: *606 + release: *608 repository: *559 sender: *561 required: @@ -186010,7 +186065,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: *606 + release: *608 repository: *559 sender: *561 required: @@ -186497,7 +186552,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: &607 + release: &609 title: Release description: The [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases/#get-a-release) object. @@ -186890,7 +186945,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: *606 + release: *608 repository: *559 sender: *561 required: @@ -186980,7 +187035,7 @@ x-webhooks: enterprise: *556 installation: *557 organization: *558 - release: *607 + release: *609 repository: *559 sender: *561 required: @@ -188343,7 +188398,7 @@ x-webhooks: type: string enum: - create - alert: &608 + alert: &610 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -188770,7 +188825,7 @@ x-webhooks: type: string enum: - reopen - alert: *608 + alert: *610 enterprise: *556 installation: *557 organization: *558 @@ -189073,7 +189128,7 @@ x-webhooks: type: string enum: - created - alert: &609 + alert: &611 type: object properties: number: *92 @@ -189242,9 +189297,9 @@ x-webhooks: type: string enum: - created - alert: *609 + alert: *611 installation: *557 - location: *610 + location: *612 organization: *558 repository: *559 sender: *561 @@ -189492,7 +189547,7 @@ x-webhooks: type: string enum: - reopened - alert: *609 + alert: *611 enterprise: *556 installation: *557 organization: *558 @@ -189584,7 +189639,7 @@ x-webhooks: type: string enum: - resolved - alert: *609 + alert: *611 enterprise: *556 installation: *557 organization: *558 @@ -189678,7 +189733,7 @@ x-webhooks: installation: *557 organization: *558 repository: *559 - security_advisory: &611 + security_advisory: &613 description: The details of the security advisory, including summary, description, and severity. type: object @@ -189874,7 +189929,7 @@ x-webhooks: installation: *557 organization: *558 repository: *559 - security_advisory: *611 + security_advisory: *613 sender: *561 required: - action @@ -190250,7 +190305,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - sponsorship: &612 + sponsorship: &614 type: object properties: created_at: @@ -190560,7 +190615,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - sponsorship @@ -190663,7 +190718,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - changes @@ -190750,7 +190805,7 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &613 + effective_date: &615 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. @@ -190760,7 +190815,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - sponsorship @@ -190844,7 +190899,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &614 + changes: &616 type: object properties: tier: @@ -190888,13 +190943,13 @@ x-webhooks: - from required: - tier - effective_date: *613 + effective_date: *615 enterprise: *556 installation: *557 organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - changes @@ -190981,13 +191036,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *614 + changes: *616 enterprise: *556 installation: *557 organization: *558 repository: *559 sender: *561 - sponsorship: *612 + sponsorship: *614 required: - action - changes @@ -191721,7 +191776,7 @@ x-webhooks: organization: *558 repository: *559 sender: *561 - team: &615 + team: &617 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -192372,7 +192427,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - team @@ -192909,7 +192964,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - team @@ -193447,7 +193502,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - team @@ -194052,7 +194107,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - changes @@ -194591,7 +194646,7 @@ x-webhooks: - topics - visibility sender: *561 - team: *615 + team: *617 required: - action - team diff --git a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json index 8bab0b73f0..f357aaeaaf 100644 --- a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json +++ b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.json @@ -122680,6 +122680,56 @@ "archived_at" ] }, + "projects-v2-single-select-option": { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "projects-v2-iteration-setting": { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + }, "webhooks_number": { "description": "The pull request number.", "type": "integer" @@ -167658,6 +167708,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -167670,6 +167721,46 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] } } } diff --git a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml index 15fe57648c..995c776a84 100644 --- a/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml +++ b/descriptions/ghes-3.10/ghes-3.10.2022-11-28.yaml @@ -89738,6 +89738,42 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-option: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + projects-v2-iteration-setting: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title webhooks_number: description: The pull request number. type: integer @@ -123142,6 +123178,9 @@ components: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -123152,6 +123191,24 @@ components: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" + to: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" required: - field_value - type: object diff --git a/descriptions/ghes-3.10/ghes-3.10.json b/descriptions/ghes-3.10/ghes-3.10.json index 8bab0b73f0..f357aaeaaf 100644 --- a/descriptions/ghes-3.10/ghes-3.10.json +++ b/descriptions/ghes-3.10/ghes-3.10.json @@ -122680,6 +122680,56 @@ "archived_at" ] }, + "projects-v2-single-select-option": { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + "projects-v2-iteration-setting": { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + }, "webhooks_number": { "description": "The pull request number.", "type": "integer" @@ -167658,6 +167708,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -167670,6 +167721,46 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/projects-v2-single-select-option" + }, + { + "$ref": "#/components/schemas/projects-v2-iteration-setting" + } + ] } } } diff --git a/descriptions/ghes-3.10/ghes-3.10.yaml b/descriptions/ghes-3.10/ghes-3.10.yaml index 15fe57648c..995c776a84 100644 --- a/descriptions/ghes-3.10/ghes-3.10.yaml +++ b/descriptions/ghes-3.10/ghes-3.10.yaml @@ -89738,6 +89738,42 @@ components: - created_at - updated_at - archived_at + projects-v2-single-select-option: + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + projects-v2-iteration-setting: + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title webhooks_number: description: The pull request number. type: integer @@ -123142,6 +123178,9 @@ components: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -123152,6 +123191,24 @@ components: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" + to: + nullable: true + oneOf: + - type: string + - type: integer + - "$ref": "#/components/schemas/projects-v2-single-select-option" + - "$ref": "#/components/schemas/projects-v2-iteration-setting" required: - field_value - type: object diff --git a/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json b/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json index 4b7088a855..87e9ebc027 100644 --- a/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json +++ b/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.json @@ -722685,6 +722685,7 @@ ] }, "changes": { + "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field.", "oneOf": [ { "type": "object", @@ -722697,6 +722698,134 @@ }, "field_type": { "type": "string" + }, + "field_name": { + "type": "string" + }, + "project_number": { + "type": "integer" + }, + "from": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] + }, + "to": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "integer" + }, + { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "color": { + "type": "string", + "nullable": true + }, + "description": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "name" + ] + }, + { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "duration": { + "type": "number", + "nullable": true + }, + "start_date": { + "type": "string", + "nullable": true + } + }, + "required": [ + "id", + "title" + ] + } + ] } } } diff --git a/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml b/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml index 9f5fb5b469..d535bfccb3 100644 --- a/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.11/dereferenced/ghes-3.11.2022-11-28.deref.yaml @@ -73375,7 +73375,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &636 + items: &638 type: object properties: type: @@ -108590,7 +108590,7 @@ x-webhooks: type: string enum: - edited - changes: &628 + changes: &630 description: The changes to the comment. type: object properties: @@ -123733,7 +123733,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &631 + assignee: &633 title: User type: object nullable: true @@ -132241,7 +132241,7 @@ x-webhooks: type: string enum: - archived - changes: &624 + changes: &626 type: object properties: archived_at: @@ -132680,6 +132680,9 @@ x-webhooks: enum: - edited changes: + description: |- + The changes made to the item may involve modifications in the item's fields and draft issue body. + It includes altered values for text, number, date, single select, and iteration fields, along with the GraphQL node ID of the changed field. oneOf: - type: object properties: @@ -132690,6 +132693,58 @@ x-webhooks: type: string field_type: type: string + field_name: + type: string + project_number: + type: integer + from: + nullable: true + oneOf: + - type: string + - type: integer + - &624 + title: Projects v2 Single Select Option + description: An option for a single select field + type: object + properties: + id: + type: string + name: + type: string + color: + type: string + nullable: true + description: + type: string + nullable: true + required: + - id + - name + - &625 + title: Projects v2 Iteration Setting + description: An iteration setting for an iteration field + type: object + properties: + id: + type: string + title: + type: string + duration: + type: number + nullable: true + start_date: + type: string + nullable: true + required: + - id + - title + to: + nullable: true + oneOf: + - type: string + - type: integer + - *624 + - *625 required: - field_value - type: object @@ -132905,7 +132960,7 @@ x-webhooks: type: string enum: - restored - changes: *624 + changes: *626 installation: *583 organization: *584 projects_v2_item: *623 @@ -133175,7 +133230,7 @@ x-webhooks: assignee: *603 enterprise: *582 installation: *583 - number: &625 + number: &627 description: The pull request number. type: integer organization: *584 @@ -140227,9 +140282,9 @@ x-webhooks: - closed enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 - pull_request: &626 + pull_request: &628 allOf: - *471 - type: object @@ -140386,9 +140441,9 @@ x-webhooks: - converted_to_draft enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 - pull_request: *626 + pull_request: *628 repository: *585 sender: *586 required: @@ -140481,9 +140536,9 @@ x-webhooks: - demilestoned enterprise: *582 milestone: *452 - number: *625 + number: *627 organization: *584 - pull_request: &627 + pull_request: &629 title: Pull Request type: object properties: @@ -142857,9 +142912,9 @@ x-webhooks: - from enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 - pull_request: *626 + pull_request: *628 repository: *585 sender: *586 required: @@ -142953,7 +143008,7 @@ x-webhooks: enterprise: *582 installation: *583 label: *602 - number: *625 + number: *627 organization: *584 pull_request: title: Pull Request @@ -145304,7 +145359,7 @@ x-webhooks: - locked enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 pull_request: title: Pull Request @@ -147652,9 +147707,9 @@ x-webhooks: - milestoned enterprise: *582 milestone: *452 - number: *625 + number: *627 organization: *584 - pull_request: *627 + pull_request: *629 repository: *585 sender: *586 required: @@ -147746,9 +147801,9 @@ x-webhooks: - opened enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 - pull_request: *626 + pull_request: *628 repository: *585 sender: *586 required: @@ -147842,9 +147897,9 @@ x-webhooks: - ready_for_review enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 - pull_request: *626 + pull_request: *628 repository: *585 sender: *586 required: @@ -147937,9 +147992,9 @@ x-webhooks: - reopened enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 - pull_request: *626 + pull_request: *628 repository: *585 sender: *586 required: @@ -150552,7 +150607,7 @@ x-webhooks: type: string enum: - deleted - comment: &629 + comment: &631 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-server@3.11/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -153061,8 +153116,8 @@ x-webhooks: type: string enum: - edited - changes: *628 - comment: *629 + changes: *630 + comment: *631 enterprise: *582 installation: *583 organization: *584 @@ -159728,7 +159783,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *585 - review: &630 + review: &632 description: The review that was affected. type: object properties: @@ -171723,7 +171778,7 @@ x-webhooks: - auto_merge - active_lock_reason repository: *585 - review: *630 + review: *632 sender: *586 required: - action @@ -176682,7 +176737,7 @@ x-webhooks: type: string enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 pull_request: title: Pull Request @@ -179021,10 +179076,10 @@ x-webhooks: type: string enum: - unassigned - assignee: *631 + assignee: *633 enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 pull_request: title: Pull Request @@ -181375,7 +181430,7 @@ x-webhooks: enterprise: *582 installation: *583 label: *602 - number: *625 + number: *627 organization: *584 pull_request: title: Pull Request @@ -183717,7 +183772,7 @@ x-webhooks: - unlocked enterprise: *582 installation: *583 - number: *625 + number: *627 organization: *584 pull_request: title: Pull Request @@ -187861,7 +187916,7 @@ x-webhooks: enterprise: *582 installation: *583 organization: *584 - release: &632 + release: &634 title: Release description: The [release](https://docs.github.com/enterprise-server@3.11/rest/releases/releases/#get-a-release) object. @@ -188254,7 +188309,7 @@ x-webhooks: enterprise: *582 installation: *583 organization: *584 - release: *632 + release: *634 repository: *585 sender: *586 required: @@ -188376,7 +188431,7 @@ x-webhooks: enterprise: *582 installation: *583 organization: *584 - release: *632 + release: *634 repository: *585 sender: *586 required: @@ -188863,7 +188918,7 @@ x-webhooks: enterprise: *582 installation: *583 organization: *584 - release: &633 + release: &635 title: Release description: The [release](https://docs.github.com/enterprise-server@3.11/rest/releases/releases/#get-a-release) object. @@ -189256,7 +189311,7 @@ x-webhooks: enterprise: *582 installation: *583 organization: *584 - release: *632 + release: *634 repository: *585 sender: *586 required: @@ -189346,7 +189401,7 @@ x-webhooks: enterprise: *582 installation: *583 organization: *584 - release: *633 + release: *635 repository: *585 sender: *586 required: @@ -191043,7 +191098,7 @@ x-webhooks: type: string enum: - create - alert: &634 + alert: &636 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -191470,7 +191525,7 @@ x-webhooks: type: string enum: - reopen - alert: *634 + alert: *636 enterprise: *582 installation: *583 organization: *584 @@ -191773,7 +191828,7 @@ x-webhooks: type: string enum: - created - alert: &635 + alert: &637 type: object properties: number: *94 @@ -191942,9 +191997,9 @@ x-webhooks: type: string enum: - created - alert: *635 + alert: *637 installation: *583 - location: *636 + location: *638 organization: *584 repository: *585 sender: *586 @@ -192192,7 +192247,7 @@ x-webhooks: type: string enum: - reopened - alert: *635 + alert: *637 enterprise: *582 installation: *583 organization: *584 @@ -192284,7 +192339,7 @@ x-webhooks: type: string enum: - resolved - alert: *635 + alert: *637 enterprise: *582 installation: *583 organization: *584 @@ -192378,7 +192433,7 @@ x-webhooks: installation: *583 organization: *584 repository: *585 - security_advisory: &637 + security_advisory: &639 description: The details of the security advisory, including summary, description, and severity. type: object @@ -192574,7 +192629,7 @@ x-webhooks: installation: *583 organization: *584 repository: *585 - security_advisory: *637 + security_advisory: *639 sender: *586 required: - action @@ -192950,7 +193005,7 @@ x-webhooks: organization: *584 repository: *585 sender: *586 - sponsorship: &638 + sponsorship: &640 type: object properties: created_at: @@ -193260,7 +193315,7 @@ x-webhooks: organization: *584 repository: *585 sender: *586 - sponsorship: *638 + sponsorship: *640 required: - action - sponsorship @@ -193363,7 +193418,7 @@ x-webhooks: organization: *584 {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}