diff --git a/cache/openapi-schema.json b/cache/openapi-schema.json index bbde37e57..266ee152d 100644 --- a/cache/openapi-schema.json +++ b/cache/openapi-schema.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "2.22.1", + "version": "2.22.3", "title": "GitHub's official OpenAPI spec + Octokit extension", "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", "license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" }, @@ -6104,7 +6104,7 @@ }, "examples": { "default": { - "$ref": "#/components/examples/repository-paginated" + "$ref": "#/components/examples/minimal-repository-paginated" } } } @@ -9777,7 +9777,7 @@ "/orgs/{org}/settings/billing/packages": { "get": { "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage usued for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.", + "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.", "operationId": "billing/get-github-packages-billing-org", "tags": ["billing"], "externalDocs": { @@ -11970,7 +11970,7 @@ "schema": { "properties": { "position": { - "description": "The position of the card in a column", + "description": "The position of the card in a column. Can be one of: `top`, `bottom`, or `after:` to place after the specified card.", "example": "bottom", "type": "string", "pattern": "^(?:top|bottom|after:\\d+)$" @@ -12402,7 +12402,7 @@ "schema": { "properties": { "position": { - "description": "The position of the column in a project", + "description": "The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column.", "example": "last", "type": "string", "pattern": "^(?:first|last|after:\\d+)$" @@ -13153,6 +13153,23 @@ "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header.", "enum": ["public", "private", "visibility", "internal"] }, + "security_and_analysis": { + "type": "object", + "description": "Specify which security and analysis features to enable or disable.", + "nullable": true, + "properties": { + "advanced_security": { + "type": "object", + "description": "Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see \"[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security).\" If you're an admin user for a repository covered by an Advanced Security license, you can check whether Advanced Security is currently enabled by using a `GET /repos/{owner}/{repo}` request.", + "properties": { + "status": { + "type": "string", + "description": "Can be `enabled` or `disabled`." + } + } + } + } + }, "has_issues": { "type": "boolean", "description": "Either `true` to enable issues for this repository or `false` to disable them.", @@ -15440,6 +15457,10 @@ "allow_deletions": { "type": "boolean", "description": "Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://help.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\" in the GitHub Help documentation." + }, + "required_conversation_resolution": { + "type": "boolean", + "description": "Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`." } }, "required": [ @@ -15471,7 +15492,8 @@ }, "required_linear_history": true, "allow_force_pushes": true, - "allow_deletions": true + "allow_deletions": true, + "required_conversation_resolution": true } } } @@ -25144,12 +25166,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/issue-event-for-issue" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/issue-event-for-issue-items" + "$ref": "#/components/schemas/timeline-issue-events" } } } @@ -29520,6 +29537,13 @@ "required": false, "schema": { "type": "string", "enum": ["open", "resolved"] } }, + { + "name": "secret_type", + "in": "query", + "description": "A comma separated list of secret types to return. By default all secret types are returned.", + "required": false, + "schema": { "type": "string" } + }, { "$ref": "#/components/parameters/page" }, { "$ref": "#/components/parameters/per_page" } ], @@ -35110,13 +35134,8 @@ "application/json": { "schema": { "properties": { - "email": { - "description": "An email address associated with the GitHub user account to manage.", - "type": "string", - "example": "org@example.com" - }, "visibility": { - "description": "Denotes whether an email is publically visible.", + "description": "Denotes whether an email is publicly visible.", "type": "string", "enum": ["public", "private"] } @@ -39176,6 +39195,8 @@ "description": "Simple User", "type": "object", "properties": { + "name": { "nullable": true, "type": "string" }, + "email": { "nullable": true, "type": "string" }, "login": { "type": "string", "example": "octocat" }, "id": { "type": "integer", "example": 1 }, "node_id": { "type": "string", "example": "MDQ6VXNlcjE=" }, @@ -39377,7 +39398,7 @@ "permissions", "events" ], - "additionalProperties": true + "nullable": true }, "basic-error": { "title": "Basic Error", @@ -39507,116 +39528,6 @@ "avatar_url" ] }, - "installation": { - "title": "Installation", - "description": "Installation", - "type": "object", - "properties": { - "id": { - "description": "The ID of the installation.", - "type": "integer", - "example": 1 - }, - "account": { - "nullable": true, - "anyOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/enterprise" } - ] - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": ["all", "selected"] - }, - "access_tokens_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/installations/1/access_tokens" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/installation/repositories" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/organizations/github/settings/installations/1" - }, - "app_id": { "type": "integer", "example": 1 }, - "target_id": { - "description": "The ID of the user or organization this token is being scoped to.", - "type": "integer" - }, - "target_type": { "type": "string", "example": "Organization" }, - "permissions": { - "type": "object", - "example": { "issues": "read", "deployments": "write" }, - "properties": { - "deployments": { "type": "string" }, - "checks": { "type": "string" }, - "metadata": { "type": "string" }, - "contents": { "type": "string" }, - "pull_requests": { "type": "string" }, - "statuses": { "type": "string" }, - "issues": { "type": "string", "example": "\"read\"" }, - "organization_administration": { - "type": "string", - "example": "\"read\"" - } - } - }, - "events": { "type": "array", "items": { "type": "string" } }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "single_file_name": { - "type": "string", - "example": "config.yaml", - "nullable": true - }, - "has_multiple_single_files": { "type": "boolean", "example": true }, - "single_file_paths": { - "type": "array", - "items": { "type": "string" }, - "example": ["config.yml", ".github/issue_TEMPLATE.md"] - }, - "app_slug": { "type": "string", "example": "github-actions" }, - "suspended_by": { - "nullable": true, - "allOf": [{ "$ref": "#/components/schemas/simple-user" }] - }, - "suspended_at": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "contact_email": { - "type": "string", - "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", - "nullable": true - } - }, - "required": [ - "id", - "app_id", - "app_slug", - "target_id", - "target_type", - "single_file_name", - "repository_selection", - "access_tokens_url", - "html_url", - "repositories_url", - "events", - "account", - "permissions", - "created_at", - "updated_at", - "suspended_by", - "suspended_at" - ] - }, "app-permissions": { "title": "App Permissions", "type": "object", @@ -39752,6 +39663,11 @@ "description": "The level of permission to grant the access token to manage organization projects, columns, and cards. Can be one of: `read`, `write`, or `admin`.", "enum": ["read", "write", "admin"] }, + "organization_packages": { + "type": "string", + "description": "The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`.", + "enum": ["read", "write"] + }, "organization_secrets": { "type": "string", "description": "The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`.", @@ -39780,6 +39696,100 @@ "single_file": "read" } }, + "installation": { + "title": "Installation", + "description": "Installation", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "example": 1 + }, + "account": { + "nullable": true, + "anyOf": [ + { "$ref": "#/components/schemas/simple-user" }, + { "$ref": "#/components/schemas/enterprise" } + ] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": ["all", "selected"] + }, + "access_tokens_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installations/1/access_tokens" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/installation/repositories" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/organizations/github/settings/installations/1" + }, + "app_id": { "type": "integer", "example": 1 }, + "target_id": { + "description": "The ID of the user or organization this token is being scoped to.", + "type": "integer" + }, + "target_type": { "type": "string", "example": "Organization" }, + "permissions": { "$ref": "#/components/schemas/app-permissions" }, + "events": { "type": "array", "items": { "type": "string" } }, + "created_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": "string", "format": "date-time" }, + "single_file_name": { + "type": "string", + "example": "config.yaml", + "nullable": true + }, + "has_multiple_single_files": { "type": "boolean", "example": true }, + "single_file_paths": { + "type": "array", + "items": { "type": "string" }, + "example": ["config.yml", ".github/issue_TEMPLATE.md"] + }, + "app_slug": { "type": "string", "example": "github-actions" }, + "suspended_by": { + "nullable": true, + "allOf": [{ "$ref": "#/components/schemas/simple-user" }] + }, + "suspended_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "contact_email": { + "type": "string", + "example": "\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\"", + "nullable": true + } + }, + "required": [ + "id", + "app_id", + "app_slug", + "target_id", + "target_type", + "single_file_name", + "repository_selection", + "access_tokens_url", + "html_url", + "repositories_url", + "events", + "account", + "permissions", + "created_at", + "updated_at", + "suspended_by", + "suspended_at" + ] + }, "license-simple": { "title": "License Simple", "description": "License Simple", @@ -40358,15 +40368,7 @@ "properties": { "token": { "type": "string" }, "expires_at": { "type": "string" }, - "permissions": { - "type": "object", - "properties": { - "issues": { "type": "string" }, - "contents": { "type": "string" }, - "metadata": { "type": "string", "example": "read" }, - "single_file": { "type": "string", "example": "read" } - } - }, + "permissions": { "$ref": "#/components/schemas/app-permissions" }, "repository_selection": { "type": "string", "enum": ["all", "selected"] @@ -40830,6 +40832,16 @@ "type": "string", "description": "The actor who performed the action." }, + "actor_id": { + "type": "integer", + "description": "The id of the actor who performed the action." + }, + "actor_location": { + "type": "object", + "properties": { "country_name": { "type": "string" } } + }, + "data": { "type": "object", "additionalProperties": true }, + "org_id": { "type": "integer" }, "blocked_user": { "type": "string", "description": "The username of the account being blocked." @@ -41578,6 +41590,118 @@ "updated_at" ] }, + "public-user": { + "title": "Public User", + "description": "Public User", + "type": "object", + "properties": { + "login": { "type": "string" }, + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "avatar_url": { "type": "string", "format": "uri" }, + "gravatar_id": { "type": "string", "nullable": true }, + "url": { "type": "string", "format": "uri" }, + "html_url": { "type": "string", "format": "uri" }, + "followers_url": { "type": "string", "format": "uri" }, + "following_url": { "type": "string" }, + "gists_url": { "type": "string" }, + "starred_url": { "type": "string" }, + "subscriptions_url": { "type": "string", "format": "uri" }, + "organizations_url": { "type": "string", "format": "uri" }, + "repos_url": { "type": "string", "format": "uri" }, + "events_url": { "type": "string" }, + "received_events_url": { "type": "string", "format": "uri" }, + "type": { "type": "string" }, + "site_admin": { "type": "boolean" }, + "name": { "type": "string", "nullable": true }, + "company": { "type": "string", "nullable": true }, + "blog": { "type": "string", "nullable": true }, + "location": { "type": "string", "nullable": true }, + "email": { "type": "string", "format": "email", "nullable": true }, + "hireable": { "type": "boolean", "nullable": true }, + "bio": { "type": "string", "nullable": true }, + "twitter_username": { "type": "string", "nullable": true }, + "public_repos": { "type": "integer" }, + "public_gists": { "type": "integer" }, + "followers": { "type": "integer" }, + "following": { "type": "integer" }, + "created_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": "string", "format": "date-time" }, + "plan": { + "type": "object", + "properties": { + "collaborators": { "type": "integer" }, + "name": { "type": "string" }, + "space": { "type": "integer" }, + "private_repos": { "type": "integer" } + }, + "required": ["collaborators", "name", "space", "private_repos"] + }, + "suspended_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "private_gists": { "type": "integer", "example": 1 }, + "total_private_repos": { "type": "integer", "example": 2 }, + "owned_private_repos": { "type": "integer", "example": 2 }, + "disk_usage": { "type": "integer", "example": 1 }, + "collaborators": { "type": "integer", "example": 3 } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url", + "bio", + "blog", + "company", + "email", + "followers", + "following", + "hireable", + "location", + "name", + "public_gists", + "public_repos", + "created_at", + "updated_at" + ], + "additionalProperties": false + }, + "gist-history": { + "title": "Gist History", + "description": "Gist History", + "type": "object", + "properties": { + "user": { "$ref": "#/components/schemas/simple-user" }, + "version": { "type": "string" }, + "committed_at": { "type": "string", "format": "date-time" }, + "change_status": { + "type": "object", + "properties": { + "total": { "type": "integer" }, + "additions": { "type": "integer" }, + "deletions": { "type": "integer" } + } + }, + "url": { "type": "string", "format": "uri" } + } + }, "gist-simple": { "title": "Gist Simple", "description": "Gist Simple", @@ -41587,13 +41711,22 @@ "deprecated": true, "nullable": true, "type": "array", - "items": { "type": "object" } + "items": { + "type": "object", + "properties": { + "id": { "type": "string" }, + "url": { "type": "string", "format": "uri" }, + "user": { "$ref": "#/components/schemas/public-user" }, + "created_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": "string", "format": "date-time" } + } + } }, "history": { "deprecated": true, "nullable": true, "type": "array", - "items": { "type": "object" } + "items": { "$ref": "#/components/schemas/gist-history" } }, "fork_of": { "nullable": true, @@ -42415,7 +42548,9 @@ "properties": { "admin": { "type": "boolean" }, "push": { "type": "boolean" }, - "pull": { "type": "boolean" } + "pull": { "type": "boolean" }, + "maintain": { "type": "boolean" }, + "triage": { "type": "boolean" } } }, "template_repository": { @@ -42427,6 +42562,7 @@ "delete_branch_on_merge": { "type": "boolean" }, "subscribers_count": { "type": "integer" }, "network_count": { "type": "integer" }, + "code_of_conduct": { "$ref": "#/components/schemas/code-of-conduct" }, "license": { "type": "object", "properties": { @@ -43148,6 +43284,17 @@ "description": { "type": "string", "nullable": true }, "privacy": { "type": "string" }, "permission": { "type": "string" }, + "permissions": { + "type": "object", + "properties": { + "pull": { "type": "boolean" }, + "triage": { "type": "boolean" }, + "push": { "type": "boolean" }, + "maintain": { "type": "boolean" }, + "admin": { "type": "boolean" } + }, + "required": ["pull", "triage", "push", "maintain", "admin"] + }, "url": { "type": "string", "format": "uri" }, "html_url": { "type": "string", @@ -43171,7 +43318,8 @@ "permission", "html_url", "repositories_url", - "slug" + "slug", + "parent" ] }, "org-membership": { @@ -44428,6 +44576,8 @@ "example": false, "type": "boolean" }, + "column_name": { "type": "string" }, + "project_id": { "type": "string" }, "column_url": { "type": "string", "format": "uri", @@ -44531,9 +44681,10 @@ "properties": { "limit": { "type": "integer" }, "remaining": { "type": "integer" }, - "reset": { "type": "integer" } + "reset": { "type": "integer" }, + "used": { "type": "integer" } }, - "required": ["limit", "remaining", "reset"] + "required": ["limit", "remaining", "reset", "used"] }, "rate-limit-overview": { "title": "Rate Limit Overview", @@ -44883,7 +45034,21 @@ "code_of_conduct": { "$ref": "#/components/schemas/code-of-conduct-simple" }, - "has_advanced_security": { "type": "boolean", "example": true } + "security_and_analysis": { + "nullable": true, + "type": "object", + "properties": { + "advanced_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": ["enabled", "disabled"] + } + } + } + } + } }, "required": [ "archive_url", @@ -45520,7 +45685,7 @@ "reviewer": { "anyOf": [ { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/team-simple" } + { "$ref": "#/components/schemas/team" } ] } } @@ -45567,7 +45732,7 @@ }, "payload": { "oneOf": [ - { "type": "object", "properties": {} }, + { "type": "object", "additionalProperties": true }, { "type": "string" } ] }, @@ -45950,7 +46115,8 @@ "type": "string", "example": "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\"" }, - "type": { "type": "string", "example": "\"Organization\"" } + "type": { "type": "string", "example": "\"Organization\"" }, + "site_admin": { "type": "boolean", "example": false } } }, "name": { "type": "string" }, @@ -45989,13 +46155,15 @@ "type": "object", "properties": { "url": { "type": "string" }, + "enabled": { "type": "boolean" }, "required_status_checks": { "type": "object", "properties": { "url": { "type": "string" }, "enforcement_level": { "type": "string" }, "contexts": { "type": "array", "items": { "type": "string" } }, - "contexts_url": { "type": "string" } + "contexts_url": { "type": "string" }, + "strict": { "type": "boolean" } }, "required": ["contexts"] }, @@ -47118,7 +47286,8 @@ "type": "string", "description": "Warning generated when processing the analysis", "example": "123 results were ignored" - } + }, + "tool_name": { "type": "string" } }, "required": [ "ref", @@ -47215,6 +47384,8 @@ "properties": { "login": { "type": "string", "example": "octocat" }, "id": { "type": "integer", "example": 1 }, + "email": { "nullable": true, "type": "string" }, + "name": { "nullable": true, "type": "string" }, "node_id": { "type": "string", "example": "MDQ6VXNlcjE=" }, "avatar_url": { "type": "string", @@ -47600,7 +47771,7 @@ }, "requested_teams": { "type": "array", - "items": { "$ref": "#/components/schemas/team-simple" }, + "items": { "$ref": "#/components/schemas/team" }, "nullable": true }, "head": { @@ -48623,7 +48794,7 @@ "reviewer": { "anyOf": [ { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/team-simple" } + { "$ref": "#/components/schemas/team" } ] } } @@ -49276,9 +49447,9 @@ "created_at" ] }, - "issue-event-for-issue": { - "title": "Issue Event for Issue", - "description": "Issue Event for Issue", + "labeled-issue-event": { + "title": "Labeled Issue Event", + "description": "Labeled Issue Event", "type": "object", "properties": { "id": { "type": "integer" }, @@ -49289,54 +49460,1184 @@ "commit_id": { "type": "string", "nullable": true }, "commit_url": { "type": "string", "nullable": true }, "created_at": { "type": "string" }, - "sha": { - "type": "string", - "example": "\"480d4f47447129f015cb327536c522ca683939a1\"" + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" }, - "html_url": { + "label": { + "type": "object", + "properties": { + "name": { "type": "string" }, + "color": { "type": "string" } + }, + "required": ["name", "color"] + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "unlabeled-issue-event": { + "title": "Unlabeled Issue Event", + "description": "Unlabeled Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "label": { + "type": "object", + "properties": { + "name": { "type": "string" }, + "color": { "type": "string" } + }, + "required": ["name", "color"] + } + }, + "required": [ + "label", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "assigned-issue-event": { + "title": "Assigned Issue Event", + "description": "Assigned Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "assignee": { "$ref": "#/components/schemas/simple-user" }, + "assigner": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee", + "assigner" + ] + }, + "unassigned-issue-event": { + "title": "Unassigned Issue Event", + "description": "Unassigned Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "assignee": { "$ref": "#/components/schemas/simple-user" }, + "assigner": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee", + "assigner" + ] + }, + "milestoned-issue-event": { + "title": "Milestoned Issue Event", + "description": "Milestoned Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "milestone": { + "type": "object", + "properties": { "title": { "type": "string" } }, + "required": ["title"] + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "demilestoned-issue-event": { + "title": "Demilestoned Issue Event", + "description": "Demilestoned Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "milestone": { + "type": "object", + "properties": { "title": { "type": "string" } }, + "required": ["title"] + } + }, + "required": [ + "milestone", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "renamed-issue-event": { + "title": "Renamed Issue Event", + "description": "Renamed Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "rename": { + "type": "object", + "properties": { + "from": { "type": "string" }, + "to": { "type": "string" } + }, + "required": ["from", "to"] + } + }, + "required": [ + "rename", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "review-requested-issue-event": { + "title": "Review Requested Issue Event", + "description": "Review Requested Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "review_requester": { "$ref": "#/components/schemas/simple-user" }, + "requested_team": { "$ref": "#/components/schemas/team" }, + "requested_reviewer": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "review_requester", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "review-request-removed-issue-event": { + "title": "Review Request Removed Issue Event", + "description": "Review Request Removed Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "review_requester": { "$ref": "#/components/schemas/simple-user" }, + "requested_team": { "$ref": "#/components/schemas/team" }, + "requested_reviewer": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "review_requester", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "review-dismissed-issue-event": { + "title": "Review Dismissed Issue Event", + "description": "Review Dismissed Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "dismissed_review": { + "type": "object", + "properties": { + "state": { "type": "string" }, + "review_id": { "type": "integer" }, + "dismissal_message": { "nullable": true, "type": "string" }, + "dismissal_commit_id": { "type": "string" } + }, + "required": ["state", "review_id", "dismissal_message"] + } + }, + "required": [ + "dismissed_review", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "locked-issue-event": { + "title": "Locked Issue Event", + "description": "Locked Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "lock_reason": { "type": "string", - "example": "\"https://github.com/owner-3906e11a33a3d55ba449d63f/BBB_Private_Repo/commit/480d4f47447129f015cb327536c522ca683939a1\"" + "example": "\"off-topic\"", + "nullable": true + } + }, + "required": [ + "lock_reason", + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "added-to-project-issue-event": { + "title": "Added to Project Issue Event", + "description": "Added to Project Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" }, - "message": { + "project_card": { + "type": "object", + "properties": { + "id": { "type": "integer" }, + "url": { "type": "string", "format": "uri" }, + "project_id": { "type": "integer" }, + "project_url": { "type": "string", "format": "uri" }, + "column_name": { "type": "string" }, + "previous_column_name": { "type": "string" } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "moved-column-in-project-issue-event": { + "title": "Moved Column in Project Issue Event", + "description": "Moved Column in Project Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "project_card": { + "type": "object", + "properties": { + "id": { "type": "integer" }, + "url": { "type": "string", "format": "uri" }, + "project_id": { "type": "integer" }, + "project_url": { "type": "string", "format": "uri" }, + "column_name": { "type": "string" }, + "previous_column_name": { "type": "string" } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "removed-from-project-issue-event": { + "title": "Removed from Project Issue Event", + "description": "Removed from Project Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "project_card": { + "type": "object", + "properties": { + "id": { "type": "integer" }, + "url": { "type": "string", "format": "uri" }, + "project_id": { "type": "integer" }, + "project_url": { "type": "string", "format": "uri" }, + "column_name": { "type": "string" }, + "previous_column_name": { "type": "string" } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "converted-note-to-issue-issue-event": { + "title": "Converted Note to Issue Issue Event", + "description": "Converted Note to Issue Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "project_card": { + "type": "object", + "properties": { + "id": { "type": "integer" }, + "url": { "type": "string", "format": "uri" }, + "project_id": { "type": "integer" }, + "project_url": { "type": "string", "format": "uri" }, + "column_name": { "type": "string" }, + "previous_column_name": { "type": "string" } + }, + "required": [ + "id", + "url", + "project_id", + "project_url", + "column_name" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app" + ] + }, + "issue-event-for-issue": { + "title": "Issue Event for Issue", + "description": "Issue Event for Issue", + "anyOf": [ + { "$ref": "#/components/schemas/labeled-issue-event" }, + { "$ref": "#/components/schemas/unlabeled-issue-event" }, + { "$ref": "#/components/schemas/assigned-issue-event" }, + { "$ref": "#/components/schemas/unassigned-issue-event" }, + { "$ref": "#/components/schemas/milestoned-issue-event" }, + { "$ref": "#/components/schemas/demilestoned-issue-event" }, + { "$ref": "#/components/schemas/renamed-issue-event" }, + { "$ref": "#/components/schemas/review-requested-issue-event" }, + { "$ref": "#/components/schemas/review-request-removed-issue-event" }, + { "$ref": "#/components/schemas/review-dismissed-issue-event" }, + { "$ref": "#/components/schemas/locked-issue-event" }, + { "$ref": "#/components/schemas/added-to-project-issue-event" }, + { + "$ref": "#/components/schemas/moved-column-in-project-issue-event" + }, + { "$ref": "#/components/schemas/removed-from-project-issue-event" }, + { "$ref": "#/components/schemas/converted-note-to-issue-issue-event" } + ] + }, + "timeline-comment-event": { + "title": "Timeline Comment Event", + "description": "Timeline Comment Event", + "type": "object", + "properties": { + "event": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "id": { + "description": "Unique identifier of the issue comment", + "example": 42, + "type": "integer" + }, + "node_id": { "type": "string" }, + "url": { + "description": "URL for the issue comment", + "example": "https://api.github.com/repositories/42/issues/comments/1", "type": "string", - "example": "\"add a bunch of files\"" + "format": "uri" }, - "issue_url": { + "body": { + "description": "Contents of the issue comment", + "example": "What version of Safari were you using when you observed this bug?", + "type": "string" + }, + "body_text": { "type": "string" }, + "body_html": { "type": "string" }, + "html_url": { "type": "string", "format": "uri" }, + "user": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { "type": "string", - "example": "\"https://api.github.com/repos/owner-3906e11a33a3d55ba449d63f/AAA_Public_Repo/issues/1\"" + "format": "date-time", + "example": "2011-04-14T16:00:49Z" }, "updated_at": { "type": "string", - "example": "\"2020-07-09T00:17:36Z\"" + "format": "date-time", + "example": "2011-04-14T16:00:49Z" }, + "issue_url": { "type": "string", "format": "uri" }, "author_association": { "$ref": "#/components/schemas/author_association" }, - "body": { "type": "string", "example": "\":+1:\"", "nullable": true }, - "lock_reason": { + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "reactions": { "$ref": "#/components/schemas/reaction-rollup" } + }, + "required": [ + "event", + "actor", + "id", + "node_id", + "html_url", + "issue_url", + "author_association", + "user", + "url", + "created_at", + "updated_at" + ] + }, + "timeline-cross-referenced-event": { + "title": "Timeline Cross Referenced Event", + "description": "Timeline Cross Referenced Event", + "type": "object", + "properties": { + "event": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": "string", "format": "date-time" }, + "source": { + "type": "object", + "properties": { + "type": { "type": "string" }, + "issue": { "$ref": "#/components/schemas/issue-simple" } + } + } + }, + "required": ["event", "created_at", "updated_at", "source"] + }, + "timeline-committed-event": { + "title": "Timeline Committed Event", + "description": "Timeline Committed Event", + "type": "object", + "properties": { + "event": { "type": "string" }, + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "node_id": { "type": "string" }, + "url": { "type": "string", "format": "uri" }, + "author": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": ["email", "name", "date"] + }, + "committer": { + "description": "Identifying information for the git-user", + "type": "object", + "properties": { + "date": { + "description": "Timestamp of the commit", + "example": "2014-08-09T08:02:04+12:00", + "format": "date-time", + "type": "string" + }, + "email": { + "type": "string", + "description": "Git email address of the user", + "example": "monalisa.octocat@example.com" + }, + "name": { + "description": "Name of the git user", + "example": "Monalisa Octocat", + "type": "string" + } + }, + "required": ["email", "name", "date"] + }, + "message": { + "description": "Message describing the purpose of the commit", + "example": "Fix #42", + "type": "string" + }, + "tree": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { "type": "string", "format": "uri" } + }, + "required": ["sha", "url"] + }, + "parents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "sha": { + "description": "SHA for the commit", + "example": "7638417db6d59f3c431d3e1f261cc637155684cd", + "type": "string" + }, + "url": { "type": "string", "format": "uri" }, + "html_url": { "type": "string", "format": "uri" } + }, + "required": ["sha", "url", "html_url"] + } + }, + "verification": { + "type": "object", + "properties": { + "verified": { "type": "boolean" }, + "reason": { "type": "string" }, + "signature": { "type": "string", "nullable": true }, + "payload": { "type": "string", "nullable": true } + }, + "required": ["verified", "reason", "signature", "payload"] + }, + "html_url": { "type": "string", "format": "uri" } + }, + "required": [ + "sha", + "node_id", + "url", + "html_url", + "author", + "committer", + "tree", + "message", + "parents", + "verification" + ] + }, + "timeline-reviewed-event": { + "title": "Timeline Reviewed Event", + "description": "Timeline Reviewed Event", + "type": "object", + "properties": { + "event": { "type": "string" }, + "id": { + "description": "Unique identifier of the review", + "example": 42, + "type": "integer" + }, + "node_id": { "type": "string", - "example": "\"off-topic\"", + "example": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=" + }, + "user": { "$ref": "#/components/schemas/simple-user" }, + "body": { + "nullable": true, + "description": "The text of the review.", + "example": "This looks great.", + "type": "string" + }, + "state": { "type": "string", "example": "CHANGES_REQUESTED" }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" + }, + "pull_request_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/12" + }, + "_links": { + "type": "object", + "properties": { + "html": { + "type": "object", + "properties": { "href": { "type": "string" } }, + "required": ["href"] + }, + "pull_request": { + "type": "object", + "properties": { "href": { "type": "string" } }, + "required": ["href"] + } + }, + "required": ["html", "pull_request"] + }, + "submitted_at": { "type": "string", "format": "date-time" }, + "commit_id": { + "description": "A commit SHA for the review.", + "example": "54bb654c9e6025347f57900a4a5c2313a96b8035", + "type": "string" + }, + "body_html": { "type": "string" }, + "body_text": { "type": "string" }, + "author_association": { + "$ref": "#/components/schemas/author_association" + } + }, + "required": [ + "event", + "id", + "node_id", + "user", + "body", + "state", + "commit_id", + "html_url", + "pull_request_url", + "_links", + "author_association" + ] + }, + "pull-request-review-comment": { + "title": "Pull Request Review Comment", + "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", + "type": "object", + "properties": { + "url": { + "description": "URL for the pull request review comment", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", + "type": "string" + }, + "pull_request_review_id": { + "description": "The ID of the pull request review to which the comment belongs.", + "example": 42, + "type": "integer", "nullable": true }, - "submitted_at": { + "id": { + "description": "The ID of the pull request review comment.", + "example": 1, + "type": "integer" + }, + "node_id": { + "description": "The node ID of the pull request review comment.", + "type": "string", + "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" + }, + "diff_hunk": { + "description": "The diff of the line that the comment refers to.", + "type": "string", + "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." + }, + "path": { + "description": "The relative path of the file to which the comment applies.", + "example": "config/database.yaml", + "type": "string" + }, + "position": { + "description": "The line index in the diff to which the comment applies.", + "example": 1, + "type": "integer" + }, + "original_position": { + "description": "The index of the original line in the diff to which the comment applies.", + "example": 4, + "type": "integer" + }, + "commit_id": { + "description": "The SHA of the commit to which the comment applies.", + "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "type": "string" + }, + "original_commit_id": { + "description": "The SHA of the original commit to which the comment applies.", + "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", + "type": "string" + }, + "in_reply_to_id": { + "description": "The comment ID to reply to.", + "example": 8, + "type": "integer" + }, + "user": { "$ref": "#/components/schemas/simple-user" }, + "body": { + "description": "The text of the comment.", + "example": "We should probably include a check for null values here.", + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "updated_at": { + "type": "string", + "format": "date-time", + "example": "2011-04-14T16:00:49Z" + }, + "html_url": { + "description": "HTML URL for the pull request review comment.", "type": "string", - "example": "\"2020-07-09T00:17:51Z\"" + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" }, - "state": { "type": "string", "example": "\"commented\"" }, "pull_request_url": { + "description": "URL for the pull request that the review comment belongs to.", "type": "string", - "example": "\"https://api.github.com/repos/owner-3906e11a33a3d55ba449d63f/AAA_Public_Repo/pulls/2\"" + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" }, - "body_html": { + "author_association": { + "$ref": "#/components/schemas/author_association" + }, + "_links": { + "type": "object", + "properties": { + "self": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" + } + }, + "required": ["href"] + }, + "html": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" + } + }, + "required": ["href"] + }, + "pull_request": { + "type": "object", + "properties": { + "href": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" + } + }, + "required": ["href"] + } + }, + "required": ["self", "html", "pull_request"] + }, + "start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "original_start_line": { + "type": "integer", + "description": "The first line of the range for a multi-line comment.", + "example": 2, + "nullable": true + }, + "start_side": { "type": "string", - "example": "\"

Accusantium fugiat cumque. Autem qui nostrum. Atque quae ullam.

\"" + "description": "The side of the first line of the range for a multi-line comment.", + "enum": ["LEFT", "RIGHT"], + "default": "RIGHT", + "nullable": true }, - "body_text": { + "line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "original_line": { + "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", + "example": 2, + "type": "integer" + }, + "side": { + "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", + "enum": ["LEFT", "RIGHT"], + "default": "RIGHT", + "type": "string" + }, + "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, + "body_html": { "type": "string", - "example": "\"Accusantium fugiat cumque. Autem qui nostrum. Atque quae ullam.\"" + "example": "\"

comment body

\"" + }, + "body_text": { "type": "string", "example": "\"comment body\"" } + }, + "required": [ + "url", + "id", + "node_id", + "pull_request_review_id", + "diff_hunk", + "path", + "position", + "original_position", + "commit_id", + "original_commit_id", + "user", + "body", + "created_at", + "updated_at", + "html_url", + "pull_request_url", + "author_association", + "_links" + ] + }, + "timeline-line-commented-event": { + "title": "Timeline Line Commented Event", + "description": "Timeline Line Commented Event", + "type": "object", + "properties": { + "event": { "type": "string" }, + "node_id": { "type": "string" }, + "comments": { + "type": "array", + "items": { + "$ref": "#/components/schemas/pull-request-review-comment" + } } } }, + "timeline-commit-commented-event": { + "title": "Timeline Commit Commented Event", + "description": "Timeline Commit Commented Event", + "type": "object", + "properties": { + "event": { "type": "string" }, + "node_id": { "type": "string" }, + "commit_id": { "type": "string" }, + "comments": { + "type": "array", + "items": { "$ref": "#/components/schemas/commit-comment" } + } + } + }, + "timeline-assigned-issue-event": { + "title": "Timeline Assigned Issue Event", + "description": "Timeline Assigned Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "assignee": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ] + }, + "timeline-unassigned-issue-event": { + "title": "Timeline Unassigned Issue Event", + "description": "Timeline Unassigned Issue Event", + "type": "object", + "properties": { + "id": { "type": "integer" }, + "node_id": { "type": "string" }, + "url": { "type": "string" }, + "actor": { "$ref": "#/components/schemas/simple-user" }, + "event": { "type": "string" }, + "commit_id": { "type": "string", "nullable": true }, + "commit_url": { "type": "string", "nullable": true }, + "created_at": { "type": "string" }, + "performed_via_github_app": { + "$ref": "#/components/schemas/integration" + }, + "assignee": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "id", + "node_id", + "url", + "actor", + "event", + "commit_id", + "commit_url", + "created_at", + "performed_via_github_app", + "assignee" + ] + }, + "timeline-issue-events": { + "title": "Timeline Event", + "description": "Timeline Event", + "type": "object", + "anyOf": [ + { "$ref": "#/components/schemas/labeled-issue-event" }, + { "$ref": "#/components/schemas/unlabeled-issue-event" }, + { "$ref": "#/components/schemas/milestoned-issue-event" }, + { "$ref": "#/components/schemas/demilestoned-issue-event" }, + { "$ref": "#/components/schemas/renamed-issue-event" }, + { "$ref": "#/components/schemas/review-requested-issue-event" }, + { "$ref": "#/components/schemas/review-request-removed-issue-event" }, + { "$ref": "#/components/schemas/review-dismissed-issue-event" }, + { "$ref": "#/components/schemas/locked-issue-event" }, + { "$ref": "#/components/schemas/added-to-project-issue-event" }, + { + "$ref": "#/components/schemas/moved-column-in-project-issue-event" + }, + { "$ref": "#/components/schemas/removed-from-project-issue-event" }, + { + "$ref": "#/components/schemas/converted-note-to-issue-issue-event" + }, + { "$ref": "#/components/schemas/timeline-comment-event" }, + { "$ref": "#/components/schemas/timeline-cross-referenced-event" }, + { "$ref": "#/components/schemas/timeline-committed-event" }, + { "$ref": "#/components/schemas/timeline-reviewed-event" }, + { "$ref": "#/components/schemas/timeline-line-commented-event" }, + { "$ref": "#/components/schemas/timeline-commit-commented-event" }, + { "$ref": "#/components/schemas/timeline-assigned-issue-event" }, + { "$ref": "#/components/schemas/timeline-unassigned-issue-event" } + ] + }, "deploy-key": { "title": "Deploy Key", "description": "An SSH key granting access to a single repository.", @@ -50489,200 +51790,6 @@ "review_comments" ] }, - "pull-request-review-comment": { - "title": "Pull Request Review Comment", - "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", - "type": "object", - "properties": { - "url": { - "description": "URL for the pull request review comment", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "type": "string" - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "example": 42, - "type": "integer", - "nullable": true - }, - "id": { - "description": "The ID of the pull request review comment.", - "example": 1, - "type": "integer" - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "example": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw" - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "example": "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "example": "config/database.yaml", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "example": 1, - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies.", - "example": 4, - "type": "integer" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "example": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "example": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "type": "string" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "example": 8, - "type": "integer" - }, - "user": { "$ref": "#/components/schemas/simple-user" }, - "body": { - "description": "The text of the comment.", - "example": "We should probably include a check for null values here.", - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "updated_at": { - "type": "string", - "format": "date-time", - "example": "2011-04-14T16:00:49Z" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - }, - "author_association": { - "$ref": "#/components/schemas/author_association" - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - } - }, - "required": ["href"] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - } - }, - "required": ["href"] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "original_start_line": { - "type": "integer", - "description": "The first line of the range for a multi-line comment.", - "example": 2, - "nullable": true - }, - "start_side": { - "type": "string", - "description": "The side of the first line of the range for a multi-line comment.", - "enum": ["LEFT", "RIGHT"], - "default": "RIGHT", - "nullable": true - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "example": 2, - "type": "integer" - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": ["LEFT", "RIGHT"], - "default": "RIGHT", - "type": "string" - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, - "body_html": { - "type": "string", - "example": "\"

comment body

\"" - }, - "body_text": { "type": "string", "example": "\"comment body\"" } - }, - "required": [ - "url", - "id", - "node_id", - "pull_request_review_id", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - }, "pull-request-merge-result": { "title": "Pull Request Merge Result", "description": "Pull Request Merge Result", @@ -50705,7 +51812,7 @@ }, "teams": { "type": "array", - "items": { "$ref": "#/components/schemas/team-simple" } + "items": { "$ref": "#/components/schemas/team" } } }, "required": ["users", "teams"] @@ -50860,6 +51967,7 @@ }, "body_text": { "type": "string" }, "body_html": { "type": "string" }, + "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, "side": { "description": "The side of the first line of the range for a multi-line comment.", "enum": ["LEFT", "RIGHT"], @@ -52468,99 +53576,6 @@ "two_factor_authentication" ] }, - "public-user": { - "title": "Public User", - "description": "Public User", - "type": "object", - "properties": { - "login": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "avatar_url": { "type": "string", "format": "uri" }, - "gravatar_id": { "type": "string", "nullable": true }, - "url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "organizations_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string" }, - "received_events_url": { "type": "string", "format": "uri" }, - "type": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "name": { "type": "string", "nullable": true }, - "company": { "type": "string", "nullable": true }, - "blog": { "type": "string", "nullable": true }, - "location": { "type": "string", "nullable": true }, - "email": { "type": "string", "format": "email", "nullable": true }, - "hireable": { "type": "boolean", "nullable": true }, - "bio": { "type": "string", "nullable": true }, - "twitter_username": { "type": "string", "nullable": true }, - "public_repos": { "type": "integer" }, - "public_gists": { "type": "integer" }, - "followers": { "type": "integer" }, - "following": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "plan": { - "type": "object", - "properties": { - "collaborators": { "type": "integer" }, - "name": { "type": "string" }, - "space": { "type": "integer" }, - "private_repos": { "type": "integer" } - }, - "required": ["collaborators", "name", "space", "private_repos"] - }, - "suspended_at": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "private_gists": { "type": "integer", "example": 1 }, - "total_private_repos": { "type": "integer", "example": 2 }, - "owned_private_repos": { "type": "integer", "example": 2 }, - "disk_usage": { "type": "integer", "example": 1 }, - "collaborators": { "type": "integer", "example": 3 } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url", - "bio", - "blog", - "company", - "email", - "followers", - "following", - "hireable", - "location", - "name", - "public_gists", - "public_repos", - "created_at", - "updated_at" - ], - "additionalProperties": false - }, "email": { "title": "Email", "description": "Email", @@ -52766,52 +53781,6 @@ }, "required": ["starred_at", "repo"] }, - "personal-access-token": { - "title": "Personal Access Token", - "description": "The authorization for a Personal Access Token.", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "url": { "type": "string", "format": "uri" }, - "scopes": { - "description": "A list of scopes that this authorization is in.", - "type": "array", - "items": { "type": "string" }, - "nullable": true - }, - "token": { "type": "string" }, - "token_last_eight": { "type": "string", "nullable": true }, - "hashed_token": { "type": "string", "nullable": true }, - "note": { "type": "string", "nullable": true }, - "note_url": { "type": "string", "format": "uri", "nullable": true }, - "updated_at": { "type": "string", "format": "date-time" }, - "created_at": { "type": "string", "format": "date-time" }, - "fingerprint": { "type": "string", "nullable": true }, - "user": { - "nullable": true, - "allOf": [{ "$ref": "#/components/schemas/simple-user" }] - }, - "expiration": { - "type": "string", - "format": "date-time", - "nullable": true - } - }, - "required": [ - "id", - "note", - "note_url", - "scopes", - "token", - "hashed_token", - "token_last_eight", - "fingerprint", - "url", - "created_at", - "updated_at", - "expiration" - ] - }, "hovercard": { "title": "Hovercard", "description": "Hovercard", @@ -55093,6 +56062,235 @@ "allows_public_repositories": true } }, + "minimal-repository-paginated": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "git_url": "git:github.com/octocat/Hello-World.git", + "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}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "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}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": true, + "topics": ["octocat", "atom", "electron", "api"], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { "admin": false, "push": false, "pull": true }, + "template_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}", + "git_url": "git:github.com/octocat/Hello-World.git", + "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}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "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}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "organization": null, + "language": null, + "forks": 9, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "watchers": 80, + "size": 108, + "default_branch": "master", + "open_issues": 0, + "open_issues_count": 0, + "is_template": true, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==", + "html_url": "https://api.github.com/licenses/mit" + }, + "topics": ["octocat", "atom", "electron", "api"], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { "admin": false, "push": false, "pull": true }, + "allow_rebase_merge": true, + "template_repository": null, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_squash_merge": true, + "delete_branch_on_merge": true, + "allow_merge_commit": true, + "subscribers_count": 42, + "network_count": 0 + }, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "delete_branch_on_merge": true, + "subscribers_count": 42, + "network_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==" + }, + "forks": 1, + "open_issues": 1, + "watchers": 1 + } + ] + } + }, "organization-actions-secret-paginated": { "value": { "total_count": 3, @@ -57403,25 +58601,43 @@ "rate-limit-overview": { "value": { "resources": { - "core": { "limit": 5000, "remaining": 4999, "reset": 1372700873 }, - "search": { "limit": 30, "remaining": 18, "reset": 1372697452 }, + "core": { + "limit": 5000, + "remaining": 4999, + "reset": 1372700873, + "used": 1 + }, + "search": { + "limit": 30, + "remaining": 18, + "reset": 1372697452, + "used": 12 + }, "graphql": { "limit": 5000, "remaining": 4993, - "reset": 1372700389 + "reset": 1372700389, + "used": 7 }, "integration_manifest": { "limit": 5000, "remaining": 4999, - "reset": 1551806725 + "reset": 1551806725, + "used": 1 }, "code_scanning_upload": { "limit": 500, "remaining": 499, - "reset": 1551806725 + "reset": 1551806725, + "used": 1 } }, - "rate": { "limit": 5000, "remaining": 4999, "reset": 1372700873 } + "rate": { + "limit": 5000, + "remaining": 4999, + "reset": 1372700873, + "used": 1 + } } }, "full-repository-default-response": { @@ -59531,7 +60747,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } } ] @@ -61803,7 +63020,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -63331,7 +64549,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } } ] @@ -63407,7 +64626,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } } ] @@ -65146,7 +66366,9 @@ "event": "closed", "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z" + "created_at": "2011-04-14T16:00:49Z", + "performed_via_github_app": null, + "label": { "name": "label", "color": "red" } } ] }, @@ -66338,7 +67560,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ] } @@ -66572,7 +67795,8 @@ "privacy": "closed", "permission": "admin", "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" + "repositories_url": "https://api.github.com/teams/1/repos", + "parent": null } ], "head": { @@ -70894,42 +72118,6 @@ } ] }, - "personal-access-token": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": ["public_repo", "user"], - "token": "ghp_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678", - "expiration": "2012-09-06T20:39:27Z", - "user": { - "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 - } - } - }, "public-user-default-response": { "summary": "Default response", "value": { @@ -71612,7 +72800,7 @@ }, "package_type": { "name": "package_type", - "description": "The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`.", + "description": "The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.", "in": "path", "required": true, "schema": { diff --git a/package.json b/package.json index 1f8103f92..6886944c9 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ ] }, "octokit": { - "openapi-version": "2.22.1" + "openapi-version": "2.22.3" }, "@pika/pack": { "pipeline": [ diff --git a/src/generated/types.ts b/src/generated/types.ts index 4c2e0faf1..281b3f89f 100644 --- a/src/generated/types.ts +++ b/src/generated/types.ts @@ -1375,7 +1375,7 @@ export interface paths { }; "/orgs/{org}/settings/billing/packages": { /** - * Gets the free and paid storage usued for GitHub Packages in gigabytes. + * Gets the free and paid storage used for GitHub Packages in gigabytes. * * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." * @@ -5220,6 +5220,8 @@ export interface components { schemas: { /** Simple User */ "simple-user": { + name?: string | null; + email?: string | null; login: string; id: number; node_id: string; @@ -5271,7 +5273,7 @@ export interface components { client_secret?: string; webhook_secret?: string | null; pem?: string; - } & { [key: string]: any }; + } | null; /** Basic Error */ "basic-error": { message?: string; @@ -5317,44 +5319,6 @@ export interface components { updated_at: string | null; avatar_url: string; }; - /** Installation */ - installation: { - /** The ID of the installation. */ - id: number; - account: - | (Partial & - Partial) - | null; - /** Describe whether all repositories have been selected or there's a selection involved */ - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - /** The ID of the user or organization this token is being scoped to. */ - target_id: number; - target_type: string; - permissions: { - deployments?: string; - checks?: string; - metadata?: string; - contents?: string; - pull_requests?: string; - statuses?: string; - issues?: string; - organization_administration?: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string | null; - has_multiple_single_files?: boolean; - single_file_paths?: string[]; - app_slug: string; - suspended_by: components["schemas"]["simple-user"] | null; - suspended_at: string | null; - contact_email?: string | null; - }; /** The permissions granted to the user-to-server access token. */ "app-permissions": { /** The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`. */ @@ -5409,6 +5373,8 @@ export interface components { organization_plan?: "read"; /** The level of permission to grant the access token to manage organization projects, columns, and cards. Can be one of: `read`, `write`, or `admin`. */ organization_projects?: "read" | "write" | "admin"; + /** The level of permission to grant the access token for organization packages published to GitHub Packages. Can be one of: `read` or `write`. */ + organization_packages?: "read" | "write"; /** The level of permission to grant the access token to manage organization secrets. Can be one of: `read` or `write`. */ organization_secrets?: "read" | "write"; /** The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization. Can be one of: `read` or `write`. */ @@ -5418,6 +5384,35 @@ export interface components { /** The level of permission to grant the access token to manage team discussions and related comments. Can be one of: `read` or `write`. */ team_discussions?: "read" | "write"; }; + /** Installation */ + installation: { + /** The ID of the installation. */ + id: number; + account: + | (Partial & + Partial) + | null; + /** Describe whether all repositories have been selected or there's a selection involved */ + repository_selection: "all" | "selected"; + access_tokens_url: string; + repositories_url: string; + html_url: string; + app_id: number; + /** The ID of the user or organization this token is being scoped to. */ + target_id: number; + target_type: string; + permissions: components["schemas"]["app-permissions"]; + events: string[]; + created_at: string; + updated_at: string; + single_file_name: string | null; + has_multiple_single_files?: boolean; + single_file_paths?: string[]; + app_slug: string; + suspended_by: components["schemas"]["simple-user"] | null; + suspended_at: string | null; + contact_email?: string | null; + }; /** License Simple */ "license-simple": { key: string; @@ -5648,12 +5643,7 @@ export interface components { "installation-token": { token: string; expires_at: string; - permissions?: { - issues?: string; - contents?: string; - metadata?: string; - single_file?: string; - }; + permissions?: components["schemas"]["app-permissions"]; repository_selection?: "all" | "selected"; repositories?: components["schemas"]["repository"][]; single_file?: string; @@ -5824,6 +5814,13 @@ export interface components { active_was?: boolean; /** The actor who performed the action. */ actor?: string; + /** The id of the actor who performed the action. */ + actor_id?: number; + actor_location?: { + country_name?: string; + }; + data?: { [key: string]: any }; + org_id?: number; /** The username of the account being blocked. */ blocked_user?: string; business?: string; @@ -6106,10 +6103,77 @@ export interface components { forks?: { [key: string]: any }[]; history?: { [key: string]: any }[]; }; + /** Public User */ + "public-user": { + login: string; + id: number; + node_id: string; + avatar_url: string; + gravatar_id: string | null; + url: string; + html_url: string; + followers_url: string; + following_url: string; + gists_url: string; + starred_url: string; + subscriptions_url: string; + organizations_url: string; + repos_url: string; + events_url: string; + received_events_url: string; + type: string; + site_admin: boolean; + name: string | null; + company: string | null; + blog: string | null; + location: string | null; + email: string | null; + hireable: boolean | null; + bio: string | null; + twitter_username?: string | null; + public_repos: number; + public_gists: number; + followers: number; + following: number; + created_at: string; + updated_at: string; + plan?: { + collaborators: number; + name: string; + space: number; + private_repos: number; + }; + suspended_at?: string | null; + private_gists?: number; + total_private_repos?: number; + owned_private_repos?: number; + disk_usage?: number; + collaborators?: number; + }; + /** Gist History */ + "gist-history": { + user?: components["schemas"]["simple-user"]; + version?: string; + committed_at?: string; + change_status?: { + total?: number; + additions?: number; + deletions?: number; + }; + url?: string; + }; /** Gist Simple */ "gist-simple": { - forks?: { [key: string]: any }[] | null; - history?: { [key: string]: any }[] | null; + forks?: + | { + id?: string; + url?: string; + user?: components["schemas"]["public-user"]; + created_at?: string; + updated_at?: string; + }[] + | null; + history?: components["schemas"]["gist-history"][] | null; /** Gist */ fork_of?: { url: string; @@ -6410,12 +6474,15 @@ export interface components { admin?: boolean; push?: boolean; pull?: boolean; + maintain?: boolean; + triage?: boolean; }; template_repository?: components["schemas"]["repository"] | null; temp_clone_token?: string; delete_branch_on_merge?: boolean; subscribers_count?: number; network_count?: number; + code_of_conduct?: components["schemas"]["code-of-conduct"]; license?: { key?: string; name?: string; @@ -6663,11 +6730,18 @@ export interface components { description: string | null; privacy?: string; permission: string; + permissions?: { + pull: boolean; + triage: boolean; + push: boolean; + maintain: boolean; + admin: boolean; + }; url: string; html_url: string; members_url: string; repositories_url: string; - parent?: components["schemas"]["team-simple"] | null; + parent: components["schemas"]["team-simple"] | null; }; /** Org Membership */ "org-membership": { @@ -7037,6 +7111,8 @@ export interface components { updated_at: string; /** Whether or not the card is archived */ archived?: boolean; + column_name?: string; + project_id?: string; column_url: string; content_url?: string; project_url: string; @@ -7063,6 +7139,7 @@ export interface components { limit: number; remaining: number; reset: number; + used: number; }; /** Rate Limit Overview */ "rate-limit-overview": { @@ -7183,7 +7260,11 @@ export interface components { /** Whether anonymous git access is allowed. */ anonymous_access_enabled?: boolean; code_of_conduct?: components["schemas"]["code-of-conduct-simple"]; - has_advanced_security?: boolean; + security_and_analysis?: { + advanced_security?: { + status?: "enabled" | "disabled"; + }; + } | null; }; /** An artifact */ artifact: { @@ -7375,7 +7456,7 @@ export interface components { reviewers: { type?: components["schemas"]["deployment-reviewer-type"]; reviewer?: Partial & - Partial; + Partial; }[]; }; /** A request for a specific ref(branch,sha,tag) to be deployed */ @@ -7551,6 +7632,7 @@ export interface components { organizations_url?: string; received_events_url?: string; type?: string; + site_admin?: boolean; }; name?: string; description?: string; @@ -7570,11 +7652,13 @@ export interface components { /** Branch Protection */ "branch-protection": { url?: string; + enabled?: boolean; required_status_checks?: { url?: string; enforcement_level?: string; contexts: string[]; contexts_url?: string; + strict?: boolean; }; enforce_admins?: components["schemas"]["protected-branch-admin-enforced"]; required_pull_request_reviews?: components["schemas"]["protected-branch-pull-request-review"]; @@ -8000,6 +8084,7 @@ export interface components { deletable: boolean; /** Warning generated when processing the analysis */ warning: string; + tool_name?: string; }; /** Successful deletion of a code scanning analysis */ "code-scanning-analysis-deletion": { @@ -8034,6 +8119,8 @@ export interface components { collaborator: { login: string; id: number; + email?: string | null; + name?: string | null; node_id: string; avatar_url: string; gravatar_id: string | null; @@ -8152,7 +8239,7 @@ export interface components { assignee: components["schemas"]["simple-user"] | null; assignees?: components["schemas"]["simple-user"][] | null; requested_reviewers?: components["schemas"]["simple-user"][] | null; - requested_teams?: components["schemas"]["team-simple"][] | null; + requested_teams?: components["schemas"]["team"][] | null; head: { label: string; ref: string; @@ -8536,7 +8623,7 @@ export interface components { reviewers?: { type?: components["schemas"]["deployment-reviewer-type"]; reviewer?: Partial & - Partial; + Partial; }[]; }> & Partial<{ @@ -8769,69 +8856,540 @@ export interface components { "issue-event-milestone": { title: string; }; - /** Issue Event Project Card */ - "issue-event-project-card": { + /** Issue Event Project Card */ + "issue-event-project-card": { + url: string; + id: number; + project_url: string; + project_id: number; + column_name: string; + previous_column_name?: string; + }; + /** Issue Event Rename */ + "issue-event-rename": { + from: string; + to: string; + }; + /** Issue Event */ + "issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"] | null; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + issue?: components["schemas"]["issue-simple"]; + label?: components["schemas"]["issue-event-label"]; + assignee?: components["schemas"]["simple-user"] | null; + assigner?: components["schemas"]["simple-user"] | null; + review_requester?: components["schemas"]["simple-user"] | null; + requested_reviewer?: components["schemas"]["simple-user"] | null; + requested_team?: components["schemas"]["team"]; + dismissed_review?: components["schemas"]["issue-event-dismissed-review"]; + milestone?: components["schemas"]["issue-event-milestone"]; + project_card?: components["schemas"]["issue-event-project-card"]; + rename?: components["schemas"]["issue-event-rename"]; + author_association?: components["schemas"]["author_association"]; + lock_reason?: string | null; + performed_via_github_app?: components["schemas"]["integration"] | null; + }; + /** Labeled Issue Event */ + "labeled-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + label: { + name: string; + color: string; + }; + }; + /** Unlabeled Issue Event */ + "unlabeled-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + label: { + name: string; + color: string; + }; + }; + /** Assigned Issue Event */ + "assigned-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + assignee: components["schemas"]["simple-user"]; + assigner: components["schemas"]["simple-user"]; + }; + /** Unassigned Issue Event */ + "unassigned-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + assignee: components["schemas"]["simple-user"]; + assigner: components["schemas"]["simple-user"]; + }; + /** Milestoned Issue Event */ + "milestoned-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + milestone: { + title: string; + }; + }; + /** Demilestoned Issue Event */ + "demilestoned-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + milestone: { + title: string; + }; + }; + /** Renamed Issue Event */ + "renamed-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + rename: { + from: string; + to: string; + }; + }; + /** Review Requested Issue Event */ + "review-requested-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + review_requester: components["schemas"]["simple-user"]; + requested_team?: components["schemas"]["team"]; + requested_reviewer?: components["schemas"]["simple-user"]; + }; + /** Review Request Removed Issue Event */ + "review-request-removed-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + review_requester: components["schemas"]["simple-user"]; + requested_team?: components["schemas"]["team"]; + requested_reviewer?: components["schemas"]["simple-user"]; + }; + /** Review Dismissed Issue Event */ + "review-dismissed-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + dismissed_review: { + state: string; + review_id: number; + dismissal_message: string | null; + dismissal_commit_id?: string; + }; + }; + /** Locked Issue Event */ + "locked-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + lock_reason: string | null; + }; + /** Added to Project Issue Event */ + "added-to-project-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + project_card?: { + id: number; + url: string; + project_id: number; + project_url: string; + column_name: string; + previous_column_name?: string; + }; + }; + /** Moved Column in Project Issue Event */ + "moved-column-in-project-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + project_card?: { + id: number; + url: string; + project_id: number; + project_url: string; + column_name: string; + previous_column_name?: string; + }; + }; + /** Removed from Project Issue Event */ + "removed-from-project-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + project_card?: { + id: number; + url: string; + project_id: number; + project_url: string; + column_name: string; + previous_column_name?: string; + }; + }; + /** Converted Note to Issue Issue Event */ + "converted-note-to-issue-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + project_card?: { + id: number; + url: string; + project_id: number; + project_url: string; + column_name: string; + previous_column_name?: string; + }; + }; + /** Issue Event for Issue */ + "issue-event-for-issue": Partial< + components["schemas"]["labeled-issue-event"] + > & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial; + /** Timeline Comment Event */ + "timeline-comment-event": { + event: string; + actor: components["schemas"]["simple-user"]; + /** Unique identifier of the issue comment */ + id: number; + node_id: string; + /** URL for the issue comment */ + url: string; + /** Contents of the issue comment */ + body?: string; + body_text?: string; + body_html?: string; + html_url: string; + user: components["schemas"]["simple-user"]; + created_at: string; + updated_at: string; + issue_url: string; + author_association: components["schemas"]["author_association"]; + performed_via_github_app?: components["schemas"]["integration"]; + reactions?: components["schemas"]["reaction-rollup"]; + }; + /** Timeline Cross Referenced Event */ + "timeline-cross-referenced-event": { + event: string; + actor?: components["schemas"]["simple-user"]; + created_at: string; + updated_at: string; + source: { + type?: string; + issue?: components["schemas"]["issue-simple"]; + }; + }; + /** Timeline Committed Event */ + "timeline-committed-event": { + event?: string; + /** SHA for the commit */ + sha: string; + node_id: string; + url: string; + /** Identifying information for the git-user */ + author: { + /** Timestamp of the commit */ + date: string; + /** Git email address of the user */ + email: string; + /** Name of the git user */ + name: string; + }; + /** Identifying information for the git-user */ + committer: { + /** Timestamp of the commit */ + date: string; + /** Git email address of the user */ + email: string; + /** Name of the git user */ + name: string; + }; + /** Message describing the purpose of the commit */ + message: string; + tree: { + /** SHA for the commit */ + sha: string; + url: string; + }; + parents: { + /** SHA for the commit */ + sha: string; + url: string; + html_url: string; + }[]; + verification: { + verified: boolean; + reason: string; + signature: string | null; + payload: string | null; + }; + html_url: string; + }; + /** Timeline Reviewed Event */ + "timeline-reviewed-event": { + event: string; + /** Unique identifier of the review */ + id: number; + node_id: string; + user: components["schemas"]["simple-user"]; + /** The text of the review. */ + body: string | null; + state: string; + html_url: string; + pull_request_url: string; + _links: { + html: { + href: string; + }; + pull_request: { + href: string; + }; + }; + submitted_at?: string; + /** A commit SHA for the review. */ + commit_id: string; + body_html?: string; + body_text?: string; + author_association: components["schemas"]["author_association"]; + }; + /** Pull Request Review Comments are comments on a portion of the Pull Request's diff. */ + "pull-request-review-comment": { + /** URL for the pull request review comment */ url: string; + /** The ID of the pull request review to which the comment belongs. */ + pull_request_review_id: number | null; + /** The ID of the pull request review comment. */ id: number; - project_url: string; - project_id: number; - column_name: string; - previous_column_name?: string; + /** The node ID of the pull request review comment. */ + node_id: string; + /** The diff of the line that the comment refers to. */ + diff_hunk: string; + /** The relative path of the file to which the comment applies. */ + path: string; + /** The line index in the diff to which the comment applies. */ + position: number; + /** The index of the original line in the diff to which the comment applies. */ + original_position: number; + /** The SHA of the commit to which the comment applies. */ + commit_id: string; + /** The SHA of the original commit to which the comment applies. */ + original_commit_id: string; + /** The comment ID to reply to. */ + in_reply_to_id?: number; + user: components["schemas"]["simple-user"]; + /** The text of the comment. */ + body: string; + created_at: string; + updated_at: string; + /** HTML URL for the pull request review comment. */ + html_url: string; + /** URL for the pull request that the review comment belongs to. */ + pull_request_url: string; + author_association: components["schemas"]["author_association"]; + _links: { + self: { + href: string; + }; + html: { + href: string; + }; + pull_request: { + href: string; + }; + }; + /** The first line of the range for a multi-line comment. */ + start_line?: number | null; + /** The first line of the range for a multi-line comment. */ + original_start_line?: number | null; + /** The side of the first line of the range for a multi-line comment. */ + start_side?: ("LEFT" | "RIGHT") | null; + /** The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ + line?: number; + /** The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ + original_line?: number; + /** The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment */ + side?: "LEFT" | "RIGHT"; + reactions?: components["schemas"]["reaction-rollup"]; + body_html?: string; + body_text?: string; }; - /** Issue Event Rename */ - "issue-event-rename": { - from: string; - to: string; + /** Timeline Line Commented Event */ + "timeline-line-commented-event": { + event?: string; + node_id?: string; + comments?: components["schemas"]["pull-request-review-comment"][]; }; - /** Issue Event */ - "issue-event": { + /** Timeline Commit Commented Event */ + "timeline-commit-commented-event": { + event?: string; + node_id?: string; + commit_id?: string; + comments?: components["schemas"]["commit-comment"][]; + }; + /** Timeline Assigned Issue Event */ + "timeline-assigned-issue-event": { id: number; node_id: string; url: string; - actor: components["schemas"]["simple-user"] | null; + actor: components["schemas"]["simple-user"]; event: string; commit_id: string | null; commit_url: string | null; created_at: string; - issue?: components["schemas"]["issue-simple"]; - label?: components["schemas"]["issue-event-label"]; - assignee?: components["schemas"]["simple-user"] | null; - assigner?: components["schemas"]["simple-user"] | null; - review_requester?: components["schemas"]["simple-user"] | null; - requested_reviewer?: components["schemas"]["simple-user"] | null; - requested_team?: components["schemas"]["team"]; - dismissed_review?: components["schemas"]["issue-event-dismissed-review"]; - milestone?: components["schemas"]["issue-event-milestone"]; - project_card?: components["schemas"]["issue-event-project-card"]; - rename?: components["schemas"]["issue-event-rename"]; - author_association?: components["schemas"]["author_association"]; - lock_reason?: string | null; - performed_via_github_app?: components["schemas"]["integration"] | null; - }; - /** Issue Event for Issue */ - "issue-event-for-issue": { - id?: number; - node_id?: string; - url?: string; - actor?: components["schemas"]["simple-user"]; - event?: string; - commit_id?: string | null; - commit_url?: string | null; - created_at?: string; - sha?: string; - html_url?: string; - message?: string; - issue_url?: string; - updated_at?: string; - author_association?: components["schemas"]["author_association"]; - body?: string | null; - lock_reason?: string | null; - submitted_at?: string; - state?: string; - pull_request_url?: string; - body_html?: string; - body_text?: string; + performed_via_github_app: components["schemas"]["integration"]; + assignee: components["schemas"]["simple-user"]; }; + /** Timeline Unassigned Issue Event */ + "timeline-unassigned-issue-event": { + id: number; + node_id: string; + url: string; + actor: components["schemas"]["simple-user"]; + event: string; + commit_id: string | null; + commit_url: string | null; + created_at: string; + performed_via_github_app: components["schemas"]["integration"]; + assignee: components["schemas"]["simple-user"]; + }; + /** Timeline Event */ + "timeline-issue-events": Partial< + components["schemas"]["labeled-issue-event"] + > & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial & + Partial; /** An SSH key granting access to a single repository. */ "deploy-key": { id: number; @@ -9324,67 +9882,6 @@ export interface components { deletions: number; changed_files: number; }; - /** Pull Request Review Comments are comments on a portion of the Pull Request's diff. */ - "pull-request-review-comment": { - /** URL for the pull request review comment */ - url: string; - /** The ID of the pull request review to which the comment belongs. */ - pull_request_review_id: number | null; - /** The ID of the pull request review comment. */ - id: number; - /** The node ID of the pull request review comment. */ - node_id: string; - /** The diff of the line that the comment refers to. */ - diff_hunk: string; - /** The relative path of the file to which the comment applies. */ - path: string; - /** The line index in the diff to which the comment applies. */ - position: number; - /** The index of the original line in the diff to which the comment applies. */ - original_position: number; - /** The SHA of the commit to which the comment applies. */ - commit_id: string; - /** The SHA of the original commit to which the comment applies. */ - original_commit_id: string; - /** The comment ID to reply to. */ - in_reply_to_id?: number; - user: components["schemas"]["simple-user"]; - /** The text of the comment. */ - body: string; - created_at: string; - updated_at: string; - /** HTML URL for the pull request review comment. */ - html_url: string; - /** URL for the pull request that the review comment belongs to. */ - pull_request_url: string; - author_association: components["schemas"]["author_association"]; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - /** The first line of the range for a multi-line comment. */ - start_line?: number | null; - /** The first line of the range for a multi-line comment. */ - original_start_line?: number | null; - /** The side of the first line of the range for a multi-line comment. */ - start_side?: ("LEFT" | "RIGHT") | null; - /** The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - line?: number; - /** The line of the blob to which the comment applies. The last line of the range for a multi-line comment */ - original_line?: number; - /** The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment */ - side?: "LEFT" | "RIGHT"; - reactions?: components["schemas"]["reaction-rollup"]; - body_html?: string; - body_text?: string; - }; /** Pull Request Merge Result */ "pull-request-merge-result": { sha: string; @@ -9394,7 +9891,7 @@ export interface components { /** Pull Request Review Request */ "pull-request-review-request": { users: components["schemas"]["simple-user"][]; - teams: components["schemas"]["team-simple"][]; + teams: components["schemas"]["team"][]; }; /** Pull Request Reviews are reviews on pull requests. */ "pull-request-review": { @@ -9449,6 +9946,7 @@ export interface components { }; body_text?: string; body_html?: string; + reactions?: components["schemas"]["reaction-rollup"]; /** The side of the first line of the range for a multi-line comment. */ side?: "LEFT" | "RIGHT"; /** The side of the first line of the range for a multi-line comment. */ @@ -10101,53 +10599,6 @@ export interface components { business_plus?: boolean; ldap_dn?: string; }; - /** Public User */ - "public-user": { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string | null; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string | null; - company: string | null; - blog: string | null; - location: string | null; - email: string | null; - hireable: boolean | null; - bio: string | null; - twitter_username?: string | null; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - plan?: { - collaborators: number; - name: string; - space: number; - private_repos: number; - }; - suspended_at?: string | null; - private_gists?: number; - total_private_repos?: number; - owned_private_repos?: number; - disk_usage?: number; - collaborators?: number; - }; /** Email */ email: { email: string; @@ -10223,23 +10674,6 @@ export interface components { starred_at: string; repo: components["schemas"]["repository"]; }; - /** The authorization for a Personal Access Token. */ - "personal-access-token": { - id: number; - url: string; - /** A list of scopes that this authorization is in. */ - scopes: string[] | null; - token: string; - token_last_eight: string | null; - hashed_token: string | null; - note: string | null; - note_url: string | null; - updated_at: string; - created_at: string; - fingerprint: string | null; - user?: components["schemas"]["simple-user"] | null; - expiration: string | null; - }; /** Hovercard */ hovercard: { contexts: { @@ -10499,7 +10933,7 @@ export interface components { migration_id: number; /** repo_name parameter */ repo_name: string; - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: | "npm" | "maven" @@ -15605,7 +16039,7 @@ export interface operations { "packages/get-package-for-organization": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -15631,7 +16065,7 @@ export interface operations { "packages/delete-package-for-org": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -15660,7 +16094,7 @@ export interface operations { "packages/restore-package-for-org": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -15688,7 +16122,7 @@ export interface operations { "packages/get-all-package-versions-for-package-owned-by-org": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -15724,7 +16158,7 @@ export interface operations { "packages/get-package-version-for-organization": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -15752,7 +16186,7 @@ export interface operations { "packages/delete-package-version-for-org": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -15783,7 +16217,7 @@ export interface operations { "packages/restore-package-version-for-org": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -16056,7 +16490,7 @@ export interface operations { }; }; /** - * Gets the free and paid storage usued for GitHub Packages in gigabytes. + * Gets the free and paid storage used for GitHub Packages in gigabytes. * * Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." * @@ -17423,7 +17857,7 @@ export interface operations { requestBody: { content: { "application/json": { - /** The position of the card in a column */ + /** The position of the card in a column. Can be one of: `top`, `bottom`, or `after:` to place after the specified card. */ position: string; /** The unique identifier of the column the card should be moved to */ column_id?: number; @@ -17599,7 +18033,7 @@ export interface operations { requestBody: { content: { "application/json": { - /** The position of the column in a project */ + /** The position of the column in a project. Can be one of: `first`, `last`, or `after:` to place after the specified column. */ position: string; }; }; @@ -17984,6 +18418,14 @@ export interface operations { private?: boolean; /** Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header. */ visibility?: "public" | "private" | "visibility" | "internal"; + /** Specify which security and analysis features to enable or disable. */ + security_and_analysis?: { + /** Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)." If you're an admin user for a repository covered by an Advanced Security license, you can check whether Advanced Security is currently enabled by using a `GET /repos/{owner}/{repo}` request. */ + advanced_security?: { + /** Can be `enabled` or `disabled`. */ + status?: string; + }; + } | null; /** Either `true` to enable issues for this repository or `false` to disable them. */ has_issues?: boolean; /** Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. */ @@ -19295,6 +19737,8 @@ export interface operations { allow_force_pushes?: boolean | null; /** Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://help.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation. */ allow_deletions?: boolean; + /** Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`. */ + required_conversation_resolution?: boolean; }; }; }; @@ -24667,7 +25111,7 @@ export interface operations { 200: { headers: {}; content: { - "application/json": components["schemas"]["issue-event-for-issue"][]; + "application/json": components["schemas"]["timeline-issue-events"][]; }; }; 404: components["responses"]["not_found"]; @@ -26845,6 +27289,8 @@ export interface operations { query: { /** Set to `open` or `resolved` to only list secret scanning alerts in a specific state. */ state?: "open" | "resolved"; + /** A comma separated list of secret types to return. By default all secret types are returned. */ + secret_type?: string; /** Page number of the results to fetch. */ page?: components["parameters"]["page"]; /** Results per page (max 100). */ @@ -29931,9 +30377,7 @@ export interface operations { requestBody: { content: { "application/json": { - /** An email address associated with the GitHub user account to manage. */ - email?: string; - /** Denotes whether an email is publically visible. */ + /** Denotes whether an email is publicly visible. */ visibility: "public" | "private"; }; }; @@ -30833,7 +31277,7 @@ export interface operations { "packages/get-package-for-authenticated-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -30857,7 +31301,7 @@ export interface operations { "packages/delete-package-for-authenticated-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -30883,7 +31327,7 @@ export interface operations { "packages/restore-package-for-authenticated-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -30910,7 +31354,7 @@ export interface operations { "packages/get-all-package-versions-for-package-owned-by-authenticated-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -30945,7 +31389,7 @@ export interface operations { "packages/get-package-version-for-authenticated-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -30971,7 +31415,7 @@ export interface operations { "packages/delete-package-version-for-authenticated-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -30999,7 +31443,7 @@ export interface operations { "packages/restore-package-version-for-authenticated-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -31715,7 +32159,7 @@ export interface operations { "packages/get-package-for-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -31740,7 +32184,7 @@ export interface operations { "packages/get-all-package-versions-for-package-owned-by-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"]; @@ -31768,7 +32212,7 @@ export interface operations { "packages/get-package-version-for-user": { parameters: { path: { - /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. For Docker images that use the package namespace `https://ghcr.io/owner/package-name`, use `container`. */ + /** The type of supported package. Can be one of `npm`, `maven`, `rubygems`, `nuget`, `docker`, or `container`. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry. */ package_type: components["parameters"]["package_type"]; /** The name of the package. */ package_name: components["parameters"]["package_name"];