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 8f4fee4afc..98e6fe9258 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 @@ -12388,7 +12388,7 @@ "operationId": "orgs/list-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#list-attestations-by-bulk-subject-digests" + "url": "https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests" }, "parameters": [ { @@ -12523,7 +12523,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -12729,7 +12729,7 @@ "operationId": "orgs/list-attestations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#list-attestations" + "url": "https://docs.github.com/rest/orgs/attestations#list-attestations" }, "parameters": [ { @@ -12820,7 +12820,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -55645,7 +55645,7 @@ "tags": [ "repos" ], - "operationId": "repos/get-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-get-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository" @@ -55697,7 +55697,7 @@ "tags": [ "repos" ], - "operationId": "repos/create-or-update-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-create-or-update-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository" @@ -109488,6 +109488,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -109500,7 +109518,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -109577,6 +109596,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "$ref": "#/components/schemas/nullable-team-simple" } @@ -109592,7 +109629,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "campaign-summary": { @@ -112299,6 +112337,24 @@ }, "parent": { "$ref": "#/components/schemas/nullable-team-simple" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -112312,6 +112368,7 @@ "html_url", "repositories_url", "slug", + "type", "parent" ] }, @@ -112383,6 +112440,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -112395,7 +112470,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "user-role-assignment": { @@ -117974,6 +118050,11 @@ "archived_at" ] }, + "ldap-dn": { + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, "team-full": { "title": "Full Team", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -118070,9 +118151,25 @@ "$ref": "#/components/schemas/team-organization" }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "$ref": "#/components/schemas/ldap-dn" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -118086,6 +118183,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -140934,6 +141032,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -140948,7 +141064,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -140981,6 +141098,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -148367,6 +148502,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -148381,7 +148534,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -148415,6 +148569,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -277840,48 +278012,133 @@ ] }, "organization-secret-scanning-alert-list": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -277895,113 +278152,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] }, "enterprise-teams-items": { "value": [ @@ -299991,101 +300165,103 @@ ] }, "secret-scanning-alert-list": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "inactive", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] }, "secret-scanning-alert-open": { "value": { 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 6b85811b93..74832b2d2f 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 @@ -8955,7 +8955,7 @@ paths: operationId: orgs/list-attestations-bulk externalDocs: description: API method documentation - url: https://docs.github.com/rest/orgs/orgs#list-attestations-by-bulk-subject-digests + url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/pagination-before" @@ -9045,7 +9045,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/attestations/delete-request": post: summary: Delete attestations in bulk @@ -9191,7 +9191,7 @@ paths: operationId: orgs/list-attestations externalDocs: description: API method documentation - url: https://docs.github.com/rest/orgs/orgs#list-attestations + url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/pagination-before" @@ -9253,7 +9253,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/blocks": get: summary: List users blocked by an organization @@ -40372,7 +40372,7 @@ paths: Users with read access to the repository can use this endpoint. tags: - repos - operationId: repos/get-custom-properties-values + operationId: repos/custom-properties-for-repos-get-repository-values externalDocs: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository @@ -40409,7 +40409,7 @@ paths: Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. tags: - repos - operationId: repos/create-or-update-custom-properties-values + operationId: repos/custom-properties-for-repos-create-or-update-repository-values externalDocs: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository @@ -79816,6 +79816,20 @@ components: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - id - node_id @@ -79827,6 +79841,7 @@ components: - html_url - repositories_url - slug + - type nullable: true team: title: Team @@ -79882,6 +79897,20 @@ components: repositories_url: type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 parent: "$ref": "#/components/schemas/nullable-team-simple" required: @@ -79896,6 +79925,7 @@ components: - repositories_url - slug - parent + - type campaign-summary: title: Campaign summary description: The campaign metadata and alert stats. @@ -82093,6 +82123,20 @@ components: format: uri parent: "$ref": "#/components/schemas/nullable-team-simple" + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - id - node_id @@ -82104,6 +82148,7 @@ components: - html_url - repositories_url - slug + - type - parent team-simple: title: Team Simple @@ -82162,6 +82207,20 @@ components: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - id - node_id @@ -82173,6 +82232,7 @@ components: - html_url - repositories_url - slug + - type user-role-assignment: title: A Role Assignment for a User description: The Relationship a User has with a role. @@ -86535,6 +86595,11 @@ components: - created_at - updated_at - archived_at + ldap-dn: + type: string + description: The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) + (DN) of the LDAP entry to map to a team. + example: cn=Enterprise Ops,ou=teams,dc=github,dc=com team-full: title: Full Team description: Groups of organization members that gives permissions on specified @@ -86612,9 +86677,21 @@ components: organization: "$ref": "#/components/schemas/team-organization" ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com + "$ref": "#/components/schemas/ldap-dn" + type: + description: The ownership type of the team type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - id - node_id @@ -86626,6 +86703,7 @@ components: - html_url - repositories_url - slug + - type - created_at - updated_at - members_count @@ -104027,6 +104105,22 @@ components: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team + belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team + belongs + example: 42 required: - name - id @@ -104040,6 +104134,7 @@ components: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -104063,6 +104158,20 @@ components: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - name - id @@ -109729,6 +109838,22 @@ components: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team + belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team + belongs + example: 42 required: - name - id @@ -109742,6 +109867,7 @@ components: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -109767,6 +109893,20 @@ components: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - name - id @@ -207878,7 +208018,7 @@ components: trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} organization-secret-scanning-alert-list: value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -226922,7 +227062,7 @@ components: pattern: github secret-scanning-alert-list: value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 8f4fee4afc..98e6fe9258 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -12388,7 +12388,7 @@ "operationId": "orgs/list-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#list-attestations-by-bulk-subject-digests" + "url": "https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests" }, "parameters": [ { @@ -12523,7 +12523,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -12729,7 +12729,7 @@ "operationId": "orgs/list-attestations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#list-attestations" + "url": "https://docs.github.com/rest/orgs/attestations#list-attestations" }, "parameters": [ { @@ -12820,7 +12820,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -55645,7 +55645,7 @@ "tags": [ "repos" ], - "operationId": "repos/get-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-get-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository" @@ -55697,7 +55697,7 @@ "tags": [ "repos" ], - "operationId": "repos/create-or-update-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-create-or-update-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository" @@ -109488,6 +109488,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -109500,7 +109518,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -109577,6 +109596,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "$ref": "#/components/schemas/nullable-team-simple" } @@ -109592,7 +109629,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "campaign-summary": { @@ -112299,6 +112337,24 @@ }, "parent": { "$ref": "#/components/schemas/nullable-team-simple" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -112312,6 +112368,7 @@ "html_url", "repositories_url", "slug", + "type", "parent" ] }, @@ -112383,6 +112440,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -112395,7 +112470,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "user-role-assignment": { @@ -117974,6 +118050,11 @@ "archived_at" ] }, + "ldap-dn": { + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, "team-full": { "title": "Full Team", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -118070,9 +118151,25 @@ "$ref": "#/components/schemas/team-organization" }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "$ref": "#/components/schemas/ldap-dn" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -118086,6 +118183,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -140934,6 +141032,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -140948,7 +141064,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -140981,6 +141098,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -148367,6 +148502,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -148381,7 +148534,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -148415,6 +148569,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -277840,48 +278012,133 @@ ] }, "organization-secret-scanning-alert-list": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -277895,113 +278152,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] }, "enterprise-teams-items": { "value": [ @@ -299991,101 +300165,103 @@ ] }, "secret-scanning-alert-list": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "inactive", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] }, "secret-scanning-alert-open": { "value": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 6b85811b93..74832b2d2f 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -8955,7 +8955,7 @@ paths: operationId: orgs/list-attestations-bulk externalDocs: description: API method documentation - url: https://docs.github.com/rest/orgs/orgs#list-attestations-by-bulk-subject-digests + url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/pagination-before" @@ -9045,7 +9045,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/attestations/delete-request": post: summary: Delete attestations in bulk @@ -9191,7 +9191,7 @@ paths: operationId: orgs/list-attestations externalDocs: description: API method documentation - url: https://docs.github.com/rest/orgs/orgs#list-attestations + url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/pagination-before" @@ -9253,7 +9253,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/blocks": get: summary: List users blocked by an organization @@ -40372,7 +40372,7 @@ paths: Users with read access to the repository can use this endpoint. tags: - repos - operationId: repos/get-custom-properties-values + operationId: repos/custom-properties-for-repos-get-repository-values externalDocs: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository @@ -40409,7 +40409,7 @@ paths: Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. tags: - repos - operationId: repos/create-or-update-custom-properties-values + operationId: repos/custom-properties-for-repos-create-or-update-repository-values externalDocs: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository @@ -79816,6 +79816,20 @@ components: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - id - node_id @@ -79827,6 +79841,7 @@ components: - html_url - repositories_url - slug + - type nullable: true team: title: Team @@ -79882,6 +79897,20 @@ components: repositories_url: type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 parent: "$ref": "#/components/schemas/nullable-team-simple" required: @@ -79896,6 +79925,7 @@ components: - repositories_url - slug - parent + - type campaign-summary: title: Campaign summary description: The campaign metadata and alert stats. @@ -82093,6 +82123,20 @@ components: format: uri parent: "$ref": "#/components/schemas/nullable-team-simple" + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - id - node_id @@ -82104,6 +82148,7 @@ components: - html_url - repositories_url - slug + - type - parent team-simple: title: Team Simple @@ -82162,6 +82207,20 @@ components: description: Distinguished Name (DN) that team maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - id - node_id @@ -82173,6 +82232,7 @@ components: - html_url - repositories_url - slug + - type user-role-assignment: title: A Role Assignment for a User description: The Relationship a User has with a role. @@ -86535,6 +86595,11 @@ components: - created_at - updated_at - archived_at + ldap-dn: + type: string + description: The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) + (DN) of the LDAP entry to map to a team. + example: cn=Enterprise Ops,ou=teams,dc=github,dc=com team-full: title: Full Team description: Groups of organization members that gives permissions on specified @@ -86612,9 +86677,21 @@ components: organization: "$ref": "#/components/schemas/team-organization" ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com + "$ref": "#/components/schemas/ldap-dn" + type: + description: The ownership type of the team type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - id - node_id @@ -86626,6 +86703,7 @@ components: - html_url - repositories_url - slug + - type - created_at - updated_at - members_count @@ -104027,6 +104105,22 @@ components: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team + belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team + belongs + example: 42 required: - name - id @@ -104040,6 +104134,7 @@ components: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -104063,6 +104158,20 @@ components: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - name - id @@ -109729,6 +109838,22 @@ components: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team + belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team + belongs + example: 42 required: - name - id @@ -109742,6 +109867,7 @@ components: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -109767,6 +109893,20 @@ components: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this team belongs + example: 42 required: - name - id @@ -207878,7 +208018,7 @@ components: trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} organization-secret-scanning-alert-list: value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -226922,7 +227062,7 @@ components: pattern: github secret-scanning-alert-list: value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 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 0ac8bacb19..737ceb01fd 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 @@ -23484,48 +23484,133 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -23539,113 +23624,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -71438,7 +71440,7 @@ "operationId": "orgs/list-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#list-attestations-by-bulk-subject-digests" + "url": "https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests" }, "parameters": [ { @@ -71737,7 +71739,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -72053,7 +72055,7 @@ "operationId": "orgs/list-attestations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#list-attestations" + "url": "https://docs.github.com/rest/orgs/attestations#list-attestations" }, "parameters": [ { @@ -72293,7 +72295,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -73058,6 +73060,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -73126,6 +73146,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -73138,7 +73176,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -73154,7 +73193,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -73732,6 +73772,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -73800,6 +73858,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -73812,7 +73888,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -73828,7 +73905,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -74322,6 +74400,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -74390,6 +74486,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -74402,7 +74516,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -74418,7 +74533,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -74950,6 +75066,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -75018,6 +75152,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -75030,7 +75182,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -75046,7 +75199,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -85885,6 +86039,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -85953,6 +86125,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -85965,7 +86155,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -85981,7 +86172,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -102350,6 +102542,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -102418,6 +102628,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -102430,7 +102658,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -102446,7 +102675,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -110241,6 +110471,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -110309,6 +110557,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -110321,7 +110587,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -110337,7 +110604,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -117782,6 +118050,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -117794,9 +118080,28 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -117810,6 +118115,7 @@ "html_url", "repositories_url", "slug", + "type", "parent" ] } @@ -118005,6 +118311,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -118017,7 +118341,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] } }, @@ -134659,6 +134984,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -134727,6 +135070,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -134739,7 +135100,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -134755,7 +135117,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -160027,48 +160390,133 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -160082,113 +160530,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -161968,6 +162333,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -162036,6 +162419,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -162048,7 +162449,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -162064,7 +162466,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -163166,6 +163569,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -163178,7 +163599,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] } }, @@ -165088,6 +165510,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -165156,6 +165596,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -165168,7 +165626,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -165184,7 +165643,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -165497,6 +165957,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -165509,7 +165987,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -165799,9 +166278,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -165815,6 +166312,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -166158,6 +166656,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -166170,7 +166686,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -166460,9 +166977,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -166476,6 +167011,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -166809,6 +167345,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -166821,7 +167375,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -167111,9 +167666,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -167127,6 +167700,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -167333,6 +167907,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -167345,7 +167937,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -167635,9 +168228,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -167651,6 +168262,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -176625,6 +177237,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -176693,6 +177323,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -176705,7 +177353,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -176721,7 +177370,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -205375,6 +206025,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -205443,6 +206111,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -205455,7 +206141,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -205471,7 +206158,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -213057,6 +213745,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -213125,6 +213831,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -213137,7 +213861,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -213153,7 +213878,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -213692,6 +214418,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -213760,6 +214504,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -213772,7 +214534,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -213788,7 +214551,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -214295,6 +215059,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -214363,6 +215145,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -214375,7 +215175,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -214391,7 +215192,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -215642,6 +216444,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -215710,6 +216530,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -215722,7 +216560,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -215738,7 +216577,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -216277,6 +217117,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -216345,6 +217203,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -216357,7 +217233,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -216373,7 +217250,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -216880,6 +217758,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -216948,6 +217844,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -216960,7 +217874,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -216976,7 +217891,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -217764,6 +218680,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -217832,6 +218766,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -217844,7 +218796,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -217860,7 +218813,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -218399,6 +219353,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -218467,6 +219439,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -218479,7 +219469,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -218495,7 +219486,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -219002,6 +219994,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -219070,6 +220080,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -219082,7 +220110,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -219098,7 +220127,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -220205,6 +221235,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -220273,6 +221321,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -220285,7 +221351,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -220301,7 +221368,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -220831,6 +221899,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -220899,6 +221985,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -220911,7 +222015,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -220927,7 +222032,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -221487,6 +222593,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -221555,6 +222679,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -221567,7 +222709,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -221583,7 +222726,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -222558,6 +223702,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -222626,6 +223788,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -222638,7 +223818,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -222654,7 +223835,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -223193,6 +224375,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -223261,6 +224461,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -223273,7 +224491,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -223289,7 +224508,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -224115,6 +225335,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -224183,6 +225421,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -224195,7 +225451,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -224211,7 +225468,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -224750,6 +226008,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -224818,6 +226094,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -224830,7 +226124,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -224846,7 +226141,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -227204,6 +228500,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -227272,6 +228586,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -227284,7 +228616,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -227300,7 +228633,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -229774,6 +231108,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -229842,6 +231194,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -229854,7 +231224,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -229870,7 +231241,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -230101,6 +231473,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -230169,6 +231559,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -230181,7 +231589,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -230197,7 +231606,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -230472,6 +231882,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -230540,6 +231968,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -230552,7 +231998,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -230568,7 +232015,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -230842,6 +232290,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -230910,6 +232376,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -230922,7 +232406,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -230938,7 +232423,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -233176,6 +234662,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -233244,6 +234748,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -233256,7 +234778,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -233272,7 +234795,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -233811,6 +235335,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -233879,6 +235421,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -233891,7 +235451,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -233907,7 +235468,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -234414,6 +235976,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -234482,6 +236062,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -234494,7 +236092,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -234510,7 +236109,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -270383,6 +271983,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -270451,6 +272069,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -270463,7 +272099,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -270479,7 +272116,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -292677,6 +294315,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -292745,6 +294401,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -292757,7 +294431,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -292773,7 +294448,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -293294,6 +294970,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -293362,6 +295056,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -293374,7 +295086,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -293390,7 +295103,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -293990,6 +295704,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -294058,6 +295790,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -294070,7 +295820,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -294086,7 +295837,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -328409,6 +330161,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -328477,6 +330247,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -328489,7 +330277,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -328505,7 +330294,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "dismissed_review": { @@ -332241,6 +334031,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -332309,6 +334117,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -332321,7 +334147,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -332337,7 +334164,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "dismissed_review": { @@ -360107,6 +361935,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -360175,6 +362021,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -360187,7 +362051,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -360203,7 +362068,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -361002,6 +362868,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -361070,6 +362954,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -361082,7 +362984,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -361098,7 +363001,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -383029,6 +384933,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -383097,6 +385019,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -383109,7 +385049,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -383125,7 +385066,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -383924,6 +385866,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -383992,6 +385952,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -384004,7 +385982,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -384020,7 +385999,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -402970,7 +404950,7 @@ "tags": [ "repos" ], - "operationId": "repos/get-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-get-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository" @@ -403120,7 +405100,7 @@ "tags": [ "repos" ], - "operationId": "repos/create-or-update-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-create-or-update-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository" @@ -404432,6 +406412,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -404500,6 +406498,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -404512,7 +406528,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -404528,7 +406545,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -408295,6 +410313,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -408307,7 +410343,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -414958,6 +416995,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -414970,7 +417025,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -418946,6 +421002,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -418958,7 +421032,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -428380,6 +430455,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -428448,6 +430541,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -428460,7 +430571,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -428476,7 +430588,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } } @@ -429612,6 +431725,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -429680,6 +431811,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -429692,7 +431841,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -429708,7 +431858,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -433450,6 +435601,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -433518,6 +435687,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -433530,7 +435717,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -433546,7 +435734,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -458405,101 +460594,103 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "inactive", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -462468,6 +464659,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -462536,6 +464745,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -462548,7 +464775,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -462564,7 +464792,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -464822,6 +467051,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -464890,6 +467137,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -464902,7 +467167,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -464918,7 +467184,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -466923,6 +469190,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -466991,6 +469276,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -467003,7 +469306,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -467019,7 +469323,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -468784,6 +471089,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -468852,6 +471175,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -468864,7 +471205,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -468880,7 +471222,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -470912,6 +473255,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -470980,6 +473341,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -470992,7 +473371,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -471008,7 +473388,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -479140,6 +481521,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -479208,6 +481607,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -479220,7 +481637,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -479236,7 +481654,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -493183,6 +495602,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -493195,7 +495632,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -493485,9 +495923,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -493501,6 +495957,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -493831,6 +496288,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -493843,7 +496318,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -494133,9 +496609,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -494149,6 +496643,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -494355,6 +496850,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -494367,7 +496880,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -494657,9 +497171,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -494673,6 +497205,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -503598,6 +506131,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -503666,6 +506217,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -503678,7 +506247,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -503694,7 +506264,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -556879,6 +559450,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -556891,7 +559480,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -557181,9 +559771,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -557197,6 +559805,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -583245,6 +585854,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -583313,6 +585940,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -583325,7 +585970,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -583341,7 +585987,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -678090,6 +680737,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -678102,7 +680767,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -876002,6 +878668,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -876016,7 +878700,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -876049,6 +878734,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -877835,6 +880538,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -877849,7 +880570,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -877882,6 +880604,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -966934,6 +969674,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -966946,7 +969704,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -971856,6 +974615,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -971868,7 +974645,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -986170,6 +988948,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -986182,7 +988978,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1009582,6 +1012379,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1009594,7 +1012409,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1014504,6 +1017320,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1014516,7 +1017350,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1019426,6 +1022261,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1019438,7 +1022291,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1120201,6 +1123055,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -1120269,6 +1123141,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1120281,7 +1123171,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -1120297,7 +1123188,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -1123341,6 +1126233,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -1123409,6 +1126319,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1123421,7 +1126349,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -1123437,7 +1126366,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -1230087,6 +1233017,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1230101,7 +1233049,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1230135,6 +1233084,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1231223,6 +1234190,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1231237,7 +1234222,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1231271,6 +1234257,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1232359,6 +1235363,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1232373,7 +1235395,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1232407,6 +1235430,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1233496,6 +1236537,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1233510,7 +1236569,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1233544,6 +1236604,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1234719,6 +1237797,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1234733,7 +1237829,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1234767,6 +1237864,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1235857,6 +1238972,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1235871,7 +1239004,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1235905,6 +1239039,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ 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 2b8a3d936f..65dc7b42d9 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 @@ -9856,7 +9856,7 @@ paths: examples: default: &301 value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -22250,7 +22250,7 @@ paths: operationId: orgs/list-attestations-bulk externalDocs: description: API method documentation - url: https://docs.github.com/rest/orgs/orgs#list-attestations-by-bulk-subject-digests + url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - *40 @@ -22437,7 +22437,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/attestations/delete-request": post: summary: Delete attestations in bulk @@ -22579,7 +22579,7 @@ paths: operationId: orgs/list-attestations externalDocs: description: API method documentation - url: https://docs.github.com/rest/orgs/orgs#list-attestations + url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - *17 - *40 @@ -22730,7 +22730,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/blocks": get: summary: List users blocked by an organization @@ -22965,6 +22965,22 @@ paths: repositories_url: type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to + which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 parent: title: Team Simple description: Groups of organization members that gives @@ -23026,6 +23042,22 @@ paths: to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization + to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to + which this team belongs + example: 42 required: &223 - id - node_id @@ -23037,6 +23069,7 @@ paths: - html_url - repositories_url - slug + - type nullable: true required: - id @@ -23050,6 +23083,7 @@ paths: - repositories_url - slug - parent + - type published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -32441,6 +32475,22 @@ paths: properties: *222 required: *223 nullable: true + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - id - node_id @@ -32452,6 +32502,7 @@ paths: - html_url - repositories_url - slug + - type - parent examples: default: *224 @@ -42613,10 +42664,26 @@ paths: - updated_at - archived_at ldap_dn: - description: Distinguished Name (DN) that team maps to within - LDAP environment - example: uid=example,ou=users,dc=github,dc=com type: string + description: The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) + (DN) of the LDAP entry to map to a team. + example: cn=Enterprise Ops,ou=teams,dc=github,dc=com + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this + team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - id - node_id @@ -42628,6 +42695,7 @@ paths: - html_url - repositories_url - slug + - type - created_at - updated_at - members_count @@ -81194,7 +81262,7 @@ paths: Users with read access to the repository can use this endpoint. tags: - repos - operationId: repos/get-custom-properties-values + operationId: repos/custom-properties-for-repos-get-repository-values externalDocs: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository @@ -81234,7 +81302,7 @@ paths: Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. tags: - repos - operationId: repos/create-or-update-custom-properties-values + operationId: repos/custom-properties-for-repos-create-or-update-repository-values externalDocs: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository @@ -87811,7 +87879,7 @@ paths: examples: default: value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -144539,6 +144607,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 required: - name - id @@ -144552,6 +144636,7 @@ x-webhooks: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -144575,6 +144660,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - name - id @@ -218970,6 +219071,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 required: - name - id @@ -218983,6 +219100,7 @@ x-webhooks: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -219008,6 +219126,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - name - id 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 0ac8bacb19..737ceb01fd 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -23484,48 +23484,133 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -23539,113 +23624,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -71438,7 +71440,7 @@ "operationId": "orgs/list-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#list-attestations-by-bulk-subject-digests" + "url": "https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests" }, "parameters": [ { @@ -71737,7 +71739,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -72053,7 +72055,7 @@ "operationId": "orgs/list-attestations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/orgs#list-attestations" + "url": "https://docs.github.com/rest/orgs/attestations#list-attestations" }, "parameters": [ { @@ -72293,7 +72295,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -73058,6 +73060,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -73126,6 +73146,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -73138,7 +73176,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -73154,7 +73193,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -73732,6 +73772,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -73800,6 +73858,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -73812,7 +73888,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -73828,7 +73905,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -74322,6 +74400,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -74390,6 +74486,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -74402,7 +74516,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -74418,7 +74533,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -74950,6 +75066,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -75018,6 +75152,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -75030,7 +75182,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -75046,7 +75199,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -85885,6 +86039,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -85953,6 +86125,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -85965,7 +86155,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -85981,7 +86172,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -102350,6 +102542,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -102418,6 +102628,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -102430,7 +102658,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -102446,7 +102675,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -110241,6 +110471,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -110309,6 +110557,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -110321,7 +110587,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -110337,7 +110604,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -117782,6 +118050,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -117794,9 +118080,28 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -117810,6 +118115,7 @@ "html_url", "repositories_url", "slug", + "type", "parent" ] } @@ -118005,6 +118311,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -118017,7 +118341,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] } }, @@ -134659,6 +134984,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -134727,6 +135070,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -134739,7 +135100,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -134755,7 +135117,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -160027,48 +160390,133 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -160082,113 +160530,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -161968,6 +162333,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -162036,6 +162419,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -162048,7 +162449,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -162064,7 +162466,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -163166,6 +163569,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -163178,7 +163599,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] } }, @@ -165088,6 +165510,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -165156,6 +165596,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -165168,7 +165626,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -165184,7 +165643,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -165497,6 +165957,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -165509,7 +165987,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -165799,9 +166278,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -165815,6 +166312,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -166158,6 +166656,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -166170,7 +166686,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -166460,9 +166977,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -166476,6 +167011,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -166809,6 +167345,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -166821,7 +167375,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -167111,9 +167666,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -167127,6 +167700,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -167333,6 +167907,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -167345,7 +167937,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -167635,9 +168228,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -167651,6 +168262,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -176625,6 +177237,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -176693,6 +177323,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -176705,7 +177353,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -176721,7 +177370,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -205375,6 +206025,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -205443,6 +206111,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -205455,7 +206141,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -205471,7 +206158,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -213057,6 +213745,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -213125,6 +213831,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -213137,7 +213861,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -213153,7 +213878,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -213692,6 +214418,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -213760,6 +214504,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -213772,7 +214534,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -213788,7 +214551,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -214295,6 +215059,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -214363,6 +215145,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -214375,7 +215175,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -214391,7 +215192,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -215642,6 +216444,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -215710,6 +216530,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -215722,7 +216560,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -215738,7 +216577,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -216277,6 +217117,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -216345,6 +217203,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -216357,7 +217233,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -216373,7 +217250,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -216880,6 +217758,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -216948,6 +217844,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -216960,7 +217874,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -216976,7 +217891,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -217764,6 +218680,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -217832,6 +218766,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -217844,7 +218796,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -217860,7 +218813,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -218399,6 +219353,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -218467,6 +219439,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -218479,7 +219469,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -218495,7 +219486,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -219002,6 +219994,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -219070,6 +220080,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -219082,7 +220110,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -219098,7 +220127,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -220205,6 +221235,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -220273,6 +221321,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -220285,7 +221351,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -220301,7 +221368,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -220831,6 +221899,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -220899,6 +221985,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -220911,7 +222015,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -220927,7 +222032,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -221487,6 +222593,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -221555,6 +222679,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -221567,7 +222709,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -221583,7 +222726,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -222558,6 +223702,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -222626,6 +223788,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -222638,7 +223818,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -222654,7 +223835,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -223193,6 +224375,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -223261,6 +224461,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -223273,7 +224491,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -223289,7 +224508,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -224115,6 +225335,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -224183,6 +225421,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -224195,7 +225451,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -224211,7 +225468,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -224750,6 +226008,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -224818,6 +226094,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -224830,7 +226124,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -224846,7 +226141,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -227204,6 +228500,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -227272,6 +228586,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -227284,7 +228616,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -227300,7 +228633,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -229774,6 +231108,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -229842,6 +231194,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -229854,7 +231224,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -229870,7 +231241,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -230101,6 +231473,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -230169,6 +231559,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -230181,7 +231589,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -230197,7 +231606,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -230472,6 +231882,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -230540,6 +231968,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -230552,7 +231998,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -230568,7 +232015,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -230842,6 +232290,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -230910,6 +232376,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -230922,7 +232406,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -230938,7 +232423,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -233176,6 +234662,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -233244,6 +234748,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -233256,7 +234778,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -233272,7 +234795,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -233811,6 +235335,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -233879,6 +235421,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -233891,7 +235451,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -233907,7 +235468,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -234414,6 +235976,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -234482,6 +236062,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -234494,7 +236092,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -234510,7 +236109,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -270383,6 +271983,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -270451,6 +272069,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -270463,7 +272099,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -270479,7 +272116,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -292677,6 +294315,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -292745,6 +294401,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -292757,7 +294431,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -292773,7 +294448,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -293294,6 +294970,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -293362,6 +295056,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -293374,7 +295086,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -293390,7 +295103,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -293990,6 +295704,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -294058,6 +295790,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -294070,7 +295820,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -294086,7 +295837,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -328409,6 +330161,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -328477,6 +330247,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -328489,7 +330277,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -328505,7 +330294,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "dismissed_review": { @@ -332241,6 +334031,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -332309,6 +334117,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -332321,7 +334147,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -332337,7 +334164,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "dismissed_review": { @@ -360107,6 +361935,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -360175,6 +362021,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -360187,7 +362051,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -360203,7 +362068,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -361002,6 +362868,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -361070,6 +362954,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -361082,7 +362984,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -361098,7 +363001,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -383029,6 +384933,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -383097,6 +385019,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -383109,7 +385049,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -383125,7 +385066,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -383924,6 +385866,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -383992,6 +385952,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -384004,7 +385982,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -384020,7 +385999,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -402970,7 +404950,7 @@ "tags": [ "repos" ], - "operationId": "repos/get-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-get-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository" @@ -403120,7 +405100,7 @@ "tags": [ "repos" ], - "operationId": "repos/create-or-update-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-create-or-update-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository" @@ -404432,6 +406412,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -404500,6 +406498,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -404512,7 +406528,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -404528,7 +406545,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -408295,6 +410313,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -408307,7 +410343,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -414958,6 +416995,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -414970,7 +417025,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -418946,6 +421002,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -418958,7 +421032,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -428380,6 +430455,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -428448,6 +430541,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -428460,7 +430571,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -428476,7 +430588,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } } @@ -429612,6 +431725,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -429680,6 +431811,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -429692,7 +431841,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -429708,7 +431858,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -433450,6 +435601,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -433518,6 +435687,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -433530,7 +435717,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -433546,7 +435734,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -458405,101 +460594,103 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "inactive", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -462468,6 +464659,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -462536,6 +464745,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -462548,7 +464775,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -462564,7 +464792,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -464822,6 +467051,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -464890,6 +467137,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -464902,7 +467167,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -464918,7 +467184,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -466923,6 +469190,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -466991,6 +469276,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -467003,7 +469306,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -467019,7 +469323,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -468784,6 +471089,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -468852,6 +471175,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -468864,7 +471205,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -468880,7 +471222,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -470912,6 +473255,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -470980,6 +473341,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -470992,7 +473371,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -471008,7 +473388,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -479140,6 +481521,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -479208,6 +481607,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -479220,7 +481637,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -479236,7 +481654,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -493183,6 +495602,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -493195,7 +495632,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -493485,9 +495923,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -493501,6 +495957,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -493831,6 +496288,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -493843,7 +496318,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -494133,9 +496609,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -494149,6 +496643,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -494355,6 +496850,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -494367,7 +496880,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -494657,9 +497171,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -494673,6 +497205,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -503598,6 +506131,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -503666,6 +506217,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -503678,7 +506247,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -503694,7 +506264,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -556879,6 +559450,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -556891,7 +559480,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -557181,9 +559771,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -557197,6 +559805,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -583245,6 +585854,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -583313,6 +585940,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -583325,7 +585970,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -583341,7 +585987,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -678090,6 +680737,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -678102,7 +680767,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -876002,6 +878668,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -876016,7 +878700,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -876049,6 +878734,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -877835,6 +880538,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -877849,7 +880570,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -877882,6 +880604,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -966934,6 +969674,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -966946,7 +969704,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -971856,6 +974615,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -971868,7 +974645,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -986170,6 +988948,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -986182,7 +988978,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1009582,6 +1012379,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1009594,7 +1012409,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1014504,6 +1017320,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1014516,7 +1017350,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1019426,6 +1022261,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1019438,7 +1022291,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1120201,6 +1123055,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -1120269,6 +1123141,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1120281,7 +1123171,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -1120297,7 +1123188,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -1123341,6 +1126233,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -1123409,6 +1126319,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1123421,7 +1126349,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -1123437,7 +1126366,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -1230087,6 +1233017,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1230101,7 +1233049,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1230135,6 +1233084,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1231223,6 +1234190,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1231237,7 +1234222,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1231271,6 +1234257,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1232359,6 +1235363,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1232373,7 +1235395,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1232407,6 +1235430,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1233496,6 +1236537,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1233510,7 +1236569,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1233544,6 +1236604,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1234719,6 +1237797,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1234733,7 +1237829,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1234767,6 +1237864,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1235857,6 +1238972,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1235871,7 +1239004,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1235905,6 +1239039,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ 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 2b8a3d936f..65dc7b42d9 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -9856,7 +9856,7 @@ paths: examples: default: &301 value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -22250,7 +22250,7 @@ paths: operationId: orgs/list-attestations-bulk externalDocs: description: API method documentation - url: https://docs.github.com/rest/orgs/orgs#list-attestations-by-bulk-subject-digests + url: https://docs.github.com/rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - *40 @@ -22437,7 +22437,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/attestations/delete-request": post: summary: Delete attestations in bulk @@ -22579,7 +22579,7 @@ paths: operationId: orgs/list-attestations externalDocs: description: API method documentation - url: https://docs.github.com/rest/orgs/orgs#list-attestations + url: https://docs.github.com/rest/orgs/attestations#list-attestations parameters: - *17 - *40 @@ -22730,7 +22730,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/blocks": get: summary: List users blocked by an organization @@ -22965,6 +22965,22 @@ paths: repositories_url: type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to + which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 parent: title: Team Simple description: Groups of organization members that gives @@ -23026,6 +23042,22 @@ paths: to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization + to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to + which this team belongs + example: 42 required: &223 - id - node_id @@ -23037,6 +23069,7 @@ paths: - html_url - repositories_url - slug + - type nullable: true required: - id @@ -23050,6 +23083,7 @@ paths: - repositories_url - slug - parent + - type published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -32441,6 +32475,22 @@ paths: properties: *222 required: *223 nullable: true + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - id - node_id @@ -32452,6 +32502,7 @@ paths: - html_url - repositories_url - slug + - type - parent examples: default: *224 @@ -42613,10 +42664,26 @@ paths: - updated_at - archived_at ldap_dn: - description: Distinguished Name (DN) that team maps to within - LDAP environment - example: uid=example,ou=users,dc=github,dc=com type: string + description: The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) + (DN) of the LDAP entry to map to a team. + example: cn=Enterprise Ops,ou=teams,dc=github,dc=com + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this + team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - id - node_id @@ -42628,6 +42695,7 @@ paths: - html_url - repositories_url - slug + - type - created_at - updated_at - members_count @@ -81194,7 +81262,7 @@ paths: Users with read access to the repository can use this endpoint. tags: - repos - operationId: repos/get-custom-properties-values + operationId: repos/custom-properties-for-repos-get-repository-values externalDocs: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository @@ -81234,7 +81302,7 @@ paths: Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. tags: - repos - operationId: repos/create-or-update-custom-properties-values + operationId: repos/custom-properties-for-repos-create-or-update-repository-values externalDocs: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository @@ -87811,7 +87879,7 @@ paths: examples: default: value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -144539,6 +144607,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 required: - name - id @@ -144552,6 +144636,7 @@ x-webhooks: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -144575,6 +144660,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - name - id @@ -218970,6 +219071,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 required: - name - id @@ -218983,6 +219100,7 @@ x-webhooks: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -219008,6 +219126,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - name - id diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 37e6051596..21e27d1fab 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -39001,6 +39001,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -39069,6 +39087,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -39081,7 +39117,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -39097,7 +39134,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -43087,6 +43125,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -43155,6 +43211,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -43167,7 +43241,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -43183,7 +43258,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -54333,48 +54409,133 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -54388,113 +54549,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -106837,7 +106915,7 @@ "operationId": "orgs/list-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests" }, "parameters": [ { @@ -107136,7 +107214,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -107452,7 +107530,7 @@ "operationId": "orgs/list-attestations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations" }, "parameters": [ { @@ -107692,7 +107770,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -109669,6 +109747,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -109737,6 +109833,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -109749,7 +109863,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -109765,7 +109880,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -110343,6 +110459,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -110411,6 +110545,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -110423,7 +110575,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -110439,7 +110592,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -110933,6 +111087,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -111001,6 +111173,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -111013,7 +111203,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -111029,7 +111220,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -111561,6 +111753,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -111629,6 +111839,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -111641,7 +111869,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -111657,7 +111886,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -122520,6 +122750,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -122588,6 +122836,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -122600,7 +122866,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -122616,7 +122883,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -143300,6 +143568,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -143368,6 +143654,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -143380,7 +143684,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -143396,7 +143701,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -151215,6 +151521,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -151283,6 +151607,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -151295,7 +151637,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -151311,7 +151654,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -159857,6 +160201,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -159869,9 +160231,28 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -159885,6 +160266,7 @@ "html_url", "repositories_url", "slug", + "type", "parent" ] } @@ -160080,6 +160462,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -160092,7 +160492,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] } }, @@ -176782,6 +177183,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -176850,6 +177269,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -176862,7 +177299,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -176878,7 +177316,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -202258,48 +202697,133 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -202313,113 +202837,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -204199,6 +204640,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -204267,6 +204726,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -204279,7 +204756,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -204295,7 +204773,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -205397,6 +205876,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -205409,7 +205906,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] } }, @@ -207650,6 +208148,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -207718,6 +208234,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -207730,7 +208264,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -207746,7 +208281,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -208059,6 +208595,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -208071,7 +208625,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -208361,9 +208916,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -208377,6 +208950,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -208720,6 +209294,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -208732,7 +209324,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -209022,9 +209615,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -209038,6 +209649,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -209371,6 +209983,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -209383,7 +210013,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -209673,9 +210304,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -209689,6 +210338,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -209895,6 +210545,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -209907,7 +210575,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -210197,9 +210866,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -210213,6 +210900,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -219876,6 +220564,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -219944,6 +220650,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -219956,7 +220680,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -219972,7 +220697,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -250785,6 +251511,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -250853,6 +251597,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -250865,7 +251627,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -250881,7 +251644,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -258491,6 +259255,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -258559,6 +259341,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -258571,7 +259371,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -258587,7 +259388,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -259126,6 +259928,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -259194,6 +260014,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -259206,7 +260044,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -259222,7 +260061,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -259729,6 +260569,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -259797,6 +260655,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -259809,7 +260685,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -259825,7 +260702,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -261076,6 +261954,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -261144,6 +262040,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -261156,7 +262070,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -261172,7 +262087,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -261711,6 +262627,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -261779,6 +262713,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -261791,7 +262743,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -261807,7 +262760,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -262314,6 +263268,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -262382,6 +263354,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -262394,7 +263384,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -262410,7 +263401,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -263198,6 +264190,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -263266,6 +264276,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -263278,7 +264306,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -263294,7 +264323,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -263833,6 +264863,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -263901,6 +264949,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -263913,7 +264979,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -263929,7 +264996,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -264436,6 +265504,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -264504,6 +265590,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -264516,7 +265620,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -264532,7 +265637,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -265639,6 +266745,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -265707,6 +266831,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -265719,7 +266861,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -265735,7 +266878,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -266265,6 +267409,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -266333,6 +267495,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -266345,7 +267525,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -266361,7 +267542,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -266921,6 +268103,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -266989,6 +268189,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -267001,7 +268219,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -267017,7 +268236,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -267992,6 +269212,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -268060,6 +269298,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -268072,7 +269328,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -268088,7 +269345,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -268627,6 +269885,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -268695,6 +269971,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -268707,7 +270001,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -268723,7 +270018,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -269549,6 +270845,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -269617,6 +270931,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -269629,7 +270961,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -269645,7 +270978,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -270184,6 +271518,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -270252,6 +271604,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -270264,7 +271634,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -270280,7 +271651,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -272638,6 +274010,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -272706,6 +274096,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -272718,7 +274126,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -272734,7 +274143,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -275208,6 +276618,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -275276,6 +276704,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -275288,7 +276734,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -275304,7 +276751,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -275535,6 +276983,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -275603,6 +277069,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -275615,7 +277099,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -275631,7 +277116,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -275906,6 +277392,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -275974,6 +277478,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -275986,7 +277508,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -276002,7 +277525,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -276276,6 +277800,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -276344,6 +277886,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -276356,7 +277916,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -276372,7 +277933,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -278610,6 +280172,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -278678,6 +280258,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -278690,7 +280288,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -278706,7 +280305,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -279245,6 +280845,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -279313,6 +280931,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -279325,7 +280961,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -279341,7 +280978,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -279848,6 +281486,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -279916,6 +281572,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -279928,7 +281602,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -279944,7 +281619,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -318016,6 +319692,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -318084,6 +319778,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -318096,7 +319808,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -318112,7 +319825,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -342496,6 +344210,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -342564,6 +344296,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -342576,7 +344326,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -342592,7 +344343,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -343113,6 +344865,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -343181,6 +344951,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -343193,7 +344981,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -343209,7 +344998,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -343809,6 +345599,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -343877,6 +345685,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -343889,7 +345715,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -343905,7 +345732,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -378292,6 +380120,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -378360,6 +380206,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -378372,7 +380236,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -378388,7 +380253,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "dismissed_review": { @@ -382124,6 +383990,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -382192,6 +384076,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -382204,7 +384106,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -382220,7 +384123,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "dismissed_review": { @@ -409990,6 +411894,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -410058,6 +411980,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -410070,7 +412010,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -410086,7 +412027,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -410885,6 +412827,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -410953,6 +412913,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -410965,7 +412943,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -410981,7 +412960,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -432912,6 +434892,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -432980,6 +434978,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -432992,7 +435008,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -433008,7 +435025,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -433807,6 +435825,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -433875,6 +435911,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -433887,7 +435941,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -433903,7 +435958,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -452972,7 +455028,7 @@ "tags": [ "repos" ], - "operationId": "repos/get-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-get-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository" @@ -453122,7 +455178,7 @@ "tags": [ "repos" ], - "operationId": "repos/create-or-update-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-create-or-update-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository" @@ -454434,6 +456490,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -454502,6 +456576,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -454514,7 +456606,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -454530,7 +456623,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -458297,6 +460391,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -458309,7 +460421,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -464960,6 +467073,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -464972,7 +467103,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -468948,6 +471080,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -468960,7 +471110,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -478406,6 +480557,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -478474,6 +480643,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -478486,7 +480673,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -478502,7 +480690,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } } @@ -479638,6 +481827,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -479706,6 +481913,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -479718,7 +481943,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -479734,7 +481960,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -483476,6 +485703,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -483544,6 +485789,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -483556,7 +485819,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -483572,7 +485836,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -508437,101 +510702,103 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "inactive", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -512500,6 +514767,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -512568,6 +514853,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -512580,7 +514883,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -512596,7 +514900,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -514854,6 +517159,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -514922,6 +517245,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -514934,7 +517275,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -514950,7 +517292,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -516955,6 +519298,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -517023,6 +519384,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -517035,7 +519414,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -517051,7 +519431,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -518816,6 +521197,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -518884,6 +521283,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -518896,7 +521313,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -518912,7 +521330,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -520944,6 +523363,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -521012,6 +523449,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -521024,7 +523479,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -521040,7 +523496,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -529184,6 +531641,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -529252,6 +531727,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -529264,7 +531757,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -529280,7 +531774,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -553292,6 +555787,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -553304,7 +555817,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -553594,9 +556108,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -553610,6 +556142,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -553940,6 +556473,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -553952,7 +556503,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -554242,9 +556794,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -554258,6 +556828,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -554464,6 +557035,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -554476,7 +557065,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -554766,9 +557356,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -554782,6 +557390,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -564170,6 +566779,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -564238,6 +566865,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -564250,7 +566895,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -564266,7 +566912,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -617659,6 +620306,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -617671,7 +620336,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -617961,9 +620627,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -617977,6 +620661,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -644077,6 +646762,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -644145,6 +646848,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -644157,7 +646878,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -644173,7 +646895,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -758690,6 +761413,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -758702,7 +761443,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -970509,6 +973251,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -970523,7 +973283,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -970556,6 +973317,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -972342,6 +975121,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -972356,7 +975153,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -972389,6 +975187,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1061441,6 +1064257,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1061453,7 +1064287,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1066363,6 +1069198,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1066375,7 +1069228,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1080677,6 +1083531,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1080689,7 +1083561,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1104089,6 +1106962,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1104101,7 +1106992,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1109011,6 +1111903,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1109023,7 +1111933,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1113933,6 +1116844,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1113945,7 +1116874,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1214708,6 +1217638,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -1214776,6 +1217724,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1214788,7 +1217754,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -1214804,7 +1217771,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -1217848,6 +1220816,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -1217916,6 +1220902,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1217928,7 +1220932,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -1217944,7 +1220949,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -1324621,6 +1327627,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1324635,7 +1327659,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1324669,6 +1327694,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1325757,6 +1328800,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1325771,7 +1328832,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1325805,6 +1328867,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1326893,6 +1329973,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1326907,7 +1330005,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1326941,6 +1330040,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1328030,6 +1331147,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1328044,7 +1331179,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1328078,6 +1331214,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1329253,6 +1332407,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1329267,7 +1332439,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1329301,6 +1332474,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1330391,6 +1333582,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1330405,7 +1333614,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1330439,6 +1333649,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 810aaf4ae6..ac6cc9c612 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -15021,6 +15021,22 @@ paths: repositories_url: type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization + to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to + which this team belongs + example: 42 parent: title: Team Simple description: Groups of organization members that gives @@ -15082,6 +15098,22 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization + to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise + to which this team belongs + example: 42 required: &351 - id - node_id @@ -15093,6 +15125,7 @@ paths: - html_url - repositories_url - slug + - type nullable: true required: - id @@ -15106,6 +15139,7 @@ paths: - repositories_url - slug - parent + - type - &176 title: Enterprise Team description: Group of enterprise owners and/or members @@ -19708,7 +19742,7 @@ paths: examples: default: &404 value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -32750,7 +32784,7 @@ paths: operationId: orgs/list-attestations-bulk externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - *99 @@ -32937,7 +32971,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/attestations/delete-request": post: summary: Delete attestations in bulk @@ -33079,7 +33113,7 @@ paths: operationId: orgs/list-attestations externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations parameters: - *17 - *99 @@ -33230,7 +33264,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/audit-log": get: summary: Get the audit log for an organization @@ -43684,6 +43718,22 @@ paths: properties: *350 required: *351 nullable: true + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - id - node_id @@ -43695,6 +43745,7 @@ paths: - html_url - repositories_url - slug + - type - parent examples: default: *352 @@ -52492,10 +52543,26 @@ paths: - updated_at - archived_at ldap_dn: - description: Distinguished Name (DN) that team maps to within - LDAP environment - example: uid=example,ou=users,dc=github,dc=com type: string + description: The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) + (DN) of the LDAP entry to map to a team. + example: cn=Enterprise Ops,ou=teams,dc=github,dc=com + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this + team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - id - node_id @@ -52507,6 +52574,7 @@ paths: - html_url - repositories_url - slug + - type - created_at - updated_at - members_count @@ -92571,7 +92639,7 @@ paths: Users with read access to the repository can use this endpoint. tags: - repos - operationId: repos/get-custom-properties-values + operationId: repos/custom-properties-for-repos-get-repository-values externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository @@ -92611,7 +92679,7 @@ paths: Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. tags: - repos - operationId: repos/create-or-update-custom-properties-values + operationId: repos/custom-properties-for-repos-create-or-update-repository-values externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository @@ -99189,7 +99257,7 @@ paths: examples: default: value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -159519,6 +159587,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 required: - name - id @@ -159532,6 +159616,7 @@ x-webhooks: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -159555,6 +159640,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - name - id @@ -233950,6 +234051,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 required: - name - id @@ -233963,6 +234080,7 @@ x-webhooks: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -233988,6 +234106,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - name - id diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 37e6051596..21e27d1fab 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -39001,6 +39001,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -39069,6 +39087,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -39081,7 +39117,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -39097,7 +39134,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -43087,6 +43125,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -43155,6 +43211,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -43167,7 +43241,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -43183,7 +43258,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -54333,48 +54409,133 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -54388,113 +54549,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -106837,7 +106915,7 @@ "operationId": "orgs/list-attestations-bulk", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests" }, "parameters": [ { @@ -107136,7 +107214,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -107452,7 +107530,7 @@ "operationId": "orgs/list-attestations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations" }, "parameters": [ { @@ -107692,7 +107770,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "orgs", - "subcategory": "orgs" + "subcategory": "attestations" } } }, @@ -109669,6 +109747,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -109737,6 +109833,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -109749,7 +109863,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -109765,7 +109880,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -110343,6 +110459,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -110411,6 +110545,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -110423,7 +110575,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -110439,7 +110592,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -110933,6 +111087,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -111001,6 +111173,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -111013,7 +111203,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -111029,7 +111220,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -111561,6 +111753,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -111629,6 +111839,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -111641,7 +111869,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -111657,7 +111886,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -122520,6 +122750,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -122588,6 +122836,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -122600,7 +122866,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -122616,7 +122883,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -143300,6 +143568,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -143368,6 +143654,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -143380,7 +143684,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -143396,7 +143701,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -151215,6 +151521,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -151283,6 +151607,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -151295,7 +151637,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -151311,7 +151654,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, { @@ -159857,6 +160201,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -159869,9 +160231,28 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -159885,6 +160266,7 @@ "html_url", "repositories_url", "slug", + "type", "parent" ] } @@ -160080,6 +160462,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -160092,7 +160492,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] } }, @@ -176782,6 +177183,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -176850,6 +177269,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -176862,7 +177299,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -176878,7 +177316,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -202258,48 +202697,133 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", "gravatar_id": "", "url": "https://api.github.com/users/octocat", "html_url": "https://github.com/octocat", @@ -202313,113 +202837,30 @@ "events_url": "https://api.github.com/users/octocat/events{/privacy}", "received_events_url": "https://api.github.com/users/octocat/received_events", "type": "User", - "site_admin": false + "site_admin": true }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -204199,6 +204640,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -204267,6 +204726,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -204279,7 +204756,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -204295,7 +204773,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -205397,6 +205876,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -205409,7 +205906,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] } }, @@ -207650,6 +208148,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -207718,6 +208234,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -207730,7 +208264,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -207746,7 +208281,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -208059,6 +208595,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -208071,7 +208625,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -208361,9 +208916,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -208377,6 +208950,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -208720,6 +209294,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -208732,7 +209324,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -209022,9 +209615,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -209038,6 +209649,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -209371,6 +209983,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -209383,7 +210013,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -209673,9 +210304,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -209689,6 +210338,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -209895,6 +210545,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -209907,7 +210575,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -210197,9 +210866,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -210213,6 +210900,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -219876,6 +220564,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -219944,6 +220650,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -219956,7 +220680,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -219972,7 +220697,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -250785,6 +251511,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -250853,6 +251597,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -250865,7 +251627,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -250881,7 +251644,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -258491,6 +259255,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -258559,6 +259341,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -258571,7 +259371,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -258587,7 +259388,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -259126,6 +259928,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -259194,6 +260014,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -259206,7 +260044,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -259222,7 +260061,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -259729,6 +260569,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -259797,6 +260655,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -259809,7 +260685,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -259825,7 +260702,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -261076,6 +261954,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -261144,6 +262040,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -261156,7 +262070,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -261172,7 +262087,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -261711,6 +262627,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -261779,6 +262713,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -261791,7 +262743,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -261807,7 +262760,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -262314,6 +263268,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -262382,6 +263354,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -262394,7 +263384,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -262410,7 +263401,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -263198,6 +264190,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -263266,6 +264276,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -263278,7 +264306,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -263294,7 +264323,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -263833,6 +264863,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -263901,6 +264949,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -263913,7 +264979,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -263929,7 +264996,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -264436,6 +265504,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -264504,6 +265590,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -264516,7 +265620,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -264532,7 +265637,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -265639,6 +266745,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -265707,6 +266831,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -265719,7 +266861,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -265735,7 +266878,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -266265,6 +267409,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -266333,6 +267495,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -266345,7 +267525,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -266361,7 +267542,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -266921,6 +268103,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -266989,6 +268189,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -267001,7 +268219,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -267017,7 +268236,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -267992,6 +269212,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -268060,6 +269298,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -268072,7 +269328,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -268088,7 +269345,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -268627,6 +269885,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -268695,6 +269971,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -268707,7 +270001,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -268723,7 +270018,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -269549,6 +270845,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -269617,6 +270931,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -269629,7 +270961,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -269645,7 +270978,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -270184,6 +271518,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -270252,6 +271604,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -270264,7 +271634,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -270280,7 +271651,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -272638,6 +274010,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -272706,6 +274096,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -272718,7 +274126,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -272734,7 +274143,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -275208,6 +276618,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -275276,6 +276704,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -275288,7 +276734,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -275304,7 +276751,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -275535,6 +276983,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -275603,6 +277069,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -275615,7 +277099,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -275631,7 +277116,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -275906,6 +277392,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -275974,6 +277478,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -275986,7 +277508,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -276002,7 +277525,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -276276,6 +277800,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -276344,6 +277886,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -276356,7 +277916,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -276372,7 +277933,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -278610,6 +280172,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -278678,6 +280258,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -278690,7 +280288,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -278706,7 +280305,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -279245,6 +280845,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -279313,6 +280931,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -279325,7 +280961,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -279341,7 +280978,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -279848,6 +281486,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -279916,6 +281572,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -279928,7 +281602,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -279944,7 +281619,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -318016,6 +319692,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -318084,6 +319778,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -318096,7 +319808,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -318112,7 +319825,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -342496,6 +344210,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -342564,6 +344296,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -342576,7 +344326,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -342592,7 +344343,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -343113,6 +344865,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -343181,6 +344951,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -343193,7 +344981,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -343209,7 +344998,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -343809,6 +345599,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -343877,6 +345685,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -343889,7 +345715,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -343905,7 +345732,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } ] @@ -378292,6 +380120,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -378360,6 +380206,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -378372,7 +380236,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -378388,7 +380253,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "dismissed_review": { @@ -382124,6 +383990,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -382192,6 +384076,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -382204,7 +384106,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -382220,7 +384123,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "dismissed_review": { @@ -409990,6 +411894,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -410058,6 +411980,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -410070,7 +412010,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -410086,7 +412027,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -410885,6 +412827,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -410953,6 +412913,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -410965,7 +412943,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -410981,7 +412960,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -432912,6 +434892,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -432980,6 +434978,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -432992,7 +435008,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -433008,7 +435025,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -433807,6 +435825,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -433875,6 +435911,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -433887,7 +435941,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -433903,7 +435958,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "requested_reviewer": { @@ -452972,7 +455028,7 @@ "tags": [ "repos" ], - "operationId": "repos/get-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-get-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository" @@ -453122,7 +455178,7 @@ "tags": [ "repos" ], - "operationId": "repos/create-or-update-custom-properties-values", + "operationId": "repos/custom-properties-for-repos-create-or-update-repository-values", "externalDocs": { "description": "API method documentation", "url": "https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository" @@ -454434,6 +456490,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -454502,6 +456576,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -454514,7 +456606,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -454530,7 +456623,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -458297,6 +460391,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -458309,7 +460421,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -464960,6 +467073,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -464972,7 +467103,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -468948,6 +471080,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -468960,7 +471110,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -478406,6 +480557,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -478474,6 +480643,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -478486,7 +480673,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -478502,7 +480690,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } } @@ -479638,6 +481827,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -479706,6 +481913,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -479718,7 +481943,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -479734,7 +481960,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -483476,6 +485703,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -483544,6 +485789,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -483556,7 +485819,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -483572,7 +485836,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -508437,101 +510702,103 @@ }, "examples": { "default": { - "value": { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "inactive", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true - } + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "inactive", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true + } + ] } } } @@ -512500,6 +514767,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -512568,6 +514853,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -512580,7 +514883,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -512596,7 +514900,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -514854,6 +517159,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -514922,6 +517245,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -514934,7 +517275,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -514950,7 +517292,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -516955,6 +519298,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -517023,6 +519384,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -517035,7 +519414,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -517051,7 +519431,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -518816,6 +521197,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -518884,6 +521283,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -518896,7 +521313,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -518912,7 +521330,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -520944,6 +523363,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -521012,6 +523449,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -521024,7 +523479,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -521040,7 +523496,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -529184,6 +531641,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -529252,6 +531727,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -529264,7 +531757,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -529280,7 +531774,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -553292,6 +555787,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -553304,7 +555817,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -553594,9 +556108,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -553610,6 +556142,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -553940,6 +556473,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -553952,7 +556503,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -554242,9 +556794,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -554258,6 +556828,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -554464,6 +557035,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -554476,7 +557065,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -554766,9 +557356,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -554782,6 +557390,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -564170,6 +566779,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -564238,6 +566865,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -564250,7 +566895,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -564266,7 +566912,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -617659,6 +620306,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -617671,7 +620336,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true }, @@ -617961,9 +620627,27 @@ ] }, "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" + "type": "string", + "description": "The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team.", + "example": "cn=Enterprise Ops,ou=teams,dc=github,dc=com" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -617977,6 +620661,7 @@ "html_url", "repositories_url", "slug", + "type", "created_at", "updated_at", "members_count", @@ -644077,6 +646762,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -644145,6 +646848,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -644157,7 +646878,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -644173,7 +646895,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] }, "nullable": true @@ -758690,6 +761413,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -758702,7 +761443,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -970509,6 +973251,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -970523,7 +973283,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -970556,6 +973317,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -972342,6 +975121,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -972356,7 +975153,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -972389,6 +975187,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1061441,6 +1064257,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1061453,7 +1064287,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1066363,6 +1069198,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1066375,7 +1069228,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1080677,6 +1083531,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1080689,7 +1083561,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1104089,6 +1106962,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1104101,7 +1106992,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1109011,6 +1111903,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1109023,7 +1111933,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1113933,6 +1116844,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1113945,7 +1116874,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ] }, "nullable": true @@ -1214708,6 +1217638,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -1214776,6 +1217724,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1214788,7 +1217754,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -1214804,7 +1217771,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -1217848,6 +1220816,24 @@ "type": "string", "format": "uri" }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 + }, "parent": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -1217916,6 +1220902,24 @@ "description": "Distinguished Name (DN) that team maps to within LDAP environment", "example": "uid=example,ou=users,dc=github,dc=com", "type": "string" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1217928,7 +1220932,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "type" ], "nullable": true } @@ -1217944,7 +1220949,8 @@ "html_url", "repositories_url", "slug", - "parent" + "parent", + "type" ] } }, @@ -1324621,6 +1327627,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1324635,7 +1327659,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1324669,6 +1327694,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1325757,6 +1328800,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1325771,7 +1328832,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1325805,6 +1328867,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1326893,6 +1329973,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1326907,7 +1330005,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1326941,6 +1330040,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1328030,6 +1331147,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1328044,7 +1331179,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1328078,6 +1331214,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1329253,6 +1332407,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1329267,7 +1332439,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1329301,6 +1332474,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1330391,6 +1333582,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ @@ -1330405,7 +1333614,8 @@ "html_url", "members_url", "repositories_url", - "permission" + "permission", + "type" ] }, "permission": { @@ -1330439,6 +1333649,24 @@ "description": "URL for the team", "type": "string", "format": "uri" + }, + "type": { + "description": "The ownership type of the team", + "type": "string", + "enum": [ + "enterprise", + "organization" + ] + }, + "organization_id": { + "type": "integer", + "description": "Unique identifier of the organization to which this team belongs", + "example": 37 + }, + "enterprise_id": { + "type": "integer", + "description": "Unique identifier of the enterprise to which this team belongs", + "example": 42 } }, "required": [ diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 810aaf4ae6..ac6cc9c612 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -15021,6 +15021,22 @@ paths: repositories_url: type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization + to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to + which this team belongs + example: 42 parent: title: Team Simple description: Groups of organization members that gives @@ -15082,6 +15098,22 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization + to which this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise + to which this team belongs + example: 42 required: &351 - id - node_id @@ -15093,6 +15125,7 @@ paths: - html_url - repositories_url - slug + - type nullable: true required: - id @@ -15106,6 +15139,7 @@ paths: - repositories_url - slug - parent + - type - &176 title: Enterprise Team description: Group of enterprise owners and/or members @@ -19708,7 +19742,7 @@ paths: examples: default: &404 value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -32750,7 +32784,7 @@ paths: operationId: orgs/list-attestations-bulk externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations-by-bulk-subject-digests + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations-by-bulk-subject-digests parameters: - *17 - *99 @@ -32937,7 +32971,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/attestations/delete-request": post: summary: Delete attestations in bulk @@ -33079,7 +33113,7 @@ paths: operationId: orgs/list-attestations externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestations parameters: - *17 - *99 @@ -33230,7 +33264,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: orgs - subcategory: orgs + subcategory: attestations "/orgs/{org}/audit-log": get: summary: Get the audit log for an organization @@ -43684,6 +43718,22 @@ paths: properties: *350 required: *351 nullable: true + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - id - node_id @@ -43695,6 +43745,7 @@ paths: - html_url - repositories_url - slug + - type - parent examples: default: *352 @@ -52492,10 +52543,26 @@ paths: - updated_at - archived_at ldap_dn: - description: Distinguished Name (DN) that team maps to within - LDAP environment - example: uid=example,ou=users,dc=github,dc=com type: string + description: The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) + (DN) of the LDAP entry to map to a team. + example: cn=Enterprise Ops,ou=teams,dc=github,dc=com + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which this + team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - id - node_id @@ -52507,6 +52574,7 @@ paths: - html_url - repositories_url - slug + - type - created_at - updated_at - members_count @@ -92571,7 +92639,7 @@ paths: Users with read access to the repository can use this endpoint. tags: - repos - operationId: repos/get-custom-properties-values + operationId: repos/custom-properties-for-repos-get-repository-values externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository @@ -92611,7 +92679,7 @@ paths: Repository admins and other users with the repository-level "edit custom property values" fine-grained permission can use this endpoint. tags: - repos - operationId: repos/create-or-update-custom-properties-values + operationId: repos/custom-properties-for-repos-create-or-update-repository-values externalDocs: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository @@ -99189,7 +99257,7 @@ paths: examples: default: value: - number: 2 + - number: 2 created_at: '2020-11-06T18:48:51Z' url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 html_url: https://github.com/owner/private-repo/security/secret-scanning/2 @@ -159519,6 +159587,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 required: - name - id @@ -159532,6 +159616,7 @@ x-webhooks: - members_url - repositories_url - permission + - type permission: description: Permission that the team will have for its repositories type: string @@ -159555,6 +159640,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which this + team belongs + example: 42 required: - name - id @@ -233950,6 +234051,22 @@ x-webhooks: description: URL for the team type: string format: uri + type: + description: The ownership type of the team + type: string + enum: + - enterprise + - organization + organization_id: + type: integer + description: Unique identifier of the organization to which + this team belongs + example: 37 + enterprise_id: + type: integer + description: Unique identifier of the enterprise to which + this team belongs + example: 42 {"code":"deadline_exceeded","msg":"operation timed out"}