From 5d2c8abeca5ae826d9e8d4df1858ec0ec5a8006c Mon Sep 17 00:00:00 2001 From: docubot <67483024+docubot@users.noreply.github.com> Date: Tue, 7 Mar 2023 02:07:32 -0800 Subject: [PATCH] Update OpenAPI Description (#35336) Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> --- content/rest/users/index.md | 1 + content/rest/users/social-accounts.md | 11 + .../fpt-2022-11-28/server-to-server-rest.json | 18 + .../server-to-server-rest.json | 66 +- .../data/client-side-rest-api-redirects.json | 15 +- src/rest/data/fpt-2022-11-28/schema.json | 386 +- src/rest/data/ghec-2022-11-28/schema.json | 1935 ++++++- src/webhooks/data/fpt/schema.json | 4863 +++++------------ src/webhooks/data/ghae/schema.json | 4770 ++++------------ src/webhooks/data/ghec/schema.json | 4863 +++++------------ src/webhooks/data/ghes-3.7/schema.json | 4863 +++++------------ src/webhooks/data/ghes-3.8/schema.json | 4863 +++++------------ 12 files changed, 8559 insertions(+), 18095 deletions(-) create mode 100644 content/rest/users/social-accounts.md diff --git a/content/rest/users/index.md b/content/rest/users/index.md index 1d6dfba608..c517751bd5 100644 --- a/content/rest/users/index.md +++ b/content/rest/users/index.md @@ -19,6 +19,7 @@ children: - /gpg-keys - /keys - /ssh-signing-keys + - /social-accounts autogenerated: rest --- diff --git a/content/rest/users/social-accounts.md b/content/rest/users/social-accounts.md new file mode 100644 index 0000000000..0246693d64 --- /dev/null +++ b/content/rest/users/social-accounts.md @@ -0,0 +1,11 @@ +--- +title: Social accounts +intro: 'Use the REST API to manage social accounts.' +versions: + fpt: '*' + ghec: '*' +topics: + - API +autogenerated: rest +--- + diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index 0203901f85..ce33fca958 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -3730,6 +3730,18 @@ } ], "users": [ + { + "slug": "add-social-accounts-for-the-authenticated-user", + "subcategory": "social-accounts", + "verb": "post", + "requestPath": "/user/social_accounts" + }, + { + "slug": "delete-social-accounts-for-the-authenticated-user", + "subcategory": "social-accounts", + "verb": "delete", + "requestPath": "/user/social_accounts" + }, { "slug": "list-users", "subcategory": "users", @@ -3772,6 +3784,12 @@ "verb": "get", "requestPath": "/users/{username}/keys" }, + { + "slug": "list-social-accounts-for-a-user", + "subcategory": "social-accounts", + "verb": "get", + "requestPath": "/users/{username}/social_accounts" + }, { "slug": "list-ssh-signing-keys-for-a-user", "subcategory": "ssh-signing-keys", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json index 0c9e90c397..e80609c69a 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json @@ -2393,7 +2393,7 @@ "requestPath": "/organizations" }, { - "slug": "list-custom-repository-roles-in-an-organization", + "slug": "deprecated---list-custom-repository-roles-in-an-organization", "subcategory": "custom-roles", "verb": "get", "requestPath": "/organizations/{organization_id}/custom_roles" @@ -2453,25 +2453,55 @@ "requestPath": "/orgs/{org}/credential-authorizations/{credential_id}" }, { - "slug": "create-a-custom-role", + "slug": "list-custom-repository-roles-in-an-organization", + "subcategory": "custom-roles", + "verb": "get", + "requestPath": "/orgs/{org}/custom-repository-roles" + }, + { + "slug": "create-a-custom-repository-role", + "subcategory": "custom-roles", + "verb": "post", + "requestPath": "/orgs/{org}/custom-repository-roles" + }, + { + "slug": "get-a-custom-repository-role", + "subcategory": "custom-roles", + "verb": "get", + "requestPath": "/orgs/{org}/custom-repository-roles/{role_id}" + }, + { + "slug": "update-a-custom-repository-role", + "subcategory": "custom-roles", + "verb": "patch", + "requestPath": "/orgs/{org}/custom-repository-roles/{role_id}" + }, + { + "slug": "delete-a-custom-repository-role", + "subcategory": "custom-roles", + "verb": "delete", + "requestPath": "/orgs/{org}/custom-repository-roles/{role_id}" + }, + { + "slug": "deprecated---create-a-custom-role", "subcategory": "custom-roles", "verb": "post", "requestPath": "/orgs/{org}/custom_roles" }, { - "slug": "get-a-custom-role", + "slug": "deprecated---get-a-custom-role", "subcategory": "custom-roles", "verb": "get", "requestPath": "/orgs/{org}/custom_roles/{role_id}" }, { - "slug": "update-a-custom-role", + "slug": "deprecated---update-a-custom-role", "subcategory": "custom-roles", "verb": "patch", "requestPath": "/orgs/{org}/custom_roles/{role_id}" }, { - "slug": "delete-a-custom-role", + "slug": "deprecated---delete-a-custom-role", "subcategory": "custom-roles", "verb": "delete", "requestPath": "/orgs/{org}/custom_roles/{role_id}" @@ -2483,7 +2513,7 @@ "requestPath": "/orgs/{org}/failed_invitations" }, { - "slug": "list-repository-fine-grained-permissions-for-an-organization", + "slug": "deprecated---list-fine-grained-permissions-for-an-organization", "subcategory": "custom-roles", "verb": "get", "requestPath": "/orgs/{org}/fine_grained_permissions" @@ -2650,6 +2680,12 @@ "verb": "get", "requestPath": "/orgs/{org}/public_members/{username}" }, + { + "slug": "list-repository-fine-grained-permissions-for-an-organization", + "subcategory": "custom-roles", + "verb": "get", + "requestPath": "/orgs/{org}/repository-fine-grained-permissions" + }, { "slug": "list-security-manager-teams", "subcategory": "security-managers", @@ -3976,6 +4012,18 @@ } ], "users": [ + { + "slug": "add-social-accounts-for-the-authenticated-user", + "subcategory": "social-accounts", + "verb": "post", + "requestPath": "/user/social_accounts" + }, + { + "slug": "delete-social-accounts-for-the-authenticated-user", + "subcategory": "social-accounts", + "verb": "delete", + "requestPath": "/user/social_accounts" + }, { "slug": "list-users", "subcategory": "users", @@ -4018,6 +4066,12 @@ "verb": "get", "requestPath": "/users/{username}/keys" }, + { + "slug": "list-social-accounts-for-a-user", + "subcategory": "social-accounts", + "verb": "get", + "requestPath": "/users/{username}/social_accounts" + }, { "slug": "list-ssh-signing-keys-for-a-user", "subcategory": "ssh-signing-keys", diff --git a/src/rest/data/client-side-rest-api-redirects.json b/src/rest/data/client-side-rest-api-redirects.json index 94dbcd7d53..1c3f89d80c 100644 --- a/src/rest/data/client-side-rest-api-redirects.json +++ b/src/rest/data/client-side-rest-api-redirects.json @@ -941,6 +941,10 @@ "/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user": "/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user", "/rest/collaborators/invitations#accept-a-repository-invitation": "/rest/collaborators/invitations#accept-a-repository-invitation", "/rest/collaborators/invitations#decline-a-repository-invitation": "/rest/collaborators/invitations#decline-a-repository-invitation", + "/rest/users/social-accounts#list-social-accounts-for-the-authenticated-user": "/rest/users/social-accounts#list-social-accounts-for-the-authenticated-user", + "/rest/users#social-accounts": "/rest/users/social-accounts", + "/rest/users/social-accounts#add-social-account-for-authenticated-user": "/rest/users/social-accounts#add-social-account-for-authenticated-user", + "/rest/users/social-accounts#delete-social-account-for-authenticated-user": "/rest/users/social-accounts#delete-social-account-for-authenticated-user", "/rest/users#list-public-ssh-signing-keys-for-the-authenticated-user": "/rest/users/ssh-signing-keys#list-public-ssh-signing-keys-for-the-authenticated-user", "/rest/users#ssh-signing-keys": "/rest/users/ssh-signing-keys", "/rest/users#create-an-ssh-signing-key-for-the-authenticated-user": "/rest/users/ssh-signing-keys#create-an-ssh-signing-key-for-the-authenticated-user", @@ -970,6 +974,7 @@ "/rest/activity#list-events-received-by-the-authenticated-user": "/rest/activity/events#list-events-received-by-the-authenticated-user", "/rest/activity#list-public-events-received-by-a-user": "/rest/activity/events#list-public-events-received-by-a-user", "/rest/repos#list-repositories-for-a-user": "/rest/repos/repos#list-repositories-for-a-user", + "/rest/users/social-accounts#list-social-accounts-for-a-user": "/rest/users/social-accounts#list-social-accounts-for-a-user", "/rest/users#list-ssh-signing-keys-for-a-user": "/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user", "/rest/activity#list-repositories-starred-by-a-user": "/rest/activity/starring#list-repositories-starred-by-a-user", "/rest/activity#list-repositories-watched-by-a-user": "/rest/activity/watching#list-repositories-watched-by-a-user", @@ -1083,7 +1088,8 @@ "/rest/billing#export-advanced-security-active-committers-data-for-enterprise": "/rest/enterprise-admin/billing#export-advanced-security-active-committers-data-for-enterprise", "/rest/billing#get-github-packages-billing-for-an-enterprise": "/rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise", "/rest/billing#get-shared-storage-billing-for-an-enterprise": "/rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise", - "/rest/orgs#custom_roles": "/rest/orgs/custom_roles", + "/rest/orgs#deprecated-list-custom-repository-roles-in-an-organization": "/rest/orgs/custom-roles#deprecated-list-custom-repository-roles-in-an-organization", + "/rest/orgs#custom-roles": "/rest/orgs/custom-roles", "/rest/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", "/rest/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", "/rest/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", @@ -1097,12 +1103,17 @@ "/rest/announcement-banners/organizations#remove-announcement-banner-from-organization": "/rest/announcement-banners/organizations#remove-announcement-banner-from-organization", "/rest/orgs#list-saml-sso-authorizations-for-an-organization": "/rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization", "/rest/orgs#remove-a-saml-sso-authorization-for-an-organization": "/rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization", + "/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization": "/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization", + "/rest/orgs/custom-roles#create-a-custom-repository-role": "/rest/orgs/custom-roles#create-a-custom-repository-role", + "/rest/orgs/custom-roles#get-a-custom-repository-role": "/rest/orgs/custom-roles#get-a-custom-repository-role", + "/rest/orgs/custom-roles#update-a-custom-repository-role": "/rest/orgs/custom-roles#update-a-custom-repository-role", + "/rest/orgs/custom-roles#delete-a-custom-repository-role": "/rest/orgs/custom-roles#delete-a-custom-repository-role", "/rest/orgs#create-a-custom-role": "/rest/orgs/custom-roles#create-a-custom-role", - "/rest/orgs#custom-roles": "/rest/orgs/custom-roles", "/rest/orgs/#get-a-custom-role": "/rest/orgs/custom-roles#get-a-custom-role", "/rest/orgs#update-a-custom-role": "/rest/orgs/custom-roles#update-a-custom-role", "/rest/orgs#delete-a-custom-role": "/rest/orgs/custom-roles#delete-a-custom-role", "/rest/orgs#list-repository-fine-grained-permissions-for-an-organization": "/rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization", + "/rest/orgs/custom-roles#list-repo-fine-grained-permissions": "/rest/orgs/custom-roles#list-repo-fine-grained-permissions", "/rest/teams#list-idp-groups-for-an-organization": "/rest/teams/team-sync#list-idp-groups-for-an-organization", "/rest/teams#team-sync": "/rest/teams/team-sync", "/rest/teams#list-external-idp-group-team-connection": "/rest/teams/external-groups#list-external-idp-group-team-connection", diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 19cecab93a..65c0e60e07 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -167630,14 +167630,17 @@ "devcontainers": [ { "path": ".devcontainer/foobar/devcontainer.json", - "name": "foobar" + "name": "foobar", + "display_name": "foobar" }, { "path": ".devcontainer/devcontainer.json", - "name": "kitchensink" + "name": "kitchensink", + "display_name": "kitchensink" }, { - "path": ".devcontainer.json" + "path": ".devcontainer.json", + "display_name": "Default project configuration" } ], "total_count": 3 @@ -167665,6 +167668,9 @@ }, "name": { "type": "string" + }, + "display_name": { + "type": "string" } } } @@ -167773,14 +167779,17 @@ "devcontainers": [ { "path": ".devcontainer/foobar/devcontainer.json", - "name": "foobar" + "name": "foobar", + "display_name": "foobar" }, { "path": ".devcontainer/devcontainer.json", - "name": "kitchensink" + "name": "kitchensink", + "display_name": "kitchensink" }, { - "path": ".devcontainer.json" + "path": ".devcontainer.json", + "display_name": "Default project configuration" } ], "total_count": 3 @@ -518771,6 +518780,371 @@ ] } ], + "social-accounts": [ + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/user/social_accounts", + "title": "List social accounts for the authenticated user", + "category": "users", + "subcategory": "social-accounts", + "parameters": [ + { + "name": "per_page", + "description": "
The number of results per page (max 100).
", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.
", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": false, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json" + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": [ + { + "provider": "twitter", + "url": "https://twitter.com/github" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Social account", + "description": "Social media account", + "type": "object", + "properties": { + "provider": { + "type": "string", + "examples": [ + "linkedin" + ] + }, + "url": { + "type": "string", + "examples": [ + "https://www.linkedin.com/company/github/" + ] + } + }, + "required": [ + "provider", + "url" + ] + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Lists all of your social accounts.
", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/user/social_accounts", + "title": "Add social accounts for the authenticated user", + "category": "users", + "subcategory": "social-accounts", + "parameters": [], + "bodyParameters": [ + { + "type": "array of strings", + "name": "account_urls", + "in": "body", + "description": "Full URLs for the social media profiles to add.
", + "isRequired": true + } + ], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Adding multiple social accounts", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "account_urls": [ + "https://facebook.com/GitHub", + "https://www.youtube.com/@GitHub" + ] + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response
", + "example": [ + { + "provider": "twitter", + "url": "https://twitter.com/github" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Social account", + "description": "Social media account", + "type": "object", + "properties": { + "provider": { + "type": "string", + "examples": [ + "linkedin" + ] + }, + "url": { + "type": "string", + "examples": [ + "https://www.linkedin.com/company/github/" + ] + } + }, + "required": [ + "provider", + "url" + ] + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Add one or more social accounts to the authenticated user's profile. This endpoint is accessible with the user scope.
Created
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/user/social_accounts", + "title": "Delete social accounts for the authenticated user", + "category": "users", + "subcategory": "social-accounts", + "parameters": [], + "bodyParameters": [ + { + "type": "array of strings", + "name": "account_urls", + "in": "body", + "description": "Full URLs for the social media profiles to delete.
", + "isRequired": true + } + ], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "204", + "request": { + "contentType": "application/json", + "description": "Deleting multiple social accounts", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "account_urls": [ + "https://facebook.com/GitHub", + "https://www.youtube.com/@GitHub" + ] + } + }, + "response": { + "statusCode": "204", + "description": "Response
" + } + } + ], + "previews": [], + "descriptionHTML": "Deletes one or more social accounts from the authenticated user's profile. This endpoint is accessible with the user scope.
No Content
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/users/{username}/social_accounts", + "title": "List social accounts for a user", + "category": "users", + "subcategory": "social-accounts", + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100).
", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.
", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "username": "USERNAME" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": [ + { + "provider": "twitter", + "url": "https://twitter.com/github" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Social account", + "description": "Social media account", + "type": "object", + "properties": { + "provider": { + "type": "string", + "examples": [ + "linkedin" + ] + }, + "url": { + "type": "string", + "examples": [ + "https://www.linkedin.com/company/github/" + ] + } + }, + "required": [ + "provider", + "url" + ] + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Lists social media accounts for a user. This endpoint is accessible by anyone.
", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + } + ] + } + ], "ssh-signing-keys": [ { "serverUrl": "https://api.github.com", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 81d1d53472..5ce2d55d5c 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -179065,14 +179065,17 @@ "devcontainers": [ { "path": ".devcontainer/foobar/devcontainer.json", - "name": "foobar" + "name": "foobar", + "display_name": "foobar" }, { "path": ".devcontainer/devcontainer.json", - "name": "kitchensink" + "name": "kitchensink", + "display_name": "kitchensink" }, { - "path": ".devcontainer.json" + "path": ".devcontainer.json", + "display_name": "Default project configuration" } ], "total_count": 3 @@ -179100,6 +179103,9 @@ }, "name": { "type": "string" + }, + "display_name": { + "type": "string" } } } @@ -179208,14 +179214,17 @@ "devcontainers": [ { "path": ".devcontainer/foobar/devcontainer.json", - "name": "foobar" + "name": "foobar", + "display_name": "foobar" }, { "path": ".devcontainer/devcontainer.json", - "name": "kitchensink" + "name": "kitchensink", + "display_name": "kitchensink" }, { - "path": ".devcontainer.json" + "path": ".devcontainer.json", + "display_name": "Default project configuration" } ], "total_count": 3 @@ -370315,7 +370324,7 @@ "serverUrl": "https://api.github.com", "verb": "get", "requestPath": "/organizations/{organization_id}/custom_roles", - "title": "List custom repository roles in an organization", + "title": "Deprecated - List custom repository roles in an organization", "category": "orgs", "subcategory": "custom-roles", "parameters": [ @@ -370341,6 +370350,315 @@ "organization_id": "ORGANIZATION_ID" } }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response - list of custom role names
", + "example": { + "id": 8030, + "name": "Security Engineer", + "description": "Able to contribute code and maintain the security pipeline", + "base_role": "maintain", + "permissions": [ + "delete_alerts_code_scanning" + ], + "organization": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "created_at": "2022-07-04T22:19:11Z", + "updated_at": "2022-07-04T22:20:11Z" + }, + "schema": { + "type": "object", + "properties": { + "total_count": { + "description": "The number of custom roles in this organization", + "type": "integer", + "examples": [ + 3 + ] + }, + "custom_roles": { + "type": "array", + "items": { + "title": "Organization Custom Repository Role", + "description": "Custom repository roles created by organization administrators", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the custom role.", + "type": "integer" + }, + "name": { + "description": "The name of the custom role.", + "type": "string" + }, + "description": { + "description": "A short description about who this role is for or what permissions it grants.", + "type": [ + "string", + "null" + ] + }, + "base_role": { + "type": "string", + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain" + ] + }, + "permissions": { + "description": "A list of additional permissions included in this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "name", + "base_role", + "permissions", + "organization", + "created_at", + "updated_at" + ] + } + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Note: This operation is deprecated and will be removed in the future.\nUse the \"List custom repository roles\" endpoint instead.
\nList the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.
\nTo use this endpoint the authenticated user must be an administrator of the organization or of a repository of the organization and must use an access token with the admin:org or repo scope.\nGitHub Apps must have the organization_custom_roles:read or organization_administration:read organization permission to use this endpoint.
For more information on custom repository roles, see \"About custom repository roles.\"
", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "Response - list of custom role names
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/custom-repository-roles", + "title": "List custom repository roles in an organization", + "category": "orgs", + "subcategory": "custom-roles", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, "response": { "statusCode": "200", "contentType": "application/json", @@ -370638,7 +370956,12 @@ }, "required": [ "id", - "name" + "name", + "base_role", + "permissions", + "organization", + "created_at", + "updated_at" ] } } @@ -370648,7 +370971,7 @@ } ], "previews": [], - "descriptionHTML": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.
\nTo use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organization and must use an access token with admin:org repo scope.\nGitHub Apps must have the organization_custom_roles:read organization permission to use this endpoint.
For more information on custom repository roles, see \"About custom repository roles.\"
", + "descriptionHTML": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.
\nTo use this endpoint the authenticated user must be an administrator of the organization or of a repository of the organization and must use an access token with the admin:org or repo scope.\nGitHub Apps must have the organization_custom_roles:read or organization_administration:read organization permission to use this endpoint.
For more information on custom repository roles, see \"About custom repository roles.\"
", "statusCodes": [ { "httpStatusCode": "200", @@ -370659,8 +370982,8 @@ { "serverUrl": "https://api.github.com", "verb": "post", - "requestPath": "/orgs/{org}/custom_roles", - "title": "Create a custom role", + "requestPath": "/orgs/{org}/custom-repository-roles", + "title": "Create a custom repository role", "category": "orgs", "subcategory": "custom-roles", "parameters": [ @@ -370683,10 +371006,10 @@ "isRequired": true }, { - "type": "string", + "type": "string or null", "name": "description", "in": "body", - "description": "A short description about the intended usage of this role or what permissions it grants.
" + "description": "A short description about who this role is for or what permissions it grants.
" }, { "type": "string", @@ -370719,7 +371042,7 @@ "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { "name": "Labeler", - "description": "A role for issue and PR labelers", + "description": "A role for issue and pull request labelers", "base_role": "read", "permissions": [ "add_label" @@ -370735,11 +371058,11 @@ "description": "Response
", "example": { "id": 8030, - "name": "Labeler", - "description": "A role for issue and PR labelers", - "base_role": "read", + "name": "Security Engineer", + "description": "Able to contribute code and maintain the security pipeline", + "base_role": "maintain", "permissions": [ - "add_label" + "delete_alerts_code_scanning" ], "organization": { "login": "github", @@ -370762,7 +371085,7 @@ "site_admin": false }, "created_at": "2022-07-04T22:19:11Z", - "updated_at": "2022-07-04T22:19:11Z" + "updated_at": "2022-07-04T22:20:11Z" }, "schema": { "title": "Organization Custom Repository Role", @@ -370973,14 +371296,19 @@ }, "required": [ "id", - "name" + "name", + "base_role", + "permissions", + "organization", + "created_at", + "updated_at" ] } } } ], "previews": [], - "descriptionHTML": "Note: This operation is in beta and is subject to change.
\nCreates a custom repository role that can be used by all repositories owned by the organization.
\nTo use this endpoint the authenticated user must be an administrator for the organization and must use an access token with admin:org scope.\nGitHub Apps must have the organization_custom_roles:write organization permission to use this endpoint.
For more information on custom repository roles, see \"About custom repository roles.\"
", + "descriptionHTML": "Creates a custom repository role that can be used by all repositories owned by the organization.
\nTo use this endpoint, the authenticated user must be an administrator for the organization and must use an personal access token (classic) with admin:org scope or a fine-grained personal access token with the organization_custom_roles:write organization permission.
For more information on custom repository roles, see \"About custom repository roles.\"
", "statusCodes": [ { "httpStatusCode": "201", @@ -370999,8 +371327,8 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/orgs/{org}/custom_roles/{role_id}", - "title": "Get a custom role", + "requestPath": "/orgs/{org}/custom-repository-roles/{role_id}", + "title": "Get a custom repository role", "category": "orgs", "subcategory": "custom-roles", "parameters": [ @@ -371042,11 +371370,11 @@ "description": "Response
", "example": { "id": 8030, - "name": "Labeler", - "description": "A role for who can label issues and PRs", - "base_role": "read", + "name": "Security Engineer", + "description": "Able to contribute code and maintain the security pipeline", + "base_role": "maintain", "permissions": [ - "add_label" + "delete_alerts_code_scanning" ], "organization": { "login": "github", @@ -371069,7 +371397,7 @@ "site_admin": false }, "created_at": "2022-07-04T22:19:11Z", - "updated_at": "2022-07-04T22:19:11Z" + "updated_at": "2022-07-04T22:20:11Z" }, "schema": { "title": "Organization Custom Repository Role", @@ -371280,14 +371608,19 @@ }, "required": [ "id", - "name" + "name", + "base_role", + "permissions", + "organization", + "created_at", + "updated_at" ] } } } ], "previews": [], - "descriptionHTML": "Note: This operation is in beta and is subject to change.
\nGets a custom repository role that is available to all repositories owned by the organization.
\nTo use this operation, the authenticated user must be an administrator for the organization and must use an access token with admin:org scope.\nGitHub Apps must have the organization_custom_roles:write organization permission to use this endpoint.
For more information on custom repository roles, see \"About custom repository roles.\"
", + "descriptionHTML": "Gets a custom repository role that is available to all repositories owned by the organization.
\nTo use this endpoint the authenticated user must be an administrator of the organization or of a repository of the organization and must use an access token with the admin:org or repo scope.\nGitHub Apps must have the organization_custom_roles:read or organization_administration:read organization permission to use this endpoint.
For more information on custom repository roles, see \"About custom repository roles.\"
", "statusCodes": [ { "httpStatusCode": "200", @@ -371302,8 +371635,8 @@ { "serverUrl": "https://api.github.com", "verb": "patch", - "requestPath": "/orgs/{org}/custom_roles/{role_id}", - "title": "Update a custom role", + "requestPath": "/orgs/{org}/custom-repository-roles/{role_id}", + "title": "Update a custom repository role", "category": "orgs", "subcategory": "custom-roles", "parameters": [ @@ -371334,7 +371667,7 @@ "description": "The name of the custom role.
" }, { - "type": "string", + "type": "string or null", "name": "description", "in": "body", "description": "A short description about who this role is for or what permissions it grants.
" @@ -371355,7 +371688,7 @@ "type": "array of strings", "name": "permissions", "in": "body", - "description": "A list of additional permissions included in this role. If specified, these permissions will replace any currently set on the role.
" + "description": "A list of additional permissions included in this role.
" } ], "enabledForGitHubApps": true, @@ -371386,12 +371719,11 @@ "description": "Response
", "example": { "id": 8030, - "name": "Labeler", - "description": "A role for issue and PR labelers", - "base_role": "read", + "name": "Security Engineer", + "description": "Able to contribute code and maintain the security pipeline", + "base_role": "maintain", "permissions": [ - "add_label", - "remove_label" + "delete_alerts_code_scanning" ], "organization": { "login": "github", @@ -371414,7 +371746,7 @@ "site_admin": false }, "created_at": "2022-07-04T22:19:11Z", - "updated_at": "2022-07-04T22:19:11Z" + "updated_at": "2022-07-04T22:20:11Z" }, "schema": { "title": "Organization Custom Repository Role", @@ -371625,14 +371957,19 @@ }, "required": [ "id", - "name" + "name", + "base_role", + "permissions", + "organization", + "created_at", + "updated_at" ] } } } ], "previews": [], - "descriptionHTML": "Note: This operation is in beta and subject to change.
\nUpdates a custom repository role that can be used by all repositories owned by the organization.
\nTo use this endpoint the authenticated user must be an administrator for the organization and must use an access token with admin:org scope.\nGitHub Apps must have the organization_custom_roles:write organization permission to use this endpoint.
For more information about custom repository roles, see \"About custom repository roles.\"
", + "descriptionHTML": "Updates a custom repository role that can be used by all repositories owned by the organization.
\nTo use this endpoint the authenticated user must be an administrator for the organization and must use an access token with admin:org scope.\nGitHub Apps must have the organization_custom_roles:write organization permission to use this endpoint.
For more information about custom repository roles, see \"About custom repository roles.\"
", "statusCodes": [ { "httpStatusCode": "200", @@ -371651,8 +371988,8 @@ { "serverUrl": "https://api.github.com", "verb": "delete", - "requestPath": "/orgs/{org}/custom_roles/{role_id}", - "title": "Delete a custom role", + "requestPath": "/orgs/{org}/custom-repository-roles/{role_id}", + "title": "Delete a custom repository role", "category": "orgs", "subcategory": "custom-roles", "parameters": [ @@ -371695,7 +372032,1068 @@ } ], "previews": [], - "descriptionHTML": "Note: This operation is in beta and is subject to change.
\nDeletes a custom role from an organization. Once the custom role has been deleted, any\nuser, team, or invitation with the deleted custom role will be reassigned the inherited role.
\nTo use this endpoint the authenticated user must be an administrator for the organization and must use an access token with admin:org scope.\nGitHub Apps must have the organization_custom_roles:write organization permission to use this endpoint.
For more information about custom repository roles, see \"About custom repository roles.\"
", + "descriptionHTML": "Deletes a custom role from an organization. Once the custom role has been deleted, any\nuser, team, or invitation with the deleted custom role will be reassigned the inherited role.
\nTo use this endpoint the authenticated user must be an administrator for the organization and must use an access token with admin:org scope.\nGitHub Apps must have the organization_custom_roles:write organization permission to use this endpoint.
For more information about custom repository roles, see \"About custom repository roles.\"
", + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "No Content
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/orgs/{org}/custom_roles", + "title": "Deprecated - Create a custom role", + "category": "orgs", + "subcategory": "custom-roles", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "name", + "in": "body", + "description": "The name of the custom role.
", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "in": "body", + "description": "A short description about who this role is for or what permissions it grants.
" + }, + { + "type": "string", + "name": "base_role", + "in": "body", + "description": "The system role from which this role inherits permissions.
", + "isRequired": true, + "enum": [ + "read", + "triage", + "write", + "maintain" + ] + }, + { + "type": "array of strings", + "name": "permissions", + "in": "body", + "description": "A list of additional permissions included in this role.
", + "isRequired": true + } + ], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Labeler", + "description": "A role for issue and pull request labelers", + "base_role": "read", + "permissions": [ + "add_label" + ] + }, + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response
", + "example": { + "id": 8030, + "name": "Security Engineer", + "description": "Able to contribute code and maintain the security pipeline", + "base_role": "maintain", + "permissions": [ + "delete_alerts_code_scanning" + ], + "organization": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "created_at": "2022-07-04T22:19:11Z", + "updated_at": "2022-07-04T22:20:11Z" + }, + "schema": { + "title": "Organization Custom Repository Role", + "description": "Custom repository roles created by organization administrators", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the custom role.", + "type": "integer" + }, + "name": { + "description": "The name of the custom role.", + "type": "string" + }, + "description": { + "description": "A short description about who this role is for or what permissions it grants.", + "type": [ + "string", + "null" + ] + }, + "base_role": { + "type": "string", + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain" + ] + }, + "permissions": { + "description": "A list of additional permissions included in this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "name", + "base_role", + "permissions", + "organization", + "created_at", + "updated_at" + ] + } + } + } + ], + "previews": [], + "descriptionHTML": "Note: This operation is deprecated and will be removed after September 6th 2023.\nUse the \"Create a custom repository role\" endpoint instead.
\nCreates a custom repository role that can be used by all repositories owned by the organization.
\nTo use this endpoint, the authenticated user must be an administrator for the organization and must use an personal access token (classic) with admin:org scope or a fine-grained personal access token with the organization_custom_roles:write organization permission.
For more information on custom repository roles, see \"About custom repository roles.\"
", + "statusCodes": [ + { + "httpStatusCode": "201", + "description": "Created
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/custom_roles/{role_id}", + "title": "Deprecated - Get a custom role", + "category": "orgs", + "subcategory": "custom-roles", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.
", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG", + "role_id": "ROLE_ID" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": { + "id": 8030, + "name": "Security Engineer", + "description": "Able to contribute code and maintain the security pipeline", + "base_role": "maintain", + "permissions": [ + "delete_alerts_code_scanning" + ], + "organization": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "created_at": "2022-07-04T22:19:11Z", + "updated_at": "2022-07-04T22:20:11Z" + }, + "schema": { + "title": "Organization Custom Repository Role", + "description": "Custom repository roles created by organization administrators", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the custom role.", + "type": "integer" + }, + "name": { + "description": "The name of the custom role.", + "type": "string" + }, + "description": { + "description": "A short description about who this role is for or what permissions it grants.", + "type": [ + "string", + "null" + ] + }, + "base_role": { + "type": "string", + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain" + ] + }, + "permissions": { + "description": "A list of additional permissions included in this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "name", + "base_role", + "permissions", + "organization", + "created_at", + "updated_at" + ] + } + } + } + ], + "previews": [], + "descriptionHTML": "Note: This operation is deprecated and will be removed after September 6th 2023.\nUse the \"Get a custom repository role\" endpoint instead.
\nGets a custom repository role that is available to all repositories owned by the organization.
\nTo use this endpoint the authenticated user must be an administrator of the organization or of a repository of the organization and must use an access token with the admin:org or repo scope.\nGitHub Apps must have the organization_custom_roles:read or organization_administration:read organization permission to use this endpoint.
For more information on custom repository roles, see \"About custom repository roles.\"
", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "patch", + "requestPath": "/orgs/{org}/custom_roles/{role_id}", + "title": "Deprecated - Update a custom role", + "category": "orgs", + "subcategory": "custom-roles", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.
", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "name", + "in": "body", + "description": "The name of the custom role.
" + }, + { + "type": "string or null", + "name": "description", + "in": "body", + "description": "A short description about who this role is for or what permissions it grants.
" + }, + { + "type": "string", + "name": "base_role", + "in": "body", + "description": "The system role from which this role inherits permissions.
", + "enum": [ + "read", + "triage", + "write", + "maintain" + ] + }, + { + "type": "array of strings", + "name": "permissions", + "in": "body", + "description": "A list of additional permissions included in this role.
" + } + ], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "name": "Labeler", + "description": "A role for issue and PR labelers", + "base_role": "read", + "permissions": [ + "add_label", + "remove_label" + ] + }, + "parameters": { + "org": "ORG", + "role_id": "ROLE_ID" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": { + "id": 8030, + "name": "Security Engineer", + "description": "Able to contribute code and maintain the security pipeline", + "base_role": "maintain", + "permissions": [ + "delete_alerts_code_scanning" + ], + "organization": { + "login": "github", + "id": 9919, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", + "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/github", + "html_url": "https://github.com/github", + "followers_url": "https://api.github.com/users/github/followers", + "following_url": "https://api.github.com/users/github/following{/other_user}", + "gists_url": "https://api.github.com/users/github/gists{/gist_id}", + "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/github/subscriptions", + "organizations_url": "https://api.github.com/users/github/orgs", + "repos_url": "https://api.github.com/users/github/repos", + "events_url": "https://api.github.com/users/github/events{/privacy}", + "received_events_url": "https://api.github.com/users/github/received_events", + "type": "Organization", + "site_admin": false + }, + "created_at": "2022-07-04T22:19:11Z", + "updated_at": "2022-07-04T22:20:11Z" + }, + "schema": { + "title": "Organization Custom Repository Role", + "description": "Custom repository roles created by organization administrators", + "type": "object", + "properties": { + "id": { + "description": "The unique identifier of the custom role.", + "type": "integer" + }, + "name": { + "description": "The name of the custom role.", + "type": "string" + }, + "description": { + "description": "A short description about who this role is for or what permissions it grants.", + "type": [ + "string", + "null" + ] + }, + "base_role": { + "type": "string", + "description": "The system role from which this role inherits permissions.", + "enum": [ + "read", + "triage", + "write", + "maintain" + ] + }, + "permissions": { + "description": "A list of additional permissions included in this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "organization": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "id", + "name", + "base_role", + "permissions", + "organization", + "created_at", + "updated_at" + ] + } + } + } + ], + "previews": [], + "descriptionHTML": "Note: This operation is deprecated and will be removed after September 6th 2023.\nUse the \"Update a custom repository role\" endpoint instead.
\nUpdates a custom repository role that can be used by all repositories owned by the organization.
\nTo use this endpoint the authenticated user must be an administrator for the organization and must use an access token with admin:org scope.\nGitHub Apps must have the organization_custom_roles:write organization permission to use this endpoint.
For more information about custom repository roles, see \"About custom repository roles.\"
", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/orgs/{org}/custom_roles/{role_id}", + "title": "Deprecated - Delete a custom role", + "category": "orgs", + "subcategory": "custom-roles", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "role_id", + "description": "The unique identifier of the role.
", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG", + "role_id": "ROLE_ID" + } + }, + "response": { + "statusCode": "204", + "description": "Response
" + } + } + ], + "previews": [], + "descriptionHTML": "Note: This operation is deprecated and will be removed after September 6th 2023.\nUse the \"Delete a custom repository role\" endpoint instead.
\nDeletes a custom role from an organization. Once the custom role has been deleted, any\nuser, team, or invitation with the deleted custom role will be reassigned the inherited role.
\nTo use this endpoint the authenticated user must be an administrator for the organization and must use an access token with admin:org scope.\nGitHub Apps must have the organization_custom_roles:write organization permission to use this endpoint.
For more information about custom repository roles, see \"About custom repository roles.\"
", "statusCodes": [ { "httpStatusCode": "204", @@ -371707,6 +373105,86 @@ "serverUrl": "https://api.github.com", "verb": "get", "requestPath": "/orgs/{org}/fine_grained_permissions", + "title": "Deprecated - List fine-grained permissions for an organization", + "category": "orgs", + "subcategory": "custom-roles", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": [ + { + "name": "add_assignee", + "description": "Assign or remove a user" + }, + { + "name": "remove_assignee", + "description": "Remove an assigned user" + }, + { + "name": "add_label", + "description": "Add or remove a label" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Repository Fine-Grained Permission", + "description": "A fine-grained permission that protects repository resources.", + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "required": [ + "name", + "description" + ] + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Note: This operation is deprecated and will be removed after September 6th 2023.\nUse the \"List fine-grained repository permissions\" endpoint instead.
\nLists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see \"About custom repository roles.\"
\nTo use this endpoint the authenticated user must be an administrator of the organization or of a repository of the organization and must use an access token with the admin:org or repo scope.\nGitHub Apps must have the organization_custom_roles:read or organization_administration:read organization permission to use this endpoint.
OK
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/repository-fine-grained-permissions", "title": "List repository fine-grained permissions for an organization", "category": "orgs", "subcategory": "custom-roles", @@ -371775,7 +373253,7 @@ } ], "previews": [], - "descriptionHTML": "Note: This operation is in beta and subject to change.
\nLists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see \"About custom repository roles.\"
\nTo use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organization and must use an access token with admin:org repo scope.\nGitHub Apps must have the organization_custom_roles:read organization permission to use this endpoint.
Lists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see \"About custom repository roles.\"
\nTo use this endpoint the authenticated user must be an administrator of the organization or of a repository of the organization and must use an access token with the admin:org or repo scope.\nGitHub Apps must have the organization_custom_roles:read or organization_administration:read organization permission to use this endpoint.
The number of results per page (max 100).
", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.
", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": false, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json" + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": [ + { + "provider": "twitter", + "url": "https://twitter.com/github" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Social account", + "description": "Social media account", + "type": "object", + "properties": { + "provider": { + "type": "string", + "examples": [ + "linkedin" + ] + }, + "url": { + "type": "string", + "examples": [ + "https://www.linkedin.com/company/github/" + ] + } + }, + "required": [ + "provider", + "url" + ] + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Lists all of your social accounts.
", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/user/social_accounts", + "title": "Add social accounts for the authenticated user", + "category": "users", + "subcategory": "social-accounts", + "parameters": [], + "bodyParameters": [ + { + "type": "array of strings", + "name": "account_urls", + "in": "body", + "description": "Full URLs for the social media profiles to add.
", + "isRequired": true + } + ], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Adding multiple social accounts", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "account_urls": [ + "https://facebook.com/GitHub", + "https://www.youtube.com/@GitHub" + ] + } + }, + "response": { + "statusCode": "201", + "contentType": "application/json", + "description": "Response
", + "example": [ + { + "provider": "twitter", + "url": "https://twitter.com/github" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Social account", + "description": "Social media account", + "type": "object", + "properties": { + "provider": { + "type": "string", + "examples": [ + "linkedin" + ] + }, + "url": { + "type": "string", + "examples": [ + "https://www.linkedin.com/company/github/" + ] + } + }, + "required": [ + "provider", + "url" + ] + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Add one or more social accounts to the authenticated user's profile. This endpoint is accessible with the user scope.
Created
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/user/social_accounts", + "title": "Delete social accounts for the authenticated user", + "category": "users", + "subcategory": "social-accounts", + "parameters": [], + "bodyParameters": [ + { + "type": "array of strings", + "name": "account_urls", + "in": "body", + "description": "Full URLs for the social media profiles to delete.
", + "isRequired": true + } + ], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "204", + "request": { + "contentType": "application/json", + "description": "Deleting multiple social accounts", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "account_urls": [ + "https://facebook.com/GitHub", + "https://www.youtube.com/@GitHub" + ] + } + }, + "response": { + "statusCode": "204", + "description": "Response
" + } + } + ], + "previews": [], + "descriptionHTML": "Deletes one or more social accounts from the authenticated user's profile. This endpoint is accessible with the user scope.
No Content
" + }, + { + "httpStatusCode": "304", + "description": "Not modified
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "422", + "description": "Validation failed, or the endpoint has been spammed.
" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/users/{username}/social_accounts", + "title": "List social accounts for a user", + "category": "users", + "subcategory": "social-accounts", + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100).
", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "Page number of the results to fetch.
", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "bodyParameters": [], + "enabledForGitHubApps": true, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "username": "USERNAME" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": [ + { + "provider": "twitter", + "url": "https://twitter.com/github" + } + ], + "schema": { + "type": "array", + "items": { + "title": "Social account", + "description": "Social media account", + "type": "object", + "properties": { + "provider": { + "type": "string", + "examples": [ + "linkedin" + ] + }, + "url": { + "type": "string", + "examples": [ + "https://www.linkedin.com/company/github/" + ] + } + }, + "required": [ + "provider", + "url" + ] + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Lists social media accounts for a user. This endpoint is accessible by anyone.
", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + } + ] + } + ], "ssh-signing-keys": [ { "serverUrl": "https://api.github.com", diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index be2ee39012..ae9b8d9c24 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -23525,6 +23525,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -24170,6 +24171,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -24799,6 +24801,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25394,6 +25397,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25603,7 +25607,7 @@ "type": "object", "name": "discussion", "in": "body", - "description": "", + "description": "A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -25761,7 +25765,7 @@ ] }, { - "type": "string or null", + "type": "string", "name": "body", "description": "", "isRequired": true @@ -25951,10 +25955,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -27691,10 +27698,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A git repository
", + "description": "A repository on GitHub.
", "isRequired": true, "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier of the repository
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the repository.
", + "isRequired": true + }, + { + "type": "string", + "name": "full_name", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "license", + "description": "License Simple
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "key", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "spdx_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "" + } + ] + }, + { + "type": "object", + "name": "organization", + "description": "A GitHub user.
", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, + { + "type": "integer", + "name": "forks", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "pull", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + } + ] + }, + { + "type": "object", + "name": "owner", + "description": "A GitHub user.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, { "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", + "name": "private", + "description": "Whether the repository is private or public.
", + "isRequired": true, "default": false }, { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true }, { "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true + "name": "fork", + "description": "", + "isRequired": true }, { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" + "type": "string", + "name": "url", + "description": "", + "isRequired": true }, { "type": "string", @@ -27885,13 +28259,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, { "type": "string", "name": "assignees_url", @@ -27910,12 +28277,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "collaborators_url", @@ -27952,41 +28313,12 @@ "description": "", "isRequired": true }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, { "type": "string", "name": "deployments_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, { "type": "string", "name": "downloads_url", @@ -27999,36 +28331,12 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "forks_url", "description": "", "isRequired": true }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, { "type": "string", "name": "git_commits_url", @@ -28053,76 +28361,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, { "type": "string", "name": "issue_comment_url", @@ -28153,61 +28391,12 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, { "type": "string", "name": "languages_url", "description": "", "isRequired": true }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, { "type": "string", "name": "merges_url", @@ -28220,259 +28409,30 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "mirror_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, { "type": "string", "name": "notifications_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, { "type": "string", "name": "pulls_url", "description": "", "isRequired": true }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, { "type": "string", "name": "releases_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, { "type": "string", "name": "ssh_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "stargazers", - "description": "" - }, - { - "type": "integer", - "name": "stargazers_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "stargazers_url", @@ -28497,12 +28457,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "svn_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "tags_url", @@ -28515,12 +28469,6 @@ "description": "", "isRequired": true }, - { - "type": "array of strings", - "name": "topics", - "description": "", - "isRequired": true - }, { "type": "string", "name": "trees_url", @@ -28529,30 +28477,49 @@ }, { "type": "string", - "name": "updated_at", + "name": "clone_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "mirror_url", "description": "", "isRequired": true }, { "type": "string", - "name": "url", + "name": "hooks_url", "description": "", "isRequired": true }, { "type": "string", - "name": "visibility", + "name": "svn_url", "description": "", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "isRequired": true + }, + { + "type": "string or null", + "name": "homepage", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "language", + "description": "", + "isRequired": true }, { "type": "integer", - "name": "watchers", + "name": "forks_count", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "stargazers_count", "description": "", "isRequired": true }, @@ -28562,10 +28529,823 @@ "description": "", "isRequired": true }, + { + "type": "integer", + "name": "size", + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.
", + "isRequired": true + }, + { + "type": "string", + "name": "default_branch", + "description": "The default branch of the repository.
", + "isRequired": true + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "is_template", + "description": "Whether this repository acts as a template that can be used to generate new repositories.
", + "default": false + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "Whether issues are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_projects", + "description": "Whether projects are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "Whether the wiki is enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_pages", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "Whether downloads are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_discussions", + "description": "Whether discussions are enabled.
", + "default": false + }, + { + "type": "boolean", + "name": "archived", + "description": "Whether the repository is archived.
", + "isRequired": true, + "default": false + }, + { + "type": "boolean", + "name": "disabled", + "description": "Returns whether or not this repository disabled.
", + "isRequired": true + }, + { + "type": "string", + "name": "visibility", + "description": "The repository visibility: public, private, or internal.
", + "default": "public" + }, + { + "type": "string or null", + "name": "pushed_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests.
", + "default": true + }, + { + "type": "object or null", + "name": "template_repository", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "full_name", + "description": "" + }, + { + "type": "object", + "name": "owner", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "login", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "private", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "description", + "description": "" + }, + { + "type": "boolean", + "name": "fork", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "archive_url", + "description": "" + }, + { + "type": "string", + "name": "assignees_url", + "description": "" + }, + { + "type": "string", + "name": "blobs_url", + "description": "" + }, + { + "type": "string", + "name": "branches_url", + "description": "" + }, + { + "type": "string", + "name": "collaborators_url", + "description": "" + }, + { + "type": "string", + "name": "comments_url", + "description": "" + }, + { + "type": "string", + "name": "commits_url", + "description": "" + }, + { + "type": "string", + "name": "compare_url", + "description": "" + }, + { + "type": "string", + "name": "contents_url", + "description": "" + }, + { + "type": "string", + "name": "contributors_url", + "description": "" + }, + { + "type": "string", + "name": "deployments_url", + "description": "" + }, + { + "type": "string", + "name": "downloads_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "forks_url", + "description": "" + }, + { + "type": "string", + "name": "git_commits_url", + "description": "" + }, + { + "type": "string", + "name": "git_refs_url", + "description": "" + }, + { + "type": "string", + "name": "git_tags_url", + "description": "" + }, + { + "type": "string", + "name": "git_url", + "description": "" + }, + { + "type": "string", + "name": "issue_comment_url", + "description": "" + }, + { + "type": "string", + "name": "issue_events_url", + "description": "" + }, + { + "type": "string", + "name": "issues_url", + "description": "" + }, + { + "type": "string", + "name": "keys_url", + "description": "" + }, + { + "type": "string", + "name": "labels_url", + "description": "" + }, + { + "type": "string", + "name": "languages_url", + "description": "" + }, + { + "type": "string", + "name": "merges_url", + "description": "" + }, + { + "type": "string", + "name": "milestones_url", + "description": "" + }, + { + "type": "string", + "name": "notifications_url", + "description": "" + }, + { + "type": "string", + "name": "pulls_url", + "description": "" + }, + { + "type": "string", + "name": "releases_url", + "description": "" + }, + { + "type": "string", + "name": "ssh_url", + "description": "" + }, + { + "type": "string", + "name": "stargazers_url", + "description": "" + }, + { + "type": "string", + "name": "statuses_url", + "description": "" + }, + { + "type": "string", + "name": "subscribers_url", + "description": "" + }, + { + "type": "string", + "name": "subscription_url", + "description": "" + }, + { + "type": "string", + "name": "tags_url", + "description": "" + }, + { + "type": "string", + "name": "teams_url", + "description": "" + }, + { + "type": "string", + "name": "trees_url", + "description": "" + }, + { + "type": "string", + "name": "clone_url", + "description": "" + }, + { + "type": "string", + "name": "mirror_url", + "description": "" + }, + { + "type": "string", + "name": "hooks_url", + "description": "" + }, + { + "type": "string", + "name": "svn_url", + "description": "" + }, + { + "type": "string", + "name": "homepage", + "description": "" + }, + { + "type": "string", + "name": "language", + "description": "" + }, + { + "type": "integer", + "name": "forks_count", + "description": "" + }, + { + "type": "integer", + "name": "stargazers_count", + "description": "" + }, + { + "type": "integer", + "name": "watchers_count", + "description": "" + }, + { + "type": "integer", + "name": "size", + "description": "" + }, + { + "type": "string", + "name": "default_branch", + "description": "" + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "" + }, + { + "type": "boolean", + "name": "is_template", + "description": "" + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "" + }, + { + "type": "boolean", + "name": "has_projects", + "description": "" + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "" + }, + { + "type": "boolean", + "name": "has_pages", + "description": "" + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "" + }, + { + "type": "boolean", + "name": "archived", + "description": "" + }, + { + "type": "boolean", + "name": "disabled", + "description": "" + }, + { + "type": "string", + "name": "visibility", + "description": "" + }, + { + "type": "string", + "name": "pushed_at", + "description": "" + }, + { + "type": "string", + "name": "created_at", + "description": "" + }, + { + "type": "string", + "name": "updated_at", + "description": "" + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "" + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "" + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "pull", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "" + }, + { + "type": "string", + "name": "temp_clone_token", + "description": "" + }, + { + "type": "boolean", + "name": "allow_squash_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "" + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "" + }, + { + "type": "boolean", + "name": "use_squash_pr_title_as_default", + "description": "" + }, + { + "type": "string", + "name": "squash_merge_commit_title", + "description": "The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.Whether to allow squash merges for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "Whether to allow Auto-merge to be used on pull requests.
", + "default": false + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged
", + "default": false + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
", + "default": false + }, + { + "type": "boolean", + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.Whether to allow merge commits for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_forking", + "description": "Whether to allow forking this repo
" + }, { "type": "boolean", "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits
" + "description": "Whether to require contributors to sign off on web-based commits
", + "default": false + }, + { + "type": "integer", + "name": "subscribers_count", + "description": "" + }, + { + "type": "integer", + "name": "network_count", + "description": "" + }, + { + "type": "integer", + "name": "open_issues", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "watchers", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "master_branch", + "description": "" + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "boolean", + "name": "anonymous_access_enabled", + "description": "Whether anonymous git access is enabled for this repository
" } ] } @@ -28927,6 +29707,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -29488,6 +30269,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30306,6 +31088,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30918,6 +31701,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -31479,6 +32263,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -32315,6 +33100,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -33149,6 +33935,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -34006,6 +34793,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -88476,3150 +89264,11 @@ "childParamsGroups": [] }, { - "type": "object", + "type": "", "name": "pull_request", "in": "body", "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "description": "", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions", - "description": "" - }, - { - "type": "object or null", - "name": "assignee", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "array of object,nulls", - "name": "assignees", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.
", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.
", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.
", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.
", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files", - "description": "" - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "description": "" - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "commits", - "description": "" - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions", - "description": "" - }, - { - "type": "string", - "name": "diff_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.
", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color
", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label
", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request.
" - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable", - "description": "" - }, - { - "type": "string", - "name": "mergeable_state", - "description": "" - }, - { - "type": "boolean or null", - "name": "merged", - "description": "" - }, - { - "type": "string or null", - "name": "merged_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "description": "", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.
", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.
", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable", - "description": "" - }, - { - "type": "array", - "name": "requested_reviewers", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team
" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "object or null", - "name": "parent", - "description": "", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "description": "", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
" - }, - { - "type": "string", - "name": "privacy", - "description": "", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "" - }, - { - "type": "string", - "name": "slug", - "description": "" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments", - "description": "" - }, - { - "type": "string", - "name": "review_comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either open or closed.
The title of the pull request.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] + "isRequired": true }, { "type": "object", diff --git a/src/webhooks/data/ghae/schema.json b/src/webhooks/data/ghae/schema.json index 8aaa87a648..26b5f995bd 100644 --- a/src/webhooks/data/ghae/schema.json +++ b/src/webhooks/data/ghae/schema.json @@ -23305,6 +23305,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -23950,6 +23951,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -24579,6 +24581,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25174,6 +25177,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25383,7 +25387,7 @@ "type": "object", "name": "discussion", "in": "body", - "description": "", + "description": "A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -25541,7 +25545,7 @@ ] }, { - "type": "string or null", + "type": "string", "name": "body", "description": "", "isRequired": true @@ -25731,10 +25735,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -27471,10 +27478,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A git repository
", + "description": "A repository on GitHub.
", "isRequired": true, "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier of the repository
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the repository.
", + "isRequired": true + }, + { + "type": "string", + "name": "full_name", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "license", + "description": "License Simple
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "key", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "spdx_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "" + } + ] + }, + { + "type": "object", + "name": "organization", + "description": "A GitHub user.
", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, + { + "type": "integer", + "name": "forks", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "pull", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + } + ] + }, + { + "type": "object", + "name": "owner", + "description": "A GitHub user.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, { "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", + "name": "private", + "description": "Whether the repository is private or public.
", + "isRequired": true, "default": false }, { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true }, { "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true + "name": "fork", + "description": "", + "isRequired": true }, { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" + "type": "string", + "name": "url", + "description": "", + "isRequired": true }, { "type": "string", @@ -27665,13 +28039,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, { "type": "string", "name": "assignees_url", @@ -27690,12 +28057,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "collaborators_url", @@ -27732,41 +28093,12 @@ "description": "", "isRequired": true }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, { "type": "string", "name": "deployments_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, { "type": "string", "name": "downloads_url", @@ -27779,36 +28111,12 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "forks_url", "description": "", "isRequired": true }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, { "type": "string", "name": "git_commits_url", @@ -27833,76 +28141,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, { "type": "string", "name": "issue_comment_url", @@ -27933,61 +28171,12 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, { "type": "string", "name": "languages_url", "description": "", "isRequired": true }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, { "type": "string", "name": "merges_url", @@ -28000,259 +28189,30 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "mirror_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, { "type": "string", "name": "notifications_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, { "type": "string", "name": "pulls_url", "description": "", "isRequired": true }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, { "type": "string", "name": "releases_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, { "type": "string", "name": "ssh_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "stargazers", - "description": "" - }, - { - "type": "integer", - "name": "stargazers_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "stargazers_url", @@ -28277,12 +28237,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "svn_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "tags_url", @@ -28295,12 +28249,6 @@ "description": "", "isRequired": true }, - { - "type": "array of strings", - "name": "topics", - "description": "", - "isRequired": true - }, { "type": "string", "name": "trees_url", @@ -28309,30 +28257,49 @@ }, { "type": "string", - "name": "updated_at", + "name": "clone_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "mirror_url", "description": "", "isRequired": true }, { "type": "string", - "name": "url", + "name": "hooks_url", "description": "", "isRequired": true }, { "type": "string", - "name": "visibility", + "name": "svn_url", "description": "", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "isRequired": true + }, + { + "type": "string or null", + "name": "homepage", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "language", + "description": "", + "isRequired": true }, { "type": "integer", - "name": "watchers", + "name": "forks_count", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "stargazers_count", "description": "", "isRequired": true }, @@ -28342,10 +28309,730 @@ "description": "", "isRequired": true }, + { + "type": "integer", + "name": "size", + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.
", + "isRequired": true + }, + { + "type": "string", + "name": "default_branch", + "description": "The default branch of the repository.
", + "isRequired": true + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "is_template", + "description": "Whether this repository acts as a template that can be used to generate new repositories.
", + "default": false + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "Whether issues are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_projects", + "description": "Whether projects are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "Whether the wiki is enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_pages", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "Whether downloads are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "archived", + "description": "Whether the repository is archived.
", + "isRequired": true, + "default": false + }, + { + "type": "boolean", + "name": "disabled", + "description": "Returns whether or not this repository disabled.
", + "isRequired": true + }, + { + "type": "string", + "name": "visibility", + "description": "The repository visibility: public, private, or internal.
", + "default": "public" + }, + { + "type": "string or null", + "name": "pushed_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests.
", + "default": true + }, + { + "type": "object or null", + "name": "template_repository", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "full_name", + "description": "" + }, + { + "type": "object", + "name": "owner", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "login", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "private", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "description", + "description": "" + }, + { + "type": "boolean", + "name": "fork", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "archive_url", + "description": "" + }, + { + "type": "string", + "name": "assignees_url", + "description": "" + }, + { + "type": "string", + "name": "blobs_url", + "description": "" + }, + { + "type": "string", + "name": "branches_url", + "description": "" + }, + { + "type": "string", + "name": "collaborators_url", + "description": "" + }, + { + "type": "string", + "name": "comments_url", + "description": "" + }, + { + "type": "string", + "name": "commits_url", + "description": "" + }, + { + "type": "string", + "name": "compare_url", + "description": "" + }, + { + "type": "string", + "name": "contents_url", + "description": "" + }, + { + "type": "string", + "name": "contributors_url", + "description": "" + }, + { + "type": "string", + "name": "deployments_url", + "description": "" + }, + { + "type": "string", + "name": "downloads_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "forks_url", + "description": "" + }, + { + "type": "string", + "name": "git_commits_url", + "description": "" + }, + { + "type": "string", + "name": "git_refs_url", + "description": "" + }, + { + "type": "string", + "name": "git_tags_url", + "description": "" + }, + { + "type": "string", + "name": "git_url", + "description": "" + }, + { + "type": "string", + "name": "issue_comment_url", + "description": "" + }, + { + "type": "string", + "name": "issue_events_url", + "description": "" + }, + { + "type": "string", + "name": "issues_url", + "description": "" + }, + { + "type": "string", + "name": "keys_url", + "description": "" + }, + { + "type": "string", + "name": "labels_url", + "description": "" + }, + { + "type": "string", + "name": "languages_url", + "description": "" + }, + { + "type": "string", + "name": "merges_url", + "description": "" + }, + { + "type": "string", + "name": "milestones_url", + "description": "" + }, + { + "type": "string", + "name": "notifications_url", + "description": "" + }, + { + "type": "string", + "name": "pulls_url", + "description": "" + }, + { + "type": "string", + "name": "releases_url", + "description": "" + }, + { + "type": "string", + "name": "ssh_url", + "description": "" + }, + { + "type": "string", + "name": "stargazers_url", + "description": "" + }, + { + "type": "string", + "name": "statuses_url", + "description": "" + }, + { + "type": "string", + "name": "subscribers_url", + "description": "" + }, + { + "type": "string", + "name": "subscription_url", + "description": "" + }, + { + "type": "string", + "name": "tags_url", + "description": "" + }, + { + "type": "string", + "name": "teams_url", + "description": "" + }, + { + "type": "string", + "name": "trees_url", + "description": "" + }, + { + "type": "string", + "name": "clone_url", + "description": "" + }, + { + "type": "string", + "name": "mirror_url", + "description": "" + }, + { + "type": "string", + "name": "hooks_url", + "description": "" + }, + { + "type": "string", + "name": "svn_url", + "description": "" + }, + { + "type": "string", + "name": "homepage", + "description": "" + }, + { + "type": "string", + "name": "language", + "description": "" + }, + { + "type": "integer", + "name": "forks_count", + "description": "" + }, + { + "type": "integer", + "name": "stargazers_count", + "description": "" + }, + { + "type": "integer", + "name": "watchers_count", + "description": "" + }, + { + "type": "integer", + "name": "size", + "description": "" + }, + { + "type": "string", + "name": "default_branch", + "description": "" + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "" + }, + { + "type": "boolean", + "name": "is_template", + "description": "" + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "" + }, + { + "type": "boolean", + "name": "has_projects", + "description": "" + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "" + }, + { + "type": "boolean", + "name": "has_pages", + "description": "" + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "" + }, + { + "type": "boolean", + "name": "archived", + "description": "" + }, + { + "type": "boolean", + "name": "disabled", + "description": "" + }, + { + "type": "string", + "name": "visibility", + "description": "" + }, + { + "type": "string", + "name": "pushed_at", + "description": "" + }, + { + "type": "string", + "name": "created_at", + "description": "" + }, + { + "type": "string", + "name": "updated_at", + "description": "" + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "" + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "" + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "pull", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "" + }, + { + "type": "string", + "name": "temp_clone_token", + "description": "" + }, + { + "type": "boolean", + "name": "allow_squash_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "" + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "" + }, + { + "type": "boolean", + "name": "allow_merge_commit", + "description": "" + }, + { + "type": "integer", + "name": "subscribers_count", + "description": "" + }, + { + "type": "integer", + "name": "network_count", + "description": "" + } + ] + }, + { + "type": "string", + "name": "temp_clone_token", + "description": "" + }, + { + "type": "boolean", + "name": "allow_squash_merge", + "description": "Whether to allow squash merges for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "Whether to allow Auto-merge to be used on pull requests.
", + "default": false + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged
", + "default": false + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
", + "default": false + }, + { + "type": "boolean", + "name": "allow_merge_commit", + "description": "Whether to allow merge commits for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_forking", + "description": "Whether to allow forking this repo
" + }, { "type": "boolean", "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits
" + "description": "Whether to require contributors to sign off on web-based commits
", + "default": false + }, + { + "type": "integer", + "name": "subscribers_count", + "description": "" + }, + { + "type": "integer", + "name": "network_count", + "description": "" + }, + { + "type": "integer", + "name": "open_issues", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "watchers", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "master_branch", + "description": "" + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "boolean", + "name": "anonymous_access_enabled", + "description": "Whether anonymous git access is enabled for this repository
" } ] } @@ -28707,6 +29394,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -29268,6 +29956,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30086,6 +30775,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30698,6 +31388,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -31259,6 +31950,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -32095,6 +32787,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -32929,6 +33622,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -33786,6 +34480,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -81842,3150 +82537,11 @@ "childParamsGroups": [] }, { - "type": "object", + "type": "", "name": "pull_request", "in": "body", "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "description": "", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions", - "description": "" - }, - { - "type": "object or null", - "name": "assignee", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "array of object,nulls", - "name": "assignees", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.
", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.
", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.
", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.
", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files", - "description": "" - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "description": "" - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "commits", - "description": "" - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions", - "description": "" - }, - { - "type": "string", - "name": "diff_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.
", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color
", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label
", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request.
" - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable", - "description": "" - }, - { - "type": "string", - "name": "mergeable_state", - "description": "" - }, - { - "type": "boolean or null", - "name": "merged", - "description": "" - }, - { - "type": "string or null", - "name": "merged_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "description": "", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.
", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.
", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable", - "description": "" - }, - { - "type": "array", - "name": "requested_reviewers", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team
" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "object or null", - "name": "parent", - "description": "", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "description": "", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
" - }, - { - "type": "string", - "name": "privacy", - "description": "", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "" - }, - { - "type": "string", - "name": "slug", - "description": "" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments", - "description": "" - }, - { - "type": "string", - "name": "review_comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either open or closed.
The title of the pull request.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] + "isRequired": true }, { "type": "object", diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index c98508c8ca..e0f38d677e 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -23525,6 +23525,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -24170,6 +24171,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -24799,6 +24801,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25394,6 +25397,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25603,7 +25607,7 @@ "type": "object", "name": "discussion", "in": "body", - "description": "", + "description": "A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -25761,7 +25765,7 @@ ] }, { - "type": "string or null", + "type": "string", "name": "body", "description": "", "isRequired": true @@ -25951,10 +25955,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -27691,10 +27698,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A git repository
", + "description": "A repository on GitHub.
", "isRequired": true, "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier of the repository
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the repository.
", + "isRequired": true + }, + { + "type": "string", + "name": "full_name", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "license", + "description": "License Simple
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "key", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "spdx_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "" + } + ] + }, + { + "type": "object", + "name": "organization", + "description": "A GitHub user.
", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, + { + "type": "integer", + "name": "forks", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "pull", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + } + ] + }, + { + "type": "object", + "name": "owner", + "description": "A GitHub user.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, { "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", + "name": "private", + "description": "Whether the repository is private or public.
", + "isRequired": true, "default": false }, { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true }, { "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true + "name": "fork", + "description": "", + "isRequired": true }, { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" + "type": "string", + "name": "url", + "description": "", + "isRequired": true }, { "type": "string", @@ -27885,13 +28259,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, { "type": "string", "name": "assignees_url", @@ -27910,12 +28277,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "collaborators_url", @@ -27952,41 +28313,12 @@ "description": "", "isRequired": true }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, { "type": "string", "name": "deployments_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, { "type": "string", "name": "downloads_url", @@ -27999,36 +28331,12 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "forks_url", "description": "", "isRequired": true }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, { "type": "string", "name": "git_commits_url", @@ -28053,76 +28361,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, { "type": "string", "name": "issue_comment_url", @@ -28153,61 +28391,12 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, { "type": "string", "name": "languages_url", "description": "", "isRequired": true }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, { "type": "string", "name": "merges_url", @@ -28220,259 +28409,30 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "mirror_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, { "type": "string", "name": "notifications_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, { "type": "string", "name": "pulls_url", "description": "", "isRequired": true }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, { "type": "string", "name": "releases_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, { "type": "string", "name": "ssh_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "stargazers", - "description": "" - }, - { - "type": "integer", - "name": "stargazers_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "stargazers_url", @@ -28497,12 +28457,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "svn_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "tags_url", @@ -28515,12 +28469,6 @@ "description": "", "isRequired": true }, - { - "type": "array of strings", - "name": "topics", - "description": "", - "isRequired": true - }, { "type": "string", "name": "trees_url", @@ -28529,30 +28477,49 @@ }, { "type": "string", - "name": "updated_at", + "name": "clone_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "mirror_url", "description": "", "isRequired": true }, { "type": "string", - "name": "url", + "name": "hooks_url", "description": "", "isRequired": true }, { "type": "string", - "name": "visibility", + "name": "svn_url", "description": "", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "isRequired": true + }, + { + "type": "string or null", + "name": "homepage", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "language", + "description": "", + "isRequired": true }, { "type": "integer", - "name": "watchers", + "name": "forks_count", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "stargazers_count", "description": "", "isRequired": true }, @@ -28562,10 +28529,823 @@ "description": "", "isRequired": true }, + { + "type": "integer", + "name": "size", + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.
", + "isRequired": true + }, + { + "type": "string", + "name": "default_branch", + "description": "The default branch of the repository.
", + "isRequired": true + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "is_template", + "description": "Whether this repository acts as a template that can be used to generate new repositories.
", + "default": false + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "Whether issues are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_projects", + "description": "Whether projects are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "Whether the wiki is enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_pages", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "Whether downloads are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_discussions", + "description": "Whether discussions are enabled.
", + "default": false + }, + { + "type": "boolean", + "name": "archived", + "description": "Whether the repository is archived.
", + "isRequired": true, + "default": false + }, + { + "type": "boolean", + "name": "disabled", + "description": "Returns whether or not this repository disabled.
", + "isRequired": true + }, + { + "type": "string", + "name": "visibility", + "description": "The repository visibility: public, private, or internal.
", + "default": "public" + }, + { + "type": "string or null", + "name": "pushed_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests.
", + "default": true + }, + { + "type": "object or null", + "name": "template_repository", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "full_name", + "description": "" + }, + { + "type": "object", + "name": "owner", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "login", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "private", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "description", + "description": "" + }, + { + "type": "boolean", + "name": "fork", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "archive_url", + "description": "" + }, + { + "type": "string", + "name": "assignees_url", + "description": "" + }, + { + "type": "string", + "name": "blobs_url", + "description": "" + }, + { + "type": "string", + "name": "branches_url", + "description": "" + }, + { + "type": "string", + "name": "collaborators_url", + "description": "" + }, + { + "type": "string", + "name": "comments_url", + "description": "" + }, + { + "type": "string", + "name": "commits_url", + "description": "" + }, + { + "type": "string", + "name": "compare_url", + "description": "" + }, + { + "type": "string", + "name": "contents_url", + "description": "" + }, + { + "type": "string", + "name": "contributors_url", + "description": "" + }, + { + "type": "string", + "name": "deployments_url", + "description": "" + }, + { + "type": "string", + "name": "downloads_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "forks_url", + "description": "" + }, + { + "type": "string", + "name": "git_commits_url", + "description": "" + }, + { + "type": "string", + "name": "git_refs_url", + "description": "" + }, + { + "type": "string", + "name": "git_tags_url", + "description": "" + }, + { + "type": "string", + "name": "git_url", + "description": "" + }, + { + "type": "string", + "name": "issue_comment_url", + "description": "" + }, + { + "type": "string", + "name": "issue_events_url", + "description": "" + }, + { + "type": "string", + "name": "issues_url", + "description": "" + }, + { + "type": "string", + "name": "keys_url", + "description": "" + }, + { + "type": "string", + "name": "labels_url", + "description": "" + }, + { + "type": "string", + "name": "languages_url", + "description": "" + }, + { + "type": "string", + "name": "merges_url", + "description": "" + }, + { + "type": "string", + "name": "milestones_url", + "description": "" + }, + { + "type": "string", + "name": "notifications_url", + "description": "" + }, + { + "type": "string", + "name": "pulls_url", + "description": "" + }, + { + "type": "string", + "name": "releases_url", + "description": "" + }, + { + "type": "string", + "name": "ssh_url", + "description": "" + }, + { + "type": "string", + "name": "stargazers_url", + "description": "" + }, + { + "type": "string", + "name": "statuses_url", + "description": "" + }, + { + "type": "string", + "name": "subscribers_url", + "description": "" + }, + { + "type": "string", + "name": "subscription_url", + "description": "" + }, + { + "type": "string", + "name": "tags_url", + "description": "" + }, + { + "type": "string", + "name": "teams_url", + "description": "" + }, + { + "type": "string", + "name": "trees_url", + "description": "" + }, + { + "type": "string", + "name": "clone_url", + "description": "" + }, + { + "type": "string", + "name": "mirror_url", + "description": "" + }, + { + "type": "string", + "name": "hooks_url", + "description": "" + }, + { + "type": "string", + "name": "svn_url", + "description": "" + }, + { + "type": "string", + "name": "homepage", + "description": "" + }, + { + "type": "string", + "name": "language", + "description": "" + }, + { + "type": "integer", + "name": "forks_count", + "description": "" + }, + { + "type": "integer", + "name": "stargazers_count", + "description": "" + }, + { + "type": "integer", + "name": "watchers_count", + "description": "" + }, + { + "type": "integer", + "name": "size", + "description": "" + }, + { + "type": "string", + "name": "default_branch", + "description": "" + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "" + }, + { + "type": "boolean", + "name": "is_template", + "description": "" + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "" + }, + { + "type": "boolean", + "name": "has_projects", + "description": "" + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "" + }, + { + "type": "boolean", + "name": "has_pages", + "description": "" + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "" + }, + { + "type": "boolean", + "name": "archived", + "description": "" + }, + { + "type": "boolean", + "name": "disabled", + "description": "" + }, + { + "type": "string", + "name": "visibility", + "description": "" + }, + { + "type": "string", + "name": "pushed_at", + "description": "" + }, + { + "type": "string", + "name": "created_at", + "description": "" + }, + { + "type": "string", + "name": "updated_at", + "description": "" + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "" + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "" + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "pull", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "" + }, + { + "type": "string", + "name": "temp_clone_token", + "description": "" + }, + { + "type": "boolean", + "name": "allow_squash_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "" + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "" + }, + { + "type": "boolean", + "name": "use_squash_pr_title_as_default", + "description": "" + }, + { + "type": "string", + "name": "squash_merge_commit_title", + "description": "The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.Whether to allow squash merges for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "Whether to allow Auto-merge to be used on pull requests.
", + "default": false + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged
", + "default": false + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
", + "default": false + }, + { + "type": "boolean", + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.Whether to allow merge commits for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_forking", + "description": "Whether to allow forking this repo
" + }, { "type": "boolean", "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits
" + "description": "Whether to require contributors to sign off on web-based commits
", + "default": false + }, + { + "type": "integer", + "name": "subscribers_count", + "description": "" + }, + { + "type": "integer", + "name": "network_count", + "description": "" + }, + { + "type": "integer", + "name": "open_issues", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "watchers", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "master_branch", + "description": "" + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "boolean", + "name": "anonymous_access_enabled", + "description": "Whether anonymous git access is enabled for this repository
" } ] } @@ -28927,6 +29707,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -29488,6 +30269,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30306,6 +31088,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30918,6 +31701,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -31479,6 +32263,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -32315,6 +33100,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -33149,6 +33935,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -34006,6 +34793,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -88476,3150 +89264,11 @@ "childParamsGroups": [] }, { - "type": "object", + "type": "", "name": "pull_request", "in": "body", "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "description": "", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions", - "description": "" - }, - { - "type": "object or null", - "name": "assignee", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "array of object,nulls", - "name": "assignees", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.
", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.
", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.
", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.
", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files", - "description": "" - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "description": "" - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "commits", - "description": "" - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions", - "description": "" - }, - { - "type": "string", - "name": "diff_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.
", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color
", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label
", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request.
" - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable", - "description": "" - }, - { - "type": "string", - "name": "mergeable_state", - "description": "" - }, - { - "type": "boolean or null", - "name": "merged", - "description": "" - }, - { - "type": "string or null", - "name": "merged_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "description": "", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.
", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.
", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable", - "description": "" - }, - { - "type": "array", - "name": "requested_reviewers", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team
" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "object or null", - "name": "parent", - "description": "", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "description": "", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
" - }, - { - "type": "string", - "name": "privacy", - "description": "", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "" - }, - { - "type": "string", - "name": "slug", - "description": "" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments", - "description": "" - }, - { - "type": "string", - "name": "review_comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either open or closed.
The title of the pull request.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] + "isRequired": true }, { "type": "object", diff --git a/src/webhooks/data/ghes-3.7/schema.json b/src/webhooks/data/ghes-3.7/schema.json index e46edba8da..bc4a0f49cd 100644 --- a/src/webhooks/data/ghes-3.7/schema.json +++ b/src/webhooks/data/ghes-3.7/schema.json @@ -23383,6 +23383,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -24028,6 +24029,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -24657,6 +24659,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25252,6 +25255,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25461,7 +25465,7 @@ "type": "object", "name": "discussion", "in": "body", - "description": "", + "description": "A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -25619,7 +25623,7 @@ ] }, { - "type": "string or null", + "type": "string", "name": "body", "description": "", "isRequired": true @@ -25809,10 +25813,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -27549,10 +27556,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A git repository
", + "description": "A repository on GitHub.
", "isRequired": true, "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier of the repository
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the repository.
", + "isRequired": true + }, + { + "type": "string", + "name": "full_name", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "license", + "description": "License Simple
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "key", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "spdx_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "" + } + ] + }, + { + "type": "object", + "name": "organization", + "description": "A GitHub user.
", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, + { + "type": "integer", + "name": "forks", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "pull", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + } + ] + }, + { + "type": "object", + "name": "owner", + "description": "A GitHub user.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, { "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", + "name": "private", + "description": "Whether the repository is private or public.
", + "isRequired": true, "default": false }, { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true }, { "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true + "name": "fork", + "description": "", + "isRequired": true }, { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" + "type": "string", + "name": "url", + "description": "", + "isRequired": true }, { "type": "string", @@ -27743,13 +28117,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, { "type": "string", "name": "assignees_url", @@ -27768,12 +28135,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "collaborators_url", @@ -27810,41 +28171,12 @@ "description": "", "isRequired": true }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, { "type": "string", "name": "deployments_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, { "type": "string", "name": "downloads_url", @@ -27857,36 +28189,12 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "forks_url", "description": "", "isRequired": true }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, { "type": "string", "name": "git_commits_url", @@ -27911,76 +28219,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, { "type": "string", "name": "issue_comment_url", @@ -28011,61 +28249,12 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, { "type": "string", "name": "languages_url", "description": "", "isRequired": true }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, { "type": "string", "name": "merges_url", @@ -28078,259 +28267,30 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "mirror_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, { "type": "string", "name": "notifications_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, { "type": "string", "name": "pulls_url", "description": "", "isRequired": true }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, { "type": "string", "name": "releases_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, { "type": "string", "name": "ssh_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "stargazers", - "description": "" - }, - { - "type": "integer", - "name": "stargazers_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "stargazers_url", @@ -28355,12 +28315,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "svn_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "tags_url", @@ -28373,12 +28327,6 @@ "description": "", "isRequired": true }, - { - "type": "array of strings", - "name": "topics", - "description": "", - "isRequired": true - }, { "type": "string", "name": "trees_url", @@ -28387,30 +28335,49 @@ }, { "type": "string", - "name": "updated_at", + "name": "clone_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "mirror_url", "description": "", "isRequired": true }, { "type": "string", - "name": "url", + "name": "hooks_url", "description": "", "isRequired": true }, { "type": "string", - "name": "visibility", + "name": "svn_url", "description": "", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "isRequired": true + }, + { + "type": "string or null", + "name": "homepage", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "language", + "description": "", + "isRequired": true }, { "type": "integer", - "name": "watchers", + "name": "forks_count", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "stargazers_count", "description": "", "isRequired": true }, @@ -28420,10 +28387,823 @@ "description": "", "isRequired": true }, + { + "type": "integer", + "name": "size", + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.
", + "isRequired": true + }, + { + "type": "string", + "name": "default_branch", + "description": "The default branch of the repository.
", + "isRequired": true + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "is_template", + "description": "Whether this repository acts as a template that can be used to generate new repositories.
", + "default": false + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "Whether issues are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_projects", + "description": "Whether projects are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "Whether the wiki is enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_pages", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "Whether downloads are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_discussions", + "description": "Whether discussions are enabled.
", + "default": false + }, + { + "type": "boolean", + "name": "archived", + "description": "Whether the repository is archived.
", + "isRequired": true, + "default": false + }, + { + "type": "boolean", + "name": "disabled", + "description": "Returns whether or not this repository disabled.
", + "isRequired": true + }, + { + "type": "string", + "name": "visibility", + "description": "The repository visibility: public, private, or internal.
", + "default": "public" + }, + { + "type": "string or null", + "name": "pushed_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests.
", + "default": true + }, + { + "type": "object or null", + "name": "template_repository", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "full_name", + "description": "" + }, + { + "type": "object", + "name": "owner", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "login", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "private", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "description", + "description": "" + }, + { + "type": "boolean", + "name": "fork", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "archive_url", + "description": "" + }, + { + "type": "string", + "name": "assignees_url", + "description": "" + }, + { + "type": "string", + "name": "blobs_url", + "description": "" + }, + { + "type": "string", + "name": "branches_url", + "description": "" + }, + { + "type": "string", + "name": "collaborators_url", + "description": "" + }, + { + "type": "string", + "name": "comments_url", + "description": "" + }, + { + "type": "string", + "name": "commits_url", + "description": "" + }, + { + "type": "string", + "name": "compare_url", + "description": "" + }, + { + "type": "string", + "name": "contents_url", + "description": "" + }, + { + "type": "string", + "name": "contributors_url", + "description": "" + }, + { + "type": "string", + "name": "deployments_url", + "description": "" + }, + { + "type": "string", + "name": "downloads_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "forks_url", + "description": "" + }, + { + "type": "string", + "name": "git_commits_url", + "description": "" + }, + { + "type": "string", + "name": "git_refs_url", + "description": "" + }, + { + "type": "string", + "name": "git_tags_url", + "description": "" + }, + { + "type": "string", + "name": "git_url", + "description": "" + }, + { + "type": "string", + "name": "issue_comment_url", + "description": "" + }, + { + "type": "string", + "name": "issue_events_url", + "description": "" + }, + { + "type": "string", + "name": "issues_url", + "description": "" + }, + { + "type": "string", + "name": "keys_url", + "description": "" + }, + { + "type": "string", + "name": "labels_url", + "description": "" + }, + { + "type": "string", + "name": "languages_url", + "description": "" + }, + { + "type": "string", + "name": "merges_url", + "description": "" + }, + { + "type": "string", + "name": "milestones_url", + "description": "" + }, + { + "type": "string", + "name": "notifications_url", + "description": "" + }, + { + "type": "string", + "name": "pulls_url", + "description": "" + }, + { + "type": "string", + "name": "releases_url", + "description": "" + }, + { + "type": "string", + "name": "ssh_url", + "description": "" + }, + { + "type": "string", + "name": "stargazers_url", + "description": "" + }, + { + "type": "string", + "name": "statuses_url", + "description": "" + }, + { + "type": "string", + "name": "subscribers_url", + "description": "" + }, + { + "type": "string", + "name": "subscription_url", + "description": "" + }, + { + "type": "string", + "name": "tags_url", + "description": "" + }, + { + "type": "string", + "name": "teams_url", + "description": "" + }, + { + "type": "string", + "name": "trees_url", + "description": "" + }, + { + "type": "string", + "name": "clone_url", + "description": "" + }, + { + "type": "string", + "name": "mirror_url", + "description": "" + }, + { + "type": "string", + "name": "hooks_url", + "description": "" + }, + { + "type": "string", + "name": "svn_url", + "description": "" + }, + { + "type": "string", + "name": "homepage", + "description": "" + }, + { + "type": "string", + "name": "language", + "description": "" + }, + { + "type": "integer", + "name": "forks_count", + "description": "" + }, + { + "type": "integer", + "name": "stargazers_count", + "description": "" + }, + { + "type": "integer", + "name": "watchers_count", + "description": "" + }, + { + "type": "integer", + "name": "size", + "description": "" + }, + { + "type": "string", + "name": "default_branch", + "description": "" + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "" + }, + { + "type": "boolean", + "name": "is_template", + "description": "" + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "" + }, + { + "type": "boolean", + "name": "has_projects", + "description": "" + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "" + }, + { + "type": "boolean", + "name": "has_pages", + "description": "" + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "" + }, + { + "type": "boolean", + "name": "archived", + "description": "" + }, + { + "type": "boolean", + "name": "disabled", + "description": "" + }, + { + "type": "string", + "name": "visibility", + "description": "" + }, + { + "type": "string", + "name": "pushed_at", + "description": "" + }, + { + "type": "string", + "name": "created_at", + "description": "" + }, + { + "type": "string", + "name": "updated_at", + "description": "" + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "" + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "" + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "pull", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "" + }, + { + "type": "string", + "name": "temp_clone_token", + "description": "" + }, + { + "type": "boolean", + "name": "allow_squash_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "" + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "" + }, + { + "type": "boolean", + "name": "use_squash_pr_title_as_default", + "description": "" + }, + { + "type": "string", + "name": "squash_merge_commit_title", + "description": "The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.Whether to allow squash merges for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "Whether to allow Auto-merge to be used on pull requests.
", + "default": false + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged
", + "default": false + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
", + "default": false + }, + { + "type": "boolean", + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.Whether to allow merge commits for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_forking", + "description": "Whether to allow forking this repo
" + }, { "type": "boolean", "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits
" + "description": "Whether to require contributors to sign off on web-based commits
", + "default": false + }, + { + "type": "integer", + "name": "subscribers_count", + "description": "" + }, + { + "type": "integer", + "name": "network_count", + "description": "" + }, + { + "type": "integer", + "name": "open_issues", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "watchers", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "master_branch", + "description": "" + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "boolean", + "name": "anonymous_access_enabled", + "description": "Whether anonymous git access is enabled for this repository
" } ] } @@ -28785,6 +29565,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -29346,6 +30127,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30164,6 +30946,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30776,6 +31559,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -31337,6 +32121,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -32173,6 +32958,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -33007,6 +33793,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -33864,6 +34651,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -83737,3150 +84525,11 @@ "childParamsGroups": [] }, { - "type": "object", + "type": "", "name": "pull_request", "in": "body", "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "description": "", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions", - "description": "" - }, - { - "type": "object or null", - "name": "assignee", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "array of object,nulls", - "name": "assignees", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.
", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.
", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.
", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.
", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files", - "description": "" - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "description": "" - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "commits", - "description": "" - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions", - "description": "" - }, - { - "type": "string", - "name": "diff_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.
", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color
", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label
", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request.
" - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable", - "description": "" - }, - { - "type": "string", - "name": "mergeable_state", - "description": "" - }, - { - "type": "boolean or null", - "name": "merged", - "description": "" - }, - { - "type": "string or null", - "name": "merged_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "description": "", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.
", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.
", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable", - "description": "" - }, - { - "type": "array", - "name": "requested_reviewers", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team
" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "object or null", - "name": "parent", - "description": "", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "description": "", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
" - }, - { - "type": "string", - "name": "privacy", - "description": "", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "" - }, - { - "type": "string", - "name": "slug", - "description": "" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments", - "description": "" - }, - { - "type": "string", - "name": "review_comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either open or closed.
The title of the pull request.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] + "isRequired": true }, { "type": "object", diff --git a/src/webhooks/data/ghes-3.8/schema.json b/src/webhooks/data/ghes-3.8/schema.json index 80b1e50884..ec2d1bdd23 100644 --- a/src/webhooks/data/ghes-3.8/schema.json +++ b/src/webhooks/data/ghes-3.8/schema.json @@ -23603,6 +23603,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -24248,6 +24249,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -24877,6 +24879,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25472,6 +25475,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -25681,7 +25685,7 @@ "type": "object", "name": "discussion", "in": "body", - "description": "", + "description": "A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -25839,7 +25843,7 @@ ] }, { - "type": "string or null", + "type": "string", "name": "body", "description": "", "isRequired": true @@ -26029,10 +26033,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A Discussion in a repository.
", "isRequired": true, "childParamsGroups": [ { @@ -27769,10 +27776,11 @@ { "type": "string", "name": "state", - "description": "", + "description": "The current state of the discussion.\nconverting means that the discussion is being converted from an issue.\ntransferring means that the discussion is being transferred from another repository.
A git repository
", + "description": "A repository on GitHub.
", "isRequired": true, "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "Unique identifier of the repository
", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "The name of the repository.
", + "isRequired": true + }, + { + "type": "string", + "name": "full_name", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "license", + "description": "License Simple
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "key", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "spdx_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "" + } + ] + }, + { + "type": "object", + "name": "organization", + "description": "A GitHub user.
", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, + { + "type": "integer", + "name": "forks", + "description": "", + "isRequired": true + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "pull", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + } + ] + }, + { + "type": "object", + "name": "owner", + "description": "A GitHub user.
", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + } + ] + }, { "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", + "name": "private", + "description": "Whether the repository is private or public.
", + "isRequired": true, "default": false }, { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true }, { "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true + "name": "fork", + "description": "", + "isRequired": true }, { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" + "type": "string", + "name": "url", + "description": "", + "isRequired": true }, { "type": "string", @@ -27963,13 +28337,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, { "type": "string", "name": "assignees_url", @@ -27988,12 +28355,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "collaborators_url", @@ -28030,41 +28391,12 @@ "description": "", "isRequired": true }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, { "type": "string", "name": "deployments_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, { "type": "string", "name": "downloads_url", @@ -28077,36 +28409,12 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "forks_url", "description": "", "isRequired": true }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, { "type": "string", "name": "git_commits_url", @@ -28131,76 +28439,6 @@ "description": "", "isRequired": true }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, { "type": "string", "name": "issue_comment_url", @@ -28231,61 +28469,12 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, { "type": "string", "name": "languages_url", "description": "", "isRequired": true }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, { "type": "string", "name": "merges_url", @@ -28298,259 +28487,30 @@ "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "mirror_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, { "type": "string", "name": "notifications_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, { "type": "string", "name": "pulls_url", "description": "", "isRequired": true }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, { "type": "string", "name": "releases_url", "description": "", "isRequired": true }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, { "type": "string", "name": "ssh_url", "description": "", "isRequired": true }, - { - "type": "integer", - "name": "stargazers", - "description": "" - }, - { - "type": "integer", - "name": "stargazers_count", - "description": "", - "isRequired": true - }, { "type": "string", "name": "stargazers_url", @@ -28575,12 +28535,6 @@ "description": "", "isRequired": true }, - { - "type": "string", - "name": "svn_url", - "description": "", - "isRequired": true - }, { "type": "string", "name": "tags_url", @@ -28593,12 +28547,6 @@ "description": "", "isRequired": true }, - { - "type": "array of strings", - "name": "topics", - "description": "", - "isRequired": true - }, { "type": "string", "name": "trees_url", @@ -28607,30 +28555,49 @@ }, { "type": "string", - "name": "updated_at", + "name": "clone_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "mirror_url", "description": "", "isRequired": true }, { "type": "string", - "name": "url", + "name": "hooks_url", "description": "", "isRequired": true }, { "type": "string", - "name": "visibility", + "name": "svn_url", "description": "", - "isRequired": true, - "enum": [ - "public", - "private", - "internal" - ] + "isRequired": true + }, + { + "type": "string or null", + "name": "homepage", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "language", + "description": "", + "isRequired": true }, { "type": "integer", - "name": "watchers", + "name": "forks_count", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "stargazers_count", "description": "", "isRequired": true }, @@ -28640,10 +28607,823 @@ "description": "", "isRequired": true }, + { + "type": "integer", + "name": "size", + "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.
", + "isRequired": true + }, + { + "type": "string", + "name": "default_branch", + "description": "The default branch of the repository.
", + "isRequired": true + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "is_template", + "description": "Whether this repository acts as a template that can be used to generate new repositories.
", + "default": false + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "Whether issues are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_projects", + "description": "Whether projects are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "Whether the wiki is enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_pages", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "Whether downloads are enabled.
", + "isRequired": true, + "default": true + }, + { + "type": "boolean", + "name": "has_discussions", + "description": "Whether discussions are enabled.
", + "default": false + }, + { + "type": "boolean", + "name": "archived", + "description": "Whether the repository is archived.
", + "isRequired": true, + "default": false + }, + { + "type": "boolean", + "name": "disabled", + "description": "Returns whether or not this repository disabled.
", + "isRequired": true + }, + { + "type": "string", + "name": "visibility", + "description": "The repository visibility: public, private, or internal.
", + "default": "public" + }, + { + "type": "string or null", + "name": "pushed_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "Whether to allow rebase merges for pull requests.
", + "default": true + }, + { + "type": "object or null", + "name": "template_repository", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "full_name", + "description": "" + }, + { + "type": "object", + "name": "owner", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "login", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "private", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string", + "name": "description", + "description": "" + }, + { + "type": "boolean", + "name": "fork", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "archive_url", + "description": "" + }, + { + "type": "string", + "name": "assignees_url", + "description": "" + }, + { + "type": "string", + "name": "blobs_url", + "description": "" + }, + { + "type": "string", + "name": "branches_url", + "description": "" + }, + { + "type": "string", + "name": "collaborators_url", + "description": "" + }, + { + "type": "string", + "name": "comments_url", + "description": "" + }, + { + "type": "string", + "name": "commits_url", + "description": "" + }, + { + "type": "string", + "name": "compare_url", + "description": "" + }, + { + "type": "string", + "name": "contents_url", + "description": "" + }, + { + "type": "string", + "name": "contributors_url", + "description": "" + }, + { + "type": "string", + "name": "deployments_url", + "description": "" + }, + { + "type": "string", + "name": "downloads_url", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "forks_url", + "description": "" + }, + { + "type": "string", + "name": "git_commits_url", + "description": "" + }, + { + "type": "string", + "name": "git_refs_url", + "description": "" + }, + { + "type": "string", + "name": "git_tags_url", + "description": "" + }, + { + "type": "string", + "name": "git_url", + "description": "" + }, + { + "type": "string", + "name": "issue_comment_url", + "description": "" + }, + { + "type": "string", + "name": "issue_events_url", + "description": "" + }, + { + "type": "string", + "name": "issues_url", + "description": "" + }, + { + "type": "string", + "name": "keys_url", + "description": "" + }, + { + "type": "string", + "name": "labels_url", + "description": "" + }, + { + "type": "string", + "name": "languages_url", + "description": "" + }, + { + "type": "string", + "name": "merges_url", + "description": "" + }, + { + "type": "string", + "name": "milestones_url", + "description": "" + }, + { + "type": "string", + "name": "notifications_url", + "description": "" + }, + { + "type": "string", + "name": "pulls_url", + "description": "" + }, + { + "type": "string", + "name": "releases_url", + "description": "" + }, + { + "type": "string", + "name": "ssh_url", + "description": "" + }, + { + "type": "string", + "name": "stargazers_url", + "description": "" + }, + { + "type": "string", + "name": "statuses_url", + "description": "" + }, + { + "type": "string", + "name": "subscribers_url", + "description": "" + }, + { + "type": "string", + "name": "subscription_url", + "description": "" + }, + { + "type": "string", + "name": "tags_url", + "description": "" + }, + { + "type": "string", + "name": "teams_url", + "description": "" + }, + { + "type": "string", + "name": "trees_url", + "description": "" + }, + { + "type": "string", + "name": "clone_url", + "description": "" + }, + { + "type": "string", + "name": "mirror_url", + "description": "" + }, + { + "type": "string", + "name": "hooks_url", + "description": "" + }, + { + "type": "string", + "name": "svn_url", + "description": "" + }, + { + "type": "string", + "name": "homepage", + "description": "" + }, + { + "type": "string", + "name": "language", + "description": "" + }, + { + "type": "integer", + "name": "forks_count", + "description": "" + }, + { + "type": "integer", + "name": "stargazers_count", + "description": "" + }, + { + "type": "integer", + "name": "watchers_count", + "description": "" + }, + { + "type": "integer", + "name": "size", + "description": "" + }, + { + "type": "string", + "name": "default_branch", + "description": "" + }, + { + "type": "integer", + "name": "open_issues_count", + "description": "" + }, + { + "type": "boolean", + "name": "is_template", + "description": "" + }, + { + "type": "array of strings", + "name": "topics", + "description": "" + }, + { + "type": "boolean", + "name": "has_issues", + "description": "" + }, + { + "type": "boolean", + "name": "has_projects", + "description": "" + }, + { + "type": "boolean", + "name": "has_wiki", + "description": "" + }, + { + "type": "boolean", + "name": "has_pages", + "description": "" + }, + { + "type": "boolean", + "name": "has_downloads", + "description": "" + }, + { + "type": "boolean", + "name": "archived", + "description": "" + }, + { + "type": "boolean", + "name": "disabled", + "description": "" + }, + { + "type": "string", + "name": "visibility", + "description": "" + }, + { + "type": "string", + "name": "pushed_at", + "description": "" + }, + { + "type": "string", + "name": "created_at", + "description": "" + }, + { + "type": "string", + "name": "updated_at", + "description": "" + }, + { + "type": "object", + "name": "permissions", + "description": "", + "childParamsGroups": [ + { + "type": "boolean", + "name": "admin", + "description": "" + }, + { + "type": "boolean", + "name": "maintain", + "description": "" + }, + { + "type": "boolean", + "name": "push", + "description": "" + }, + { + "type": "boolean", + "name": "triage", + "description": "" + }, + { + "type": "boolean", + "name": "pull", + "description": "" + } + ] + }, + { + "type": "boolean", + "name": "allow_rebase_merge", + "description": "" + }, + { + "type": "string", + "name": "temp_clone_token", + "description": "" + }, + { + "type": "boolean", + "name": "allow_squash_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "" + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "" + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "" + }, + { + "type": "boolean", + "name": "use_squash_pr_title_as_default", + "description": "" + }, + { + "type": "string", + "name": "squash_merge_commit_title", + "description": "The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.Whether to allow squash merges for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_auto_merge", + "description": "Whether to allow Auto-merge to be used on pull requests.
", + "default": false + }, + { + "type": "boolean", + "name": "delete_branch_on_merge", + "description": "Whether to delete head branches when pull requests are merged
", + "default": false + }, + { + "type": "boolean", + "name": "allow_update_branch", + "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
", + "default": false + }, + { + "type": "boolean", + "name": "use_squash_pr_title_as_default", + "description": "Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.Whether to allow merge commits for pull requests.
", + "default": true + }, + { + "type": "boolean", + "name": "allow_forking", + "description": "Whether to allow forking this repo
" + }, { "type": "boolean", "name": "web_commit_signoff_required", - "description": "Whether to require contributors to sign off on web-based commits
" + "description": "Whether to require contributors to sign off on web-based commits
", + "default": false + }, + { + "type": "integer", + "name": "subscribers_count", + "description": "" + }, + { + "type": "integer", + "name": "network_count", + "description": "" + }, + { + "type": "integer", + "name": "open_issues", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "watchers", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "master_branch", + "description": "" + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "boolean", + "name": "anonymous_access_enabled", + "description": "Whether anonymous git access is enabled for this repository
" } ] } @@ -29005,6 +29785,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -29566,6 +30347,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30384,6 +31166,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -30996,6 +31779,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -31557,6 +32341,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -32393,6 +33178,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -33227,6 +34013,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -34084,6 +34871,7 @@ "isRequired": true, "enum": [ "open", + "closed", "locked", "converting", "transferring" @@ -83957,3150 +84745,11 @@ "childParamsGroups": [] }, { - "type": "object", + "type": "", "name": "pull_request", "in": "body", "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "_links", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "object", - "name": "comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "commits", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "html", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "issue", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comment", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "review_comments", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "self", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "object", - "name": "statuses", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "href", - "description": "", - "isRequired": true - } - ] - } - ] - }, - { - "type": "string or null", - "name": "active_lock_reason", - "description": "", - "isRequired": true, - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - { - "type": "integer", - "name": "additions", - "description": "" - }, - { - "type": "object or null", - "name": "assignee", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "array of object,nulls", - "name": "assignees", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "author_association", - "description": "How the author is associated with the repository.
", - "isRequired": true, - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - { - "type": "object or null", - "name": "auto_merge", - "description": "The status of auto merging a pull request.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "commit_message", - "description": "Commit message for the merge commit.
", - "isRequired": true - }, - { - "type": "string or null", - "name": "commit_title", - "description": "Title for the merge commit message.
", - "isRequired": true - }, - { - "type": "object or null", - "name": "enabled_by", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string", - "name": "merge_method", - "description": "The merge method to use.
", - "isRequired": true, - "enum": [ - "merge", - "squash", - "rebase" - ] - } - ] - }, - { - "type": "object", - "name": "base", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string or null", - "name": "body", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "changed_files", - "description": "" - }, - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "comments", - "description": "" - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "commits", - "description": "" - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "deletions", - "description": "" - }, - { - "type": "string", - "name": "diff_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "draft", - "description": "Indicates whether or not the pull request is a draft.
", - "isRequired": true - }, - { - "type": "object", - "name": "head", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "label", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "ref", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "repo", - "description": "A git repository
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "allow_auto_merge", - "description": "Whether to allow auto-merge for pull requests.
", - "default": false - }, - { - "type": "boolean", - "name": "allow_forking", - "description": "Whether to allow private forks
" - }, - { - "type": "boolean", - "name": "allow_merge_commit", - "description": "Whether to allow merge commits for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_rebase_merge", - "description": "Whether to allow rebase merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_squash_merge", - "description": "Whether to allow squash merges for pull requests.
", - "default": true - }, - { - "type": "boolean", - "name": "allow_update_branch", - "description": "" - }, - { - "type": "string", - "name": "archive_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "archived", - "description": "Whether the repository is archived.
", - "isRequired": true, - "default": false - }, - { - "type": "string", - "name": "assignees_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "blobs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "branches_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "clone_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "collaborators_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "compare_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contents_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "contributors_url", - "description": "", - "isRequired": true - }, - { - "type": "integer or string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "default_branch", - "description": "The default branch of the repository.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "delete_branch_on_merge", - "description": "Whether to delete head branches when pull requests are merged
", - "default": false - }, - { - "type": "string", - "name": "deployments_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "disabled", - "description": "Returns whether or not this repository is disabled.
" - }, - { - "type": "string", - "name": "downloads_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "events_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "fork", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "forks_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "forks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "full_name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_commits_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_refs_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_tags_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "git_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_downloads", - "description": "Whether downloads are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_issues", - "description": "Whether issues are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_pages", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "has_projects", - "description": "Whether projects are enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_wiki", - "description": "Whether the wiki is enabled.
", - "isRequired": true, - "default": true - }, - { - "type": "boolean", - "name": "has_discussions", - "description": "Whether discussions are enabled.
", - "isRequired": true, - "default": false - }, - { - "type": "string or null", - "name": "homepage", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "hooks_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the repository
", - "isRequired": true - }, - { - "type": "boolean", - "name": "is_template", - "description": "" - }, - { - "type": "string", - "name": "issue_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_events_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issues_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "keys_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "language", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "languages_url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "license", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "key", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "spdx_id", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "master_branch", - "description": "" - }, - { - "type": "string", - "name": "merge_commit_message", - "description": "The default value for a merge commit message.
\nPR_TITLE - default to the pull request's title.PR_BODY - default to the pull request's body.BLANK - default to a blank commit message.The default value for a merge commit title.
\nPR_TITLE - default to the pull request's title.MERGE_MESSAGE - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).The name of the repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "notifications_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues_count", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "organization", - "description": "" - }, - { - "type": "object or null", - "name": "owner", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object", - "name": "permissions", - "description": "", - "childParamsGroups": [ - { - "type": "boolean", - "name": "admin", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintain", - "description": "" - }, - { - "type": "boolean", - "name": "pull", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "push", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "triage", - "description": "" - } - ] - }, - { - "type": "boolean", - "name": "private", - "description": "Whether the repository is private or public.
", - "isRequired": true - }, - { - "type": "boolean", - "name": "public", - "description": "" - }, - { - "type": "string", - "name": "pulls_url", - "description": "", - "isRequired": true - }, - { - "type": "null or integer or string", - "name": "pushed_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "releases_url", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "role_name", - "description": "" - }, - { - "type": "integer", - "name": "size", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "squash_merge_commit_message", - "description": "The default value for a squash merge commit message:
\nPR_BODY - default to the pull request's body.COMMIT_MESSAGES - default to the branch's commit messages.BLANK - default to a blank commit message.The default value for a squash merge commit title:
\nPR_TITLE - default to the pull request's title.COMMIT_OR_PR_TITLE - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use squash_merge_commit_title instead.
Whether to require contributors to sign off on web-based commits
" - } - ] - }, - { - "type": "string", - "name": "sha", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "issue_url", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "labels", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "color", - "description": "6-character hex code, without the leading #, identifying the color
", - "isRequired": true - }, - { - "type": "boolean", - "name": "default", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "The name of the label.
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the label
", - "isRequired": true - } - ] - }, - { - "type": "boolean", - "name": "locked", - "description": "", - "isRequired": true - }, - { - "type": "boolean", - "name": "maintainer_can_modify", - "description": "Indicates whether maintainers can modify the pull request.
" - }, - { - "type": "string or null", - "name": "merge_commit_sha", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "mergeable", - "description": "" - }, - { - "type": "string", - "name": "mergeable_state", - "description": "" - }, - { - "type": "boolean or null", - "name": "merged", - "description": "" - }, - { - "type": "string or null", - "name": "merged_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "merged_by", - "description": "", - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "object or null", - "name": "milestone", - "description": "A collection of related issues and pull requests.
", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string or null", - "name": "closed_at", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "closed_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "created_at", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "creator", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - }, - { - "type": "string or null", - "name": "description", - "description": "", - "isRequired": true - }, - { - "type": "string or null", - "name": "due_on", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "labels_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "The number of the milestone.
", - "isRequired": true - }, - { - "type": "integer", - "name": "open_issues", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "The state of the milestone.
", - "isRequired": true, - "enum": [ - "open", - "closed" - ] - }, - { - "type": "string", - "name": "title", - "description": "The title of the milestone.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "number", - "description": "Number uniquely identifying the pull request within its repository.
", - "isRequired": true - }, - { - "type": "string", - "name": "patch_url", - "description": "", - "isRequired": true - }, - { - "type": "boolean or null", - "name": "rebaseable", - "description": "" - }, - { - "type": "array", - "name": "requested_reviewers", - "description": "", - "isRequired": true - }, - { - "type": "array of objects", - "name": "requested_teams", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "description", - "description": "Description of the team
" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "" - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "object or null", - "name": "parent", - "description": "", - "childParamsGroups": [ - { - "type": "string or null", - "name": "description", - "description": "Description of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "html_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "id", - "description": "Unique identifier of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "members_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "Name of the team
", - "isRequired": true - }, - { - "type": "string", - "name": "node_id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
", - "isRequired": true - }, - { - "type": "string", - "name": "privacy", - "description": "", - "isRequired": true, - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "slug", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
", - "isRequired": true - } - ] - }, - { - "type": "string", - "name": "permission", - "description": "Permission that the team will have for its repositories
" - }, - { - "type": "string", - "name": "privacy", - "description": "", - "enum": [ - "open", - "closed", - "secret" - ] - }, - { - "type": "string", - "name": "repositories_url", - "description": "" - }, - { - "type": "string", - "name": "slug", - "description": "" - }, - { - "type": "string", - "name": "url", - "description": "URL for the team
" - } - ] - }, - { - "type": "string", - "name": "review_comment_url", - "description": "", - "isRequired": true - }, - { - "type": "integer", - "name": "review_comments", - "description": "" - }, - { - "type": "string", - "name": "review_comments_url", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "state", - "description": "State of this Pull Request. Either open or closed.
The title of the pull request.
", - "isRequired": true - }, - { - "type": "string", - "name": "updated_at", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "url", - "description": "", - "isRequired": true - }, - { - "type": "object or null", - "name": "user", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "string", - "name": "avatar_url", - "description": "" - }, - { - "type": "boolean", - "name": "deleted", - "description": "" - }, - { - "type": "string or null", - "name": "email", - "description": "" - }, - { - "type": "string", - "name": "events_url", - "description": "" - }, - { - "type": "string", - "name": "followers_url", - "description": "" - }, - { - "type": "string", - "name": "following_url", - "description": "" - }, - { - "type": "string", - "name": "gists_url", - "description": "" - }, - { - "type": "string", - "name": "gravatar_id", - "description": "" - }, - { - "type": "string", - "name": "html_url", - "description": "" - }, - { - "type": "integer", - "name": "id", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "login", - "description": "", - "isRequired": true - }, - { - "type": "string", - "name": "name", - "description": "" - }, - { - "type": "string", - "name": "node_id", - "description": "" - }, - { - "type": "string", - "name": "organizations_url", - "description": "" - }, - { - "type": "string", - "name": "received_events_url", - "description": "" - }, - { - "type": "string", - "name": "repos_url", - "description": "" - }, - { - "type": "boolean", - "name": "site_admin", - "description": "" - }, - { - "type": "string", - "name": "starred_url", - "description": "" - }, - { - "type": "string", - "name": "subscriptions_url", - "description": "" - }, - { - "type": "string", - "name": "type", - "description": "", - "enum": [ - "Bot", - "User", - "Organization", - "Mannequin" - ] - }, - { - "type": "string", - "name": "url", - "description": "" - } - ] - } - ] + "isRequired": true }, { "type": "object",